結果
| 問題 | No.527 ナップサック容量問題 |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2018-05-31 20:20:48 |
| 言語 | Perl (5.42.1) |
| 結果 |
AC
|
| 実行時間 | 1,073 ms / 2,000 ms |
| コード長 | 119 bytes |
| 記録 | |
| コンパイル時間 | 251 ms |
| コンパイル使用メモリ | 7,844 KB |
| 実行使用メモリ | 9,216 KB |
| 最終ジャッジ日時 | 2026-03-20 04:19:27 |
| 合計ジャッジ時間 | 11,844 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 37 |
コンパイルメッセージ
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
ソースコード
<>;map$'?$@[$_+$']+=$-=$@[$_]+$`-$@[$_+$']:(${(a..c)[$@[$_]<=>$`]}=$_),reverse!/ |
/..@@for<>;print$a||1,$/,$b?$b-1:inf
%20