結果
| 問題 |
No.290 1010
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-01 00:28:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 82,248 KB |
| 実行使用メモリ | 62,080 KB |
| 最終ジャッジ日時 | 2024-11-17 03:00:13 |
| 合計ジャッジ時間 | 1,951 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 2 |
ソースコード
N = int(input())
S = '10' * (N // 2)
T = '01' * (N // 2)
S += '1'
T += '0'
if input() in (S, T):
print('NO')
else:
print('YES')