結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー tailstails
提出日時 2017-09-26 17:00:55
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 76 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 11,296 KB
実行使用メモリ 27,452 KB
最終ジャッジ日時 2023-08-10 14:23:38
合計ジャッジ時間 9,317 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
15,340 KB
testcase_01 AC 93 ms
15,128 KB
testcase_02 AC 92 ms
15,176 KB
testcase_03 AC 126 ms
15,904 KB
testcase_04 AC 92 ms
15,180 KB
testcase_05 AC 92 ms
15,332 KB
testcase_06 AC 92 ms
15,120 KB
testcase_07 AC 92 ms
15,340 KB
testcase_08 AC 91 ms
15,400 KB
testcase_09 AC 93 ms
15,328 KB
testcase_10 AC 93 ms
15,200 KB
testcase_11 AC 94 ms
15,332 KB
testcase_12 AC 93 ms
15,336 KB
testcase_13 AC 93 ms
15,368 KB
testcase_14 AC 93 ms
15,152 KB
testcase_15 AC 93 ms
15,144 KB
testcase_16 AC 92 ms
15,332 KB
testcase_17 AC 94 ms
15,372 KB
testcase_18 AC 92 ms
15,368 KB
testcase_19 AC 224 ms
18,184 KB
testcase_20 AC 365 ms
20,440 KB
testcase_21 AC 91 ms
15,368 KB
testcase_22 AC 91 ms
15,104 KB
testcase_23 AC 91 ms
15,192 KB
testcase_24 AC 91 ms
15,136 KB
testcase_25 AC 537 ms
22,560 KB
testcase_26 AC 91 ms
15,304 KB
testcase_27 AC 93 ms
15,280 KB
testcase_28 AC 93 ms
15,336 KB
testcase_29 AC 94 ms
15,280 KB
testcase_30 AC 92 ms
15,160 KB
testcase_31 AC 95 ms
15,364 KB
testcase_32 AC 361 ms
20,504 KB
testcase_33 TLE -
testcase_34 TLE -
testcase_35 AC 543 ms
22,464 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime';eval'N,L='+`tr \\  ,`;Prime.each(L/N+=r=-1){|i|r+=i*N+~L};p~r
0