結果

問題 No.247 線形計画問題もどき
ユーザー tailstails
提出日時 2017-10-18 14:03:29
言語 Perl
(5.38.2)
結果
AC  
実行時間 826 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 433 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-09-21 18:40:00
合計ジャッジ時間 5,267 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 169 ms
5,472 KB
testcase_01 AC 3 ms
4,544 KB
testcase_02 AC 70 ms
7,944 KB
testcase_03 AC 3 ms
4,616 KB
testcase_04 AC 2 ms
4,792 KB
testcase_05 AC 3 ms
4,628 KB
testcase_06 AC 2 ms
4,660 KB
testcase_07 AC 45 ms
5,456 KB
testcase_08 AC 44 ms
7,740 KB
testcase_09 AC 3 ms
4,744 KB
testcase_10 AC 3 ms
5,444 KB
testcase_11 AC 3 ms
4,556 KB
testcase_12 AC 3 ms
4,688 KB
testcase_13 AC 2 ms
4,480 KB
testcase_14 AC 2 ms
4,704 KB
testcase_15 AC 3 ms
4,760 KB
testcase_16 AC 3 ms
4,716 KB
testcase_17 AC 97 ms
5,544 KB
testcase_18 AC 35 ms
5,032 KB
testcase_19 AC 397 ms
5,816 KB
testcase_20 AC 808 ms
7,124 KB
testcase_21 AC 5 ms
5,080 KB
testcase_22 AC 38 ms
5,008 KB
testcase_23 AC 10 ms
5,012 KB
testcase_24 AC 826 ms
7,344 KB
testcase_25 AC 511 ms
6,616 KB
testcase_26 AC 80 ms
5,204 KB
testcase_27 AC 80 ms
5,196 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$c=<>;<>;$/=$";@d=1;map{//;($x=$d[$_-$'])&&~-$d[$_]>$x&&($d[$_]=$x+1)for$'..$c}grep!$$_++,<>;print$d[$c]-1
0