結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー lam6er
提出日時 2025-03-20 19:00:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 1,000 ms
コード長 243 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 82,340 KB
実行使用メモリ 53,984 KB
最終ジャッジ日時 2025-03-20 19:01:40
合計ジャッジ時間 2,404 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input().strip()
t = input().strip()
cal = s + t

max_count = 0
current = 0

for c in cal:
    if c == 'o':
        current += 1
        if current > max_count:
            max_count = current
    else:
        current = 0

print(max_count)
0