結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー roiti46
提出日時 2015-05-08 22:22:08
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-18 08:50:32
合計ジャッジ時間 1,083 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

s = raw_input() + raw_input()
ans = 0
cnt = 0
for si in s:
    if si == "o": cnt += 1
    else:
        ans = max(ans, cnt)
        cnt = 0
print max(ans, cnt)
0