結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
もぐら 3.0
|
| 提出日時 | 2023-11-14 14:31:59 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 64 ms / 1,000 ms |
| + 906µs | |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 95,828 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2026-09-04 13:14:40 |
| 合計ジャッジ時間 | 4,016 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_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