結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー yohei-ku
提出日時 2018-03-11 22:29:06
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 272 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-15 00:28:54
合計ジャッジ時間 1,473 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 18 WA * 5 RE * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

C1 = raw_input()
C2 = raw_input()

W_total = C1 + C2
score_list = []
score = 0

for i in range(0,len(W_total)-1):
    if W_total[i] == W_total[i+1] and W_total[i] == "o":
        score += 1
        score_list.append(score)
    else:
        score = 1
print max(score_list)
0