結果

問題 No.290 1010
ユーザー mai
提出日時 2017-05-22 08:30:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 111 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 68,992 KB
最終ジャッジ日時 2024-09-19 09:33:14
合計ジャッジ時間 2,508 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import re

input()
ss=input()

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