結果
| 問題 |
No.290 1010
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-30 19:59:42 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 202 bytes |
| コンパイル時間 | 114 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 12,796 KB |
| 最終ジャッジ日時 | 2024-11-21 18:43:49 |
| 合計ジャッジ時間 | 1,830 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 4 |
ソースコード
n=int(input())
s=input()
ans = "NO"
for i in range(n//2):
for j in range(1,n-i-1):
if s[j:j+i] == s[j+i+1:j+2*i+1]:
ans="YES"
print(ans)
exit()
print(ans)