結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー notsix4
提出日時 2021-11-30 16:23:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 28 ms / 1,000 ms
コード長 210 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-03 11:50:45
合計ジャッジ時間 1,694 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

s1=input()
s2=input()
s=s1+s2+"x"
c=0
l=[]
for i in range(14):
    if s[i]=="o":
        c+=1

        if s[i+1]!="o":
            l.append(c)
            c=0

if len(l)==0:
    print(0)
else:
    print(max(l))
0