結果

問題 No.290 1010
ユーザー maimai
提出日時 2017-05-22 08:30:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 111 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 81,576 KB
実行使用メモリ 70,212 KB
最終ジャッジ日時 2023-10-19 13:24:20
合計ジャッジ時間 2,750 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
63,428 KB
testcase_01 AC 57 ms
63,428 KB
testcase_02 AC 57 ms
63,428 KB
testcase_03 AC 57 ms
63,428 KB
testcase_04 AC 57 ms
63,428 KB
testcase_05 AC 57 ms
63,428 KB
testcase_06 AC 57 ms
63,428 KB
testcase_07 AC 56 ms
63,428 KB
testcase_08 AC 57 ms
63,428 KB
testcase_09 WA -
testcase_10 AC 57 ms
63,428 KB
testcase_11 WA -
testcase_12 AC 58 ms
63,428 KB
testcase_13 AC 57 ms
63,428 KB
testcase_14 AC 56 ms
63,428 KB
testcase_15 AC 56 ms
63,428 KB
testcase_16 AC 57 ms
63,428 KB
testcase_17 AC 57 ms
63,428 KB
testcase_18 AC 57 ms
63,428 KB
testcase_19 AC 56 ms
63,428 KB
testcase_20 AC 62 ms
70,212 KB
testcase_21 AC 62 ms
70,212 KB
testcase_22 AC 62 ms
70,212 KB
testcase_23 AC 62 ms
70,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re

input()
ss=input()

if re.match(r'00|11|0101|1010', ss[0:4]):
    print('YES')
else:
    print('NO')
0