結果
問題 |
No.2655 Increasing Strides
|
ユーザー |
![]() |
提出日時 | 2025-04-16 00:35:51 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 35 ms / 2,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 661 ms |
コンパイル使用メモリ | 82,912 KB |
実行使用メモリ | 53,168 KB |
最終ジャッジ日時 | 2025-04-16 00:38:50 |
合計ジャッジ時間 | 2,849 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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")