結果

問題 No.527 ナップサック容量問題
ユーザー %20%20
提出日時 2018-05-31 20:20:48
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,913 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 5,208 KB
実行使用メモリ 9,980 KB
最終ジャッジ日時 2023-09-12 21:05:25
合計ジャッジ時間 20,522 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,508 KB
testcase_01 AC 5 ms
4,768 KB
testcase_02 AC 3 ms
4,752 KB
testcase_03 AC 5 ms
4,848 KB
testcase_04 AC 3 ms
4,616 KB
testcase_05 AC 319 ms
6,876 KB
testcase_06 AC 1,417 ms
9,852 KB
testcase_07 AC 902 ms
8,552 KB
testcase_08 AC 221 ms
6,612 KB
testcase_09 AC 2 ms
4,504 KB
testcase_10 AC 1,357 ms
9,580 KB
testcase_11 AC 585 ms
7,484 KB
testcase_12 AC 349 ms
6,964 KB
testcase_13 AC 1,589 ms
9,976 KB
testcase_14 AC 238 ms
6,868 KB
testcase_15 AC 539 ms
7,644 KB
testcase_16 AC 4 ms
4,740 KB
testcase_17 AC 319 ms
6,864 KB
testcase_18 AC 428 ms
7,240 KB
testcase_19 AC 8 ms
5,084 KB
testcase_20 AC 198 ms
6,456 KB
testcase_21 AC 1,773 ms
9,824 KB
testcase_22 AC 925 ms
8,812 KB
testcase_23 AC 1,444 ms
9,280 KB
testcase_24 AC 85 ms
5,976 KB
testcase_25 AC 719 ms
8,160 KB
testcase_26 AC 630 ms
7,616 KB
testcase_27 AC 696 ms
8,088 KB
testcase_28 AC 527 ms
7,880 KB
testcase_29 AC 1,913 ms
9,980 KB
testcase_30 AC 3 ms
4,728 KB
testcase_31 AC 5 ms
4,584 KB
testcase_32 AC 7 ms
4,796 KB
testcase_33 AC 6 ms
4,636 KB
testcase_34 AC 7 ms
4,520 KB
testcase_35 AC 556 ms
7,948 KB
testcase_36 AC 5 ms
4,824 KB
testcase_37 AC 325 ms
7,112 KB
testcase_38 AC 418 ms
7,580 KB
testcase_39 AC 401 ms
7,104 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)[$@[$_]<=>$`]}=$_),reverse!/ |
/..@@for<>;print$a||1,$/,$b?$b-1:inf
0