結果

問題 No.290 1010
ユーザー dangodango
提出日時 2023-06-16 19:35:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 87 bytes
コンパイル時間 363 ms
コンパイル使用メモリ 86,896 KB
実行使用メモリ 74,272 KB
最終ジャッジ日時 2023-09-06 17:05:27
合計ジャッジ時間 3,887 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 78 ms
71,056 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 74 ms
71,336 KB
testcase_06 AC 74 ms
71,140 KB
testcase_07 AC 74 ms
70,900 KB
testcase_08 AC 74 ms
71,028 KB
testcase_09 AC 72 ms
71,356 KB
testcase_10 AC 75 ms
70,900 KB
testcase_11 AC 73 ms
71,396 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 73 ms
71,036 KB
testcase_15 AC 72 ms
71,008 KB
testcase_16 AC 71 ms
71,112 KB
testcase_17 AC 73 ms
71,268 KB
testcase_18 AC 73 ms
71,340 KB
testcase_19 AC 71 ms
71,340 KB
testcase_20 AC 80 ms
73,744 KB
testcase_21 AC 80 ms
74,032 KB
testcase_22 WA -
testcase_23 AC 79 ms
73,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = input()
print("YES" if N <= 4 or "00" in S or "11" in S else "NO")
0