結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-18 00:42:25 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 148 ms / 5,000 ms |
| コード長 | 161 bytes |
| コンパイル時間 | 138 ms |
| コンパイル使用メモリ | 6,816 KB |
| 実行使用メモリ | 30,592 KB |
| 最終ジャッジ日時 | 2024-09-18 00:42:41 |
| 合計ジャッジ時間 | 4,991 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
(use math.prime)
(use srfi.217)
(define yuki36
(let*
((n (read)))
(display (if (= n 1) "NO\n" (if (<= 3 (length (mc-factorize n))) "YES\n" "NO\n")))))