結果
| 問題 | 
                            No.204 ゴールデン・ウィーク(2)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hrbt__
                         | 
                    
| 提出日時 | 2019-12-10 18:59:17 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 251 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 12,800 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-06-24 02:08:04 | 
| 合計ジャッジ時間 | 2,820 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 WA * 25 | 
ソースコード
#!/usr/bin/env python3
d = int(input())
c = input() + input()
c = list(c)
ans = 0
for i in range(14 - d):
    t = c[:]
    for j in range(d):
        t[i + j] = 'o'
    t = ''.join(t)
    ans = max(ans, max([len(x) for x in t.split('x')]))
print(ans)
            
            
            
        
            
hrbt__