結果

問題 No.247 線形計画問題もどき
ユーザー tailstails
提出日時 2015-07-18 00:26:19
言語 Perl
(5.40.0)
結果
AC  
実行時間 1,541 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 9,856 KB
最終ジャッジ日時 2024-07-08 09:52:27
合計ジャッジ時間 4,129 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
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