結果

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

ソースコード

diff #

import re

input()
ss=input()

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