結果

問題 No.192 合成数
ユーザー rocoderrocoder
提出日時 2017-05-14 08:48:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 15,956 KB
最終ジャッジ日時 2023-10-14 10:44:24
合計ジャッジ時間 5,164 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,784 KB
testcase_02 AC 15 ms
7,864 KB
testcase_03 AC 15 ms
7,788 KB
testcase_04 AC 16 ms
7,808 KB
testcase_05 AC 16 ms
7,820 KB
testcase_06 AC 16 ms
7,860 KB
testcase_07 AC 15 ms
7,940 KB
testcase_08 AC 16 ms
7,780 KB
testcase_09 AC 15 ms
7,824 KB
testcase_10 AC 16 ms
7,860 KB
testcase_11 AC 16 ms
7,828 KB
testcase_12 AC 16 ms
7,788 KB
testcase_13 AC 16 ms
7,884 KB
testcase_14 AC 16 ms
7,860 KB
testcase_15 AC 16 ms
7,788 KB
testcase_16 AC 15 ms
7,860 KB
testcase_17 WA -
testcase_18 AC 15 ms
7,876 KB
testcase_19 AC 16 ms
7,792 KB
testcase_20 AC 16 ms
7,940 KB
testcase_21 AC 15 ms
7,820 KB
testcase_22 AC 15 ms
7,860 KB
testcase_23 TLE -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input ())
i=N-100
e=0
while i<=N+100 and e==0:
    j=2
    while e==0:
        if i%j==0:
            print (i)
            e=1
        j+=1
    i+=1
0