結果

問題 No.247 線形計画問題もどき
ユーザー tailstails
提出日時 2015-07-18 00:26:19
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,611 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 9,336 KB
最終ジャッジ日時 2023-09-22 18:40:17
合計ジャッジ時間 4,700 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
6,988 KB
testcase_01 AC 3 ms
4,504 KB
testcase_02 AC 1,611 ms
9,280 KB
testcase_03 AC 3 ms
4,556 KB
testcase_04 AC 3 ms
4,468 KB
testcase_05 AC 2 ms
4,460 KB
testcase_06 AC 2 ms
4,508 KB
testcase_07 AC 27 ms
9,336 KB
testcase_08 AC 29 ms
9,240 KB
testcase_09 AC 2 ms
4,468 KB
testcase_10 AC 8 ms
9,180 KB
testcase_11 AC 3 ms
4,384 KB
testcase_12 AC 2 ms
4,564 KB
testcase_13 AC 2 ms
4,556 KB
testcase_14 AC 3 ms
4,464 KB
testcase_15 AC 3 ms
4,380 KB
testcase_16 AC 3 ms
4,508 KB
testcase_17 AC 51 ms
6,256 KB
testcase_18 AC 23 ms
4,992 KB
testcase_19 AC 189 ms
7,624 KB
testcase_20 AC 446 ms
8,336 KB
testcase_21 AC 4 ms
4,940 KB
testcase_22 AC 19 ms
5,416 KB
testcase_23 AC 6 ms
5,136 KB
testcase_24 AC 430 ms
9,096 KB
testcase_25 AC 272 ms
7,612 KB
testcase_26 AC 43 ms
6,880 KB
testcase_27 AC 41 ms
6,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$c=<>;<>;$/=$";@d=(0,(-1)x$c);for$a(<>){($x=$d[$_-$a]+1)&&$d[$_]<0|$d[$_]>$x and$d[$_]=$x for$a..$c}print$d[$c]
0