結果

問題 No.247 線形計画問題もどき
ユーザー tailstails
提出日時 2015-07-17 23:58:15
言語 Perl
(5.40.0)
結果
TLE  
実行時間 -
コード長 122 bytes
コンパイル時間 24 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 21,664 KB
最終ジャッジ日時 2024-07-08 09:47:24
合計ジャッジ時間 3,733 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 5
other AC * 2 TLE * 1 -- * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

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