結果

問題 No.407 鴨等素数間隔列の数え上げ
ユーザー %20%20
提出日時 2018-01-12 17:28:52
言語 Ruby
(3.2.2)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 73 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 11,256 KB
実行使用メモリ 27,472 KB
最終ジャッジ日時 2023-08-25 15:46:29
合計ジャッジ時間 9,016 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
15,256 KB
testcase_01 AC 96 ms
15,168 KB
testcase_02 AC 95 ms
15,232 KB
testcase_03 AC 132 ms
15,788 KB
testcase_04 AC 97 ms
15,356 KB
testcase_05 AC 95 ms
15,216 KB
testcase_06 AC 96 ms
15,264 KB
testcase_07 AC 97 ms
15,244 KB
testcase_08 AC 96 ms
15,352 KB
testcase_09 AC 97 ms
15,356 KB
testcase_10 AC 96 ms
15,268 KB
testcase_11 AC 95 ms
15,436 KB
testcase_12 AC 96 ms
15,128 KB
testcase_13 AC 96 ms
15,060 KB
testcase_14 AC 95 ms
15,364 KB
testcase_15 AC 96 ms
15,188 KB
testcase_16 AC 95 ms
15,180 KB
testcase_17 AC 95 ms
15,056 KB
testcase_18 AC 96 ms
15,108 KB
testcase_19 AC 232 ms
18,164 KB
testcase_20 AC 376 ms
20,476 KB
testcase_21 AC 93 ms
15,264 KB
testcase_22 AC 95 ms
15,380 KB
testcase_23 AC 93 ms
15,324 KB
testcase_24 AC 93 ms
15,352 KB
testcase_25 AC 551 ms
22,384 KB
testcase_26 AC 94 ms
15,128 KB
testcase_27 AC 94 ms
15,280 KB
testcase_28 AC 95 ms
15,168 KB
testcase_29 AC 95 ms
15,308 KB
testcase_30 AC 94 ms
15,124 KB
testcase_31 AC 95 ms
15,060 KB
testcase_32 AC 373 ms
20,360 KB
testcase_33 TLE -
testcase_34 TLE -
testcase_35 AC 545 ms
22,500 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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