結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-06 13:48:17 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 233 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 81,648 KB |
| 実行使用メモリ | 81,640 KB |
| 最終ジャッジ日時 | 2026-07-18 02:26:55 |
| 合計ジャッジ時間 | 3,153 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 16 |
ソースコード
#coding: utf-8 ##yuki_203 s=raw_input() t=raw_input() wt=s+t w=list(wt) cnt=0 cnt_temp=1 for i in xrange(len(w)-1,-1,-1): if w[i]==w[i-1]: cnt_temp+=1 if cnt_temp>cnt: cnt=cnt_temp if w[i]!=w[i-1]: cnt_temp=1 print cnt