結果
問題 |
No.290 1010
|
ユーザー |
|
提出日時 | 2020-09-01 00:27:56 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 164 bytes |
コンパイル時間 | 165 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 59,904 KB |
最終ジャッジ日時 | 2024-11-17 03:00:10 |
合計ジャッジ時間 | 1,961 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 3 |
ソースコード
N = int(input()) S = '10' * (N // 2) T = '01' * (N // 2) if N % 2: S += '1' T += '0' if input() in (S, T): print('NO') else: print('YES')