結果

問題 No.268 ラッピング(Easy)
ユーザー tailstails
提出日時 2015-08-21 22:34:34
言語 Perl
(5.38.2)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 107 bytes
コンパイル時間 360 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,820 KB
最終ジャッジ日時 2023-09-25 14:54:53
合計ジャッジ時間 1,062 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,680 KB
testcase_01 AC 3 ms
4,812 KB
testcase_02 AC 3 ms
4,712 KB
testcase_03 AC 3 ms
4,744 KB
testcase_04 AC 3 ms
4,820 KB
testcase_05 AC 3 ms
4,788 KB
testcase_06 AC 3 ms
4,568 KB
testcase_07 AC 2 ms
4,788 KB
testcase_08 AC 3 ms
4,628 KB
testcase_09 AC 2 ms
4,720 KB
testcase_10 AC 2 ms
4,736 KB
testcase_11 AC 2 ms
4,628 KB
testcase_12 AC 2 ms
4,668 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{sort{$a-$b}<>=~/\d+/g}
@a=f;@b=f;print+($a[0]+$a[1])*$b[2]+($a[0]+$a[2])*$b[1]+($a[1]+$a[2])*$b[0]<<1
0