結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-06 13:48:17 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 233 bytes |
| 記録 | |
| コンパイル時間 | 224 ms |
| コンパイル使用メモリ | 77,724 KB |
| 最終ジャッジ日時 | 2025-12-03 19:12:55 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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