結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
7,032 KB
testcase_01 AC 2 ms
4,500 KB
testcase_02 AC 1,602 ms
9,260 KB
testcase_03 AC 2 ms
4,532 KB
testcase_04 AC 3 ms
4,400 KB
testcase_05 AC 3 ms
4,468 KB
testcase_06 AC 2 ms
4,416 KB
testcase_07 AC 27 ms
9,348 KB
testcase_08 AC 26 ms
9,340 KB
testcase_09 AC 2 ms
4,532 KB
testcase_10 AC 7 ms
9,180 KB
testcase_11 AC 2 ms
4,604 KB
testcase_12 AC 2 ms
4,544 KB
testcase_13 AC 2 ms
4,532 KB
testcase_14 AC 2 ms
4,520 KB
testcase_15 AC 3 ms
4,472 KB
testcase_16 AC 2 ms
4,612 KB
testcase_17 AC 51 ms
6,248 KB
testcase_18 AC 22 ms
4,944 KB
testcase_19 AC 185 ms
7,704 KB
testcase_20 AC 446 ms
8,396 KB
testcase_21 AC 4 ms
4,940 KB
testcase_22 AC 20 ms
5,452 KB
testcase_23 AC 6 ms
5,160 KB
testcase_24 AC 430 ms
9,028 KB
testcase_25 AC 275 ms
7,688 KB
testcase_26 AC 40 ms
7,020 KB
testcase_27 AC 39 ms
6,476 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&&($d[$_]=$x)for$a..$c}print$d[$c]
0