結果

問題 No.3023 素数判定するだけ
ユーザー linuxmetellinuxmetel
提出日時 2021-01-12 20:36:47
言語 Clojure(Beta)
(1.11.2)
結果
MLE  
実行時間 -
コード長 84 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 130,596 KB
最終ジャッジ日時 2024-05-01 07:26:22
合計ジャッジ時間 5,070 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 MLE -
testcase_01 TLE -
testcase_02 TLE -
testcase_03 TLE -
testcase_04 TLE -
testcase_05 TLE -
testcase_06 TLE -
testcase_07 TLE -
testcase_08 TLE -
testcase_09 TLE -
testcase_10 TLE -
testcase_11 TLE -
testcase_12 TLE -
testcase_13 TLE -
testcase_14 TLE -
testcase_15 TLE -
testcase_16 TLE -
testcase_17 TLE -
testcase_18 TLE -
testcase_19 TLE -
testcase_20 TLE -
testcase_21 TLE -
testcase_22 TLE -
testcase_23 TLE -
testcase_24 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

(def n (read))
(println (if (every? #(not (= (mod n %) 0)) (range 2 n)) "YES" "No"))
0