結果
問題 |
No.2655 Increasing Strides
|
ユーザー |
|
提出日時 | 2024-03-03 16:24:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 2,000 ms |
コード長 | 229 bytes |
コンパイル時間 | 594 ms |
コンパイル使用メモリ | 82,064 KB |
実行使用メモリ | 66,916 KB |
最終ジャッジ日時 | 2024-09-29 16:53:58 |
合計ジャッジ時間 | 2,819 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
n = int(input()) E = [] O = [] for i in range(1, n + 1): if i % 2 == 0: E.append(i >> 1) else: O.append(i) if sum(E) % 2 != 0: print("No") elif len(O) % 4 != 0: print("No") else: print("Yes")