結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー yuruhiyayuruhiya
提出日時 2021-07-16 18:09:44
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 68 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 11,284 KB
実行使用メモリ 27,456 KB
最終ジャッジ日時 2023-09-20 09:22:31
合計ジャッジ時間 9,120 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
15,092 KB
testcase_01 AC 97 ms
15,356 KB
testcase_02 AC 96 ms
15,380 KB
testcase_03 AC 133 ms
16,116 KB
testcase_04 AC 94 ms
15,372 KB
testcase_05 AC 95 ms
15,304 KB
testcase_06 AC 97 ms
15,092 KB
testcase_07 AC 96 ms
15,092 KB
testcase_08 AC 96 ms
15,296 KB
testcase_09 AC 95 ms
15,212 KB
testcase_10 AC 93 ms
15,368 KB
testcase_11 AC 94 ms
15,124 KB
testcase_12 AC 96 ms
15,224 KB
testcase_13 AC 95 ms
15,280 KB
testcase_14 AC 96 ms
15,204 KB
testcase_15 AC 96 ms
15,128 KB
testcase_16 AC 96 ms
15,380 KB
testcase_17 AC 95 ms
15,436 KB
testcase_18 AC 95 ms
15,232 KB
testcase_19 AC 235 ms
18,220 KB
testcase_20 AC 384 ms
20,268 KB
testcase_21 AC 96 ms
15,360 KB
testcase_22 AC 97 ms
15,240 KB
testcase_23 AC 96 ms
15,128 KB
testcase_24 AC 97 ms
15,336 KB
testcase_25 AC 574 ms
22,584 KB
testcase_26 AC 96 ms
15,312 KB
testcase_27 AC 97 ms
15,216 KB
testcase_28 AC 95 ms
15,380 KB
testcase_29 AC 99 ms
15,204 KB
testcase_30 AC 96 ms
15,320 KB
testcase_31 AC 94 ms
15,312 KB
testcase_32 AC 380 ms
20,664 KB
testcase_33 TLE -
testcase_34 TLE -
testcase_35 AC 562 ms
22,644 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:3: warning: ambiguous first argument; put parentheses or a space even after `-' operator
Syntax OK

ソースコード

diff #

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