結果
問題 |
No.2655 Increasing Strides
|
ユーザー |
![]() |
提出日時 | 2024-03-06 19:48:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 127 bytes |
コンパイル時間 | 825 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-29 18:33:38 |
合計ジャッジ時間 | 2,926 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
n=int(input()) o=0;e=0 for i in range(1,n+1): if i%2==0:e+=i else:o+=i if e%4==0 and o%4==0: print("Yes") else: print("No")