結果
| 問題 | No.131 マンハッタン距離 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2015-01-21 02:16:42 | 
| 言語 | Perl (5.40.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 8 ms / 5,000 ms | 
| コード長 | 75 bytes | 
| コンパイル時間 | 569 ms | 
| コンパイル使用メモリ | 6,016 KB | 
| 実行使用メモリ | 6,144 KB | 
| 最終ジャッジ日時 | 2024-06-22 23:30:41 | 
| 合計ジャッジ時間 | 1,554 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 24 | 
コンパイルメッセージ
Unquoted string "min" may clash with future reserved word at Main.pl line 1. Main.pl syntax OK
ソースコード
use List::Util(min);@_=<>=~/\d+/g;print-min(0,-min(@_,$_[0]+$_[1]-$_[2])-1)
