結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-16 23:20:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 277 ms |
| コンパイル使用メモリ | 82,400 KB |
| 実行使用メモリ | 53,768 KB |
| 最終ジャッジ日時 | 2024-09-25 02:19:37 |
| 合計ジャッジ時間 | 2,126 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 3 |
ソースコード
A = int(input())
N = 2 * A
import sys
if A == 3:
print('NO')
exit()
i = 2
while i * i <= N:
if N % i == 0:
j = N // i
if i % 2 != j % 2:
if i >= 3 or j >= 3:
print('YES')
exit()
i += 1
print('NO')