結果
問題 |
No.2655 Increasing Strides
|
ユーザー |
![]() |
提出日時 | 2025-04-16 16:29:38 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 471 ms |
コンパイル使用メモリ | 81,940 KB |
実行使用メモリ | 53,452 KB |
最終ジャッジ日時 | 2025-04-16 16:31:14 |
合計ジャッジ時間 | 2,557 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
N = int(input()) if N % 2 == 0: m = N // 2 k = N // 2 else: m = (N + 1) // 2 k = (N - 1) // 2 if m % 2 == 0 and (k % 4 == 0 or k % 4 == 3): print("Yes") else: print("No")