結果
| 問題 |
No.290 1010
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-05 02:56:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 46 ms / 5,000 ms |
| コード長 | 129 bytes |
| コンパイル時間 | 798 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 58,240 KB |
| 最終ジャッジ日時 | 2024-07-26 11:46:20 |
| 合計ジャッジ時間 | 2,705 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
N=int(input())
S=input().rstrip()
if "00" in S or "11" in S or "0101" in S or "1010" in S:
print("YES")
else:
print("NO")