結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
もぐら 3.0
|
| 提出日時 | 2023-11-14 14:31:59 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 1,000 ms |
| + 701µs | |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 447 ms |
| コンパイル使用メモリ | 81,952 KB |
| 実行使用メモリ | 56,068 KB |
| 最終ジャッジ日時 | 2026-10-11 04:22:16 |
| 合計ジャッジ時間 | 2,346 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
ソースコード
C1=list(input())
C2=list(input())
g= C1+C2
ans=0
now=g[0]
if now=="o":
cnt=1
else:
cnt=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)
もぐら 3.0