結果

問題 No.1256 連続整数列
ユーザー tonyu0tonyu0
提出日時 2020-10-16 22:23:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 8,488 KB
最終ジャッジ日時 2023-09-28 07:00:23
合計ジャッジ時間 1,337 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
8,312 KB
testcase_01 WA -
testcase_02 AC 12 ms
8,488 KB
testcase_03 AC 13 ms
8,324 KB
testcase_04 AC 14 ms
8,336 KB
testcase_05 AC 14 ms
8,300 KB
testcase_06 AC 14 ms
8,312 KB
testcase_07 AC 14 ms
8,336 KB
testcase_08 AC 14 ms
8,372 KB
testcase_09 WA -
testcase_10 AC 13 ms
8,372 KB
testcase_11 AC 13 ms
8,256 KB
testcase_12 AC 14 ms
8,336 KB
testcase_13 AC 13 ms
8,432 KB
testcase_14 AC 13 ms
8,424 KB
testcase_15 AC 13 ms
8,296 KB
testcase_16 AC 13 ms
8,464 KB
testcase_17 AC 13 ms
8,432 KB
testcase_18 AC 14 ms
8,384 KB
testcase_19 AC 14 ms
8,308 KB
testcase_20 AC 16 ms
8,432 KB
testcase_21 AC 13 ms
8,312 KB
testcase_22 AC 13 ms
8,392 KB
testcase_23 AC 13 ms
8,288 KB
testcase_24 AC 13 ms
8,264 KB
testcase_25 AC 12 ms
8,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input())


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