結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー 👑 rin204
提出日時 2020-06-09 21:21:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 35 ms / 1,000 ms
コード長 161 bytes
コンパイル時間 486 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-01-02 20:01:42
合計ジャッジ時間 2,528 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

c = input()
c += input()
ans = 0
tmp = 0
for s in c:
    if s == "o":
        tmp += 1
    else:
        ans = max(ans, tmp)
        tmp = 0
print(max(ans, tmp))
0