結果
問題 | No.713 素数の和 |
ユーザー | Roki |
提出日時 | 2019-01-08 04:24:37 |
言語 | Haskell (9.8.2) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 95 bytes |
コンパイル時間 | 7,738 ms |
コンパイル使用メモリ | 153,564 KB |
実行使用メモリ | 8,164 KB |
最終ジャッジ日時 | 2023-08-15 16:37:37 |
合計ジャッジ時間 | 7,564 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 4 ms
8,164 KB |
testcase_01 | AC | 2 ms
6,944 KB |
testcase_02 | AC | 2 ms
6,956 KB |
testcase_03 | AC | 3 ms
7,516 KB |
testcase_04 | AC | 4 ms
8,072 KB |
testcase_05 | AC | 3 ms
7,096 KB |
testcase_06 | AC | 2 ms
6,944 KB |
testcase_07 | AC | 2 ms
7,220 KB |
testcase_08 | AC | 3 ms
7,152 KB |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
main=print.(\x->sum$takeWhile(<=x)$let f(p:xs)=p:f[x|x<-xs,x`rem`p/=0]in f[2..]).read=<<getLine