結果

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

テストケース

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

ソースコード

diff #

a = int(input())

for i in range(2, 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