結果

問題 No.1256 連続整数列
ユーザー tonyu0
提出日時 2020-10-16 22:10:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-21 01:25:50
合計ジャッジ時間 1,924 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input()) * 2


for i in range(1, int(a ** 0.5) + 1):
    if a % i == 0:
        if i + 1 == a // i and i >= 3:
            print('YES')
            exit()
print('NO')
0