結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
panapanagdf
|
| 提出日時 | 2019-09-19 21:10:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 444 bytes |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-20 04:44:53 |
| 合計ジャッジ時間 | 1,990 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 6 |
ソースコード
a=input()
b=input()
c=0
d=[]
for i in range(1,7):
if a[i]==a[i-1]=="o":
c+=1
else:
d.append(c)
c=0
if i==6:
for j in range(6):
if (a[i]=="o") and (b[j]=="o") and (j==0):
c+=1
elif b[j]==b[j-1]=="o":
c+=1
else:
d.append(c)
c=0
d.append(c)
print(max(d)+1)
panapanagdf