結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー %20%20
提出日時 2018-01-12 17:26:21
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 75 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 11,392 KB
実行使用メモリ 27,516 KB
最終ジャッジ日時 2023-08-25 15:38:36
合計ジャッジ時間 9,099 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
15,212 KB
testcase_01 AC 87 ms
15,364 KB
testcase_02 AC 88 ms
15,220 KB
testcase_03 AC 123 ms
16,076 KB
testcase_04 AC 88 ms
15,288 KB
testcase_05 AC 88 ms
15,196 KB
testcase_06 AC 88 ms
15,356 KB
testcase_07 AC 89 ms
15,384 KB
testcase_08 AC 89 ms
15,368 KB
testcase_09 AC 88 ms
15,104 KB
testcase_10 AC 89 ms
15,348 KB
testcase_11 AC 89 ms
15,428 KB
testcase_12 AC 89 ms
15,204 KB
testcase_13 AC 89 ms
15,328 KB
testcase_14 AC 89 ms
15,304 KB
testcase_15 AC 89 ms
15,404 KB
testcase_16 AC 91 ms
15,208 KB
testcase_17 AC 89 ms
15,224 KB
testcase_18 AC 88 ms
15,284 KB
testcase_19 AC 223 ms
18,188 KB
testcase_20 AC 370 ms
20,536 KB
testcase_21 AC 90 ms
15,432 KB
testcase_22 AC 89 ms
15,360 KB
testcase_23 AC 89 ms
15,192 KB
testcase_24 AC 89 ms
15,300 KB
testcase_25 AC 548 ms
22,416 KB
testcase_26 AC 89 ms
15,284 KB
testcase_27 AC 88 ms
15,112 KB
testcase_28 AC 89 ms
15,604 KB
testcase_29 AC 88 ms
15,196 KB
testcase_30 AC 90 ms
15,260 KB
testcase_31 AC 88 ms
15,240 KB
testcase_32 AC 364 ms
20,632 KB
testcase_33 TLE -
testcase_34 TLE -
testcase_35 AC 530 ms
22,476 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -narprime
eval'N,L='+$F*?,
x=0
Prime.each(L/~-N){|i|x-=~L+i*~-N}
p x
0