結果
問題 |
No.713 素数の和
|
ユーザー |
|
提出日時 | 2024-09-27 19:17:54 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 121 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 27,904 KB |
最終ジャッジ日時 | 2024-09-27 19:17:58 |
合計ジャッジ時間 | 2,315 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
(use scheme.list) (use math.prime) (define yuki713 (let* ((n (read))) (print (apply + (take-while (lambda (x) (<= x n)) *primes*)))))