結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー T1610
提出日時 2020-06-30 15:06:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 168 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-23 18:56:00
合計ジャッジ時間 2,259 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
t = input()
x = s + t
ans = 0
cnt = 0
for c in x:
    if c == 'o':
        cnt += 1
    else:
        cnt = 0
    if ans < cnt:
        ans = cnt
ptint(ans)
0