結果
問題 |
No.203 ゴールデン・ウィーク(1)
|
ユーザー |
![]() |
提出日時 | 2023-11-14 14:30:58 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 332 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 82,888 KB |
実行使用メモリ | 54,028 KB |
最終ジャッジ日時 | 2024-09-26 03:36:33 |
合計ジャッジ時間 | 2,411 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 5 |
ソースコード
C1=list(input()) C2=list(input()) g= C1+C2 ans=0 cnt=0 now=g[0] for i in range(1,14): if now=="o": if g[i]=="o": cnt+=1 else: cnt=0 now==g[i] else: if g[i]=="o": cnt+=1 else: cnt=0 now==g[i] ans=max(ans,cnt) print(ans)