結果

問題 No.268 ラッピング(Easy)
ユーザー tailstails
提出日時 2017-02-03 10:37:21
言語 Perl
(5.38.0)
結果
AC  
実行時間 6 ms / 5,000 ms
コード長 70 bytes
コンパイル時間 509 ms
コンパイル使用メモリ 7,092 KB
実行使用メモリ 5,276 KB
最終ジャッジ日時 2023-08-25 18:17:16
合計ジャッジ時間 1,353 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,036 KB
testcase_01 AC 5 ms
5,276 KB
testcase_02 AC 6 ms
5,172 KB
testcase_03 AC 6 ms
5,100 KB
testcase_04 AC 6 ms
5,100 KB
testcase_05 AC 5 ms
5,096 KB
testcase_06 AC 6 ms
5,112 KB
testcase_07 AC 6 ms
5,204 KB
testcase_08 AC 6 ms
5,168 KB
testcase_09 AC 6 ms
5,020 KB
testcase_10 AC 5 ms
5,096 KB
testcase_11 AC 6 ms
5,020 KB
testcase_12 AC 6 ms
5,112 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "b" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@$_=sort{$a-$b}glob<>for a,b;$\+=2*$_*($a[$i-2]+$a[$i++-1])for@b;print
0