結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー tailstails
提出日時 2017-09-26 17:00:55
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 76 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 7,680 KB
実行使用メモリ 28,056 KB
最終ジャッジ日時 2024-04-28 07:28:21
合計ジャッジ時間 9,055 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
12,416 KB
testcase_01 AC 105 ms
12,288 KB
testcase_02 AC 108 ms
12,416 KB
testcase_03 AC 141 ms
13,056 KB
testcase_04 AC 103 ms
12,416 KB
testcase_05 AC 105 ms
12,416 KB
testcase_06 AC 106 ms
12,544 KB
testcase_07 AC 107 ms
12,416 KB
testcase_08 AC 105 ms
12,416 KB
testcase_09 AC 104 ms
12,160 KB
testcase_10 AC 105 ms
12,288 KB
testcase_11 AC 103 ms
12,288 KB
testcase_12 AC 105 ms
12,416 KB
testcase_13 AC 104 ms
12,544 KB
testcase_14 AC 105 ms
12,160 KB
testcase_15 AC 103 ms
12,416 KB
testcase_16 AC 105 ms
12,416 KB
testcase_17 AC 107 ms
12,544 KB
testcase_18 AC 104 ms
12,416 KB
testcase_19 AC 245 ms
16,512 KB
testcase_20 AC 391 ms
18,684 KB
testcase_21 AC 105 ms
12,544 KB
testcase_22 AC 105 ms
12,416 KB
testcase_23 AC 105 ms
12,288 KB
testcase_24 AC 106 ms
12,416 KB
testcase_25 AC 587 ms
22,304 KB
testcase_26 AC 106 ms
12,544 KB
testcase_27 AC 106 ms
12,160 KB
testcase_28 AC 106 ms
12,288 KB
testcase_29 AC 109 ms
12,544 KB
testcase_30 AC 107 ms
12,288 KB
testcase_31 AC 109 ms
12,160 KB
testcase_32 AC 396 ms
18,660 KB
testcase_33 TLE -
testcase_34 TLE -
testcase_35 AC 569 ms
22,480 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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