結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-16 19:35:32 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 87 bytes |
| 記録 | |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 85,572 KB |
| 実行使用メモリ | 59,108 KB |
| 最終ジャッジ日時 | 2026-03-10 14:14:18 |
| 合計ジャッジ時間 | 1,705 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 7 |
ソースコード
N = int(input())
S = input()
print("YES" if N <= 4 or "00" in S or "11" in S else "NO")