結果
問題 |
No.204 ゴールデン・ウィーク(2)
|
ユーザー |
![]() |
提出日時 | 2021-03-15 23:26:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 241 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-07 12:16:24 |
合計ジャッジ時間 | 3,010 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | WA * 5 RE * 41 |
ソースコード
D = int(input()) C = input() + input() result = 0 for i in range(14 - D): t = list(C) j = i while d[j] == 'x': d[j] = 'o' j += 1 result = max(result, max(len(a) for a in ''.join(t).split('x'))) print(result)