結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー roiti46
提出日時 2015-05-08 22:21:36
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 149 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-07-05 20:21:11
合計ジャッジ時間 1,333 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24 WA * 5
権限があれば一括ダウンロードができます

ソースコード

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 ans
0