結果

問題 No.290 1010
ユーザー 👑 H20H20
提出日時 2021-10-25 14:49:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 56 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 82,096 KB
実行使用メモリ 59,092 KB
最終ジャッジ日時 2024-04-14 09:11:48
合計ジャッジ時間 2,403 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,252 KB
testcase_01 AC 37 ms
53,172 KB
testcase_02 AC 38 ms
52,596 KB
testcase_03 AC 38 ms
51,784 KB
testcase_04 AC 38 ms
52,068 KB
testcase_05 AC 37 ms
52,696 KB
testcase_06 AC 39 ms
51,900 KB
testcase_07 AC 38 ms
51,812 KB
testcase_08 AC 38 ms
52,120 KB
testcase_09 AC 38 ms
52,336 KB
testcase_10 AC 39 ms
51,820 KB
testcase_11 AC 39 ms
52,608 KB
testcase_12 AC 39 ms
52,604 KB
testcase_13 AC 39 ms
53,676 KB
testcase_14 AC 39 ms
51,820 KB
testcase_15 AC 39 ms
52,076 KB
testcase_16 AC 39 ms
52,184 KB
testcase_17 AC 39 ms
53,632 KB
testcase_18 AC 39 ms
52,276 KB
testcase_19 AC 38 ms
53,160 KB
testcase_20 AC 56 ms
57,832 KB
testcase_21 AC 55 ms
59,092 KB
testcase_22 AC 53 ms
58,180 KB
testcase_23 AC 55 ms
58,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
S=input()
print('YES' if S.count('00')+S.count('11')+S.count('1010')+S.count('0101') else 'NO')
0