結果
問題 | No.2655 Increasing Strides |
ユーザー |
![]() |
提出日時 | 2024-08-04 20:31:17 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 346 ms |
コンパイル使用メモリ | 82,852 KB |
実行使用メモリ | 59,628 KB |
最終ジャッジ日時 | 2024-08-04 20:31:20 |
合計ジャッジ時間 | 3,136 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
N = int(input())odd = 0even = 0for i in range(N):if i % 2 == 0:odd += 1else:even += i+1if 4 <= odd and odd%2 == 0 and even//2%2 == 0:print("Yes")else:print("No")