結果

問題 No.1256 連続整数列
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-10-16 22:44:06
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 192 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 75,736 KB
最終ジャッジ日時 2023-09-28 07:00:51
合計ジャッジ時間 2,879 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,316 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 61 ms
71,300 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 61 ms
71,440 KB
testcase_07 AC 64 ms
71,384 KB
testcase_08 AC 62 ms
71,504 KB
testcase_09 AC 62 ms
71,480 KB
testcase_10 AC 60 ms
71,272 KB
testcase_11 AC 62 ms
71,628 KB
testcase_12 AC 62 ms
71,684 KB
testcase_13 AC 62 ms
71,520 KB
testcase_14 AC 61 ms
71,456 KB
testcase_15 AC 63 ms
71,420 KB
testcase_16 AC 63 ms
71,484 KB
testcase_17 AC 61 ms
71,428 KB
testcase_18 AC 61 ms
71,556 KB
testcase_19 AC 62 ms
71,160 KB
testcase_20 AC 65 ms
71,296 KB
testcase_21 AC 61 ms
71,424 KB
testcase_22 AC 63 ms
71,480 KB
testcase_23 AC 61 ms
71,176 KB
testcase_24 AC 61 ms
71,600 KB
testcase_25 AC 62 ms
71,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, = map(int, input().split())
N*=2
c = 3
f=1
while c*c <= N:
    if N%c==0:
        if N//c > c:
            print("YES")
            f = 0
            break
    c += 1
if f:
    print("NO")
0