結果

問題 No.131 マンハッタン距離
ユーザー なおなお
提出日時 2015-01-21 02:16:42
言語 Perl
(5.38.2)
結果
AC  
実行時間 8 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 594 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 5,472 KB
最終ジャッジ日時 2023-09-05 02:42:14
合計ジャッジ時間 1,992 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
5,288 KB
testcase_01 AC 6 ms
5,308 KB
testcase_02 AC 6 ms
5,168 KB
testcase_03 AC 8 ms
5,308 KB
testcase_04 AC 7 ms
5,452 KB
testcase_05 AC 6 ms
5,164 KB
testcase_06 AC 6 ms
5,244 KB
testcase_07 AC 6 ms
5,244 KB
testcase_08 AC 7 ms
5,472 KB
testcase_09 AC 6 ms
5,164 KB
testcase_10 AC 7 ms
5,444 KB
testcase_11 AC 7 ms
5,244 KB
testcase_12 AC 7 ms
5,240 KB
testcase_13 AC 6 ms
5,252 KB
testcase_14 AC 6 ms
5,364 KB
testcase_15 AC 6 ms
5,184 KB
testcase_16 AC 6 ms
5,244 KB
testcase_17 AC 6 ms
5,440 KB
testcase_18 AC 7 ms
5,356 KB
testcase_19 AC 6 ms
5,396 KB
testcase_20 AC 7 ms
5,240 KB
testcase_21 AC 7 ms
5,392 KB
testcase_22 AC 7 ms
5,384 KB
testcase_23 AC 7 ms
5,180 KB
testcase_24 AC 7 ms
5,180 KB
testcase_25 AC 6 ms
5,244 KB
testcase_26 AC 6 ms
5,356 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "min" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

use List::Util(min);@_=<>=~/\d+/g;print-min(0,-min(@_,$_[0]+$_[1]-$_[2])-1)
0