結果
| 問題 | No.290 1010 |
| コンテスト | |
| ユーザー |
brthyyjp
|
| 提出日時 | 2021-12-07 19:55:09 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 50 ms / 5,000 ms |
| + 418µs | |
| コード長 | 207 bytes |
| 記録 | |
| コンパイル時間 | 111 ms |
| コンパイル使用メモリ | 64,552 KB |
| 実行使用メモリ | 56,364 KB |
| 最終ジャッジ日時 | 2026-10-28 20:52:30 |
| 合計ジャッジ時間 | 3,208 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
n = int(input())
s = str(input())
if s.count('00'):
print('YES')
elif s.count('11'):
print('YES')
elif s.count('1010'):
print('YES')
elif s.count('0101'):
print('YES')
else:
print('NO')
brthyyjp