結果

問題 No.290 1010
ユーザー 👑 H20H20
提出日時 2021-10-25 14:48:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 103 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 82,428 KB
実行使用メモリ 58,884 KB
最終ジャッジ日時 2024-04-14 09:11:32
合計ジャッジ時間 2,246 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
53,248 KB
testcase_01 AC 44 ms
52,824 KB
testcase_02 AC 40 ms
52,972 KB
testcase_03 AC 39 ms
52,884 KB
testcase_04 AC 39 ms
51,828 KB
testcase_05 AC 40 ms
52,328 KB
testcase_06 AC 40 ms
52,416 KB
testcase_07 AC 39 ms
51,992 KB
testcase_08 AC 40 ms
52,736 KB
testcase_09 AC 40 ms
51,960 KB
testcase_10 AC 39 ms
52,612 KB
testcase_11 AC 39 ms
52,252 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 39 ms
52,048 KB
testcase_15 AC 39 ms
52,060 KB
testcase_16 AC 39 ms
52,604 KB
testcase_17 AC 39 ms
52,084 KB
testcase_18 AC 39 ms
51,992 KB
testcase_19 AC 39 ms
52,004 KB
testcase_20 AC 57 ms
58,288 KB
testcase_21 AC 57 ms
58,528 KB
testcase_22 AC 53 ms
58,092 KB
testcase_23 AC 57 ms
58,884 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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