結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-05 02:54:38 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 99 bytes |
| 記録 | |
| コンパイル時間 | 828 ms |
| コンパイル使用メモリ | 82,544 KB |
| 実行使用メモリ | 58,720 KB |
| 最終ジャッジ日時 | 2024-07-23 22:15:41 |
| 合計ジャッジ時間 | 2,230 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 3 |
ソースコード
N=int(input())
S=input().rstrip()
if "00" in S or "11" in S:
print("YES")
else:
print("NO")