結果

問題 No.458 異なる素数の和
ユーザー tailstails
提出日時 2016-12-09 02:01:00
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,342 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 12,724 KB
最終ジャッジ日時 2023-08-22 15:33:48
合計ジャッジ時間 43,408 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,310 ms
12,632 KB
testcase_01 AC 1,316 ms
12,516 KB
testcase_02 AC 1,318 ms
12,608 KB
testcase_03 AC 1,314 ms
12,628 KB
testcase_04 AC 1,308 ms
12,668 KB
testcase_05 AC 1,299 ms
12,520 KB
testcase_06 AC 1,314 ms
12,648 KB
testcase_07 AC 1,342 ms
12,556 KB
testcase_08 AC 1,306 ms
12,640 KB
testcase_09 AC 1,311 ms
12,584 KB
testcase_10 AC 1,313 ms
12,724 KB
testcase_11 AC 1,311 ms
12,556 KB
testcase_12 AC 1,309 ms
12,504 KB
testcase_13 AC 1,324 ms
12,668 KB
testcase_14 AC 1,311 ms
12,692 KB
testcase_15 AC 1,312 ms
12,632 KB
testcase_16 AC 1,308 ms
12,696 KB
testcase_17 AC 1,309 ms
12,668 KB
testcase_18 AC 1,315 ms
12,552 KB
testcase_19 AC 1,324 ms
12,656 KB
testcase_20 AC 1,305 ms
12,636 KB
testcase_21 AC 1,320 ms
12,696 KB
testcase_22 AC 1,305 ms
12,632 KB
testcase_23 AC 1,314 ms
12,508 KB
testcase_24 AC 1,311 ms
12,584 KB
testcase_25 AC 1,316 ms
12,624 KB
testcase_26 AC 1,321 ms
12,612 KB
testcase_27 AC 1,341 ms
12,668 KB
testcase_28 AC 1,311 ms
12,580 KB
testcase_29 AC 1,315 ms
12,584 KB
testcase_30 AC 1,307 ms
12,580 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

for$m(2..499){map$$_+=$-=($x=${$_+$m})&&$x+1-$$_,grep($m%$_<1,2..$m)<2&&-2e4..-1}print${-<>}||-1
0