結果

問題 No.36 素数が嫌い!
ユーザー はむ吉🐹
提出日時 2016-05-19 21:55:36
言語 Scheme
(Gauche-0.9.15)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 163 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 29,696 KB
最終ジャッジ日時 2024-06-27 00:45:21
合計ジャッジ時間 5,164 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 RE * 1
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env gosh
(use math.prime)
(define (judge n)
    (not (length<=? (mc-factorize n) 2)))
(let* ((n (read)))
    (if (judge n) (print "YES") (print "NO")))
0