結果

問題 No.290 1010
ユーザー NoneNone
提出日時 2021-05-05 02:54:38
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 393 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 74,176 KB
最終ジャッジ日時 2023-10-01 04:54:55
合計ジャッジ時間 3,306 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,072 KB
testcase_01 AC 69 ms
71,168 KB
testcase_02 AC 69 ms
71,124 KB
testcase_03 AC 70 ms
71,132 KB
testcase_04 AC 69 ms
71,520 KB
testcase_05 AC 70 ms
71,356 KB
testcase_06 AC 70 ms
71,380 KB
testcase_07 AC 68 ms
71,516 KB
testcase_08 AC 68 ms
71,280 KB
testcase_09 AC 69 ms
70,972 KB
testcase_10 AC 68 ms
71,380 KB
testcase_11 AC 68 ms
70,976 KB
testcase_12 AC 68 ms
71,076 KB
testcase_13 AC 68 ms
71,184 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 67 ms
71,240 KB
testcase_17 AC 69 ms
71,188 KB
testcase_18 AC 67 ms
71,304 KB
testcase_19 AC 68 ms
71,132 KB
testcase_20 AC 72 ms
74,064 KB
testcase_21 AC 75 ms
74,176 KB
testcase_22 WA -
testcase_23 AC 74 ms
73,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
S=input().rstrip()
if "00" in S or "11" in S:
    print("YES")
else:
    print("NO")
0