結果

問題 No.527 ナップサック容量問題
ユーザー %20%20
提出日時 2018-05-31 20:15:24
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 10,132 KB
最終ジャッジ日時 2023-09-12 21:04:10
合計ジャッジ時間 21,169 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,508 KB
testcase_01 AC 5 ms
4,884 KB
testcase_02 WA -
testcase_03 AC 5 ms
4,720 KB
testcase_04 AC 2 ms
4,620 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 930 ms
8,672 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 1,393 ms
9,372 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 242 ms
6,880 KB
testcase_15 AC 550 ms
7,764 KB
testcase_16 AC 5 ms
4,748 KB
testcase_17 AC 323 ms
6,844 KB
testcase_18 AC 438 ms
7,200 KB
testcase_19 AC 8 ms
4,876 KB
testcase_20 AC 200 ms
6,492 KB
testcase_21 AC 1,810 ms
9,852 KB
testcase_22 AC 938 ms
8,848 KB
testcase_23 AC 1,466 ms
9,268 KB
testcase_24 AC 86 ms
6,000 KB
testcase_25 AC 729 ms
8,164 KB
testcase_26 AC 639 ms
7,900 KB
testcase_27 AC 715 ms
8,184 KB
testcase_28 AC 538 ms
7,864 KB
testcase_29 AC 1,964 ms
10,132 KB
testcase_30 WA -
testcase_31 AC 6 ms
4,732 KB
testcase_32 AC 7 ms
4,660 KB
testcase_33 AC 6 ms
4,648 KB
testcase_34 AC 7 ms
4,532 KB
testcase_35 AC 579 ms
7,764 KB
testcase_36 AC 5 ms
4,820 KB
testcase_37 AC 333 ms
7,288 KB
testcase_38 AC 425 ms
7,544 KB
testcase_39 AC 419 ms
7,384 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "c" may clash with future reserved word at Main.pl line 1.
Unquoted string "inf" may clash with future reserved word at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

<>;map$'?$@[$_+$']+=$-=$@[$_]+$`-$@[$_+$']:(${(a..c)[$@[$_]<=>$`]}=$_),sort{1}!/ |
/..@@for<>;print$a||1,$/,$b-1||inf
0