結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-18 16:33:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 82,164 KB |
| 実行使用メモリ | 59,724 KB |
| 最終ジャッジ日時 | 2024-07-23 09:05:45 |
| 合計ジャッジ時間 | 2,502 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 3 |
ソースコード
A = int(input())
for i in range(3, 10**5):
if A-i*(i-1)//2>=0 and (A-i*(i-1)//2)%i==0:
print('YES')
exit()
print('NO')