結果
問題 |
No.290 1010
|
ユーザー |
![]() |
提出日時 | 2021-10-25 14:49:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 57 ms / 5,000 ms |
コード長 | 105 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 82,364 KB |
実行使用メモリ | 57,856 KB |
最終ジャッジ日時 | 2024-10-03 06:13:43 |
合計ジャッジ時間 | 1,961 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
N=input() S=input() print('YES' if S.count('00')+S.count('11')+S.count('1010')+S.count('0101') else 'NO')