結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-16 23:20:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-04-12 05:55:55 |
| 合計ジャッジ時間 | 2,554 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 WA * 14 |
ソースコード
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')