結果

問題 No.572 妖精の演奏
ユーザー tailstails
提出日時 2017-10-10 17:06:04
言語 Perl
(5.38.2)
結果
AC  
実行時間 889 ms / 2,000 ms
コード長 210 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 5,456 KB
実行使用メモリ 7,124 KB
最終ジャッジ日時 2023-08-10 22:28:00
合計ジャッジ時間 4,338 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
5,404 KB
testcase_01 AC 11 ms
5,160 KB
testcase_02 AC 6 ms
5,192 KB
testcase_03 AC 7 ms
5,288 KB
testcase_04 AC 11 ms
5,332 KB
testcase_05 AC 38 ms
5,456 KB
testcase_06 AC 57 ms
5,408 KB
testcase_07 AC 22 ms
5,200 KB
testcase_08 AC 28 ms
5,516 KB
testcase_09 AC 37 ms
5,356 KB
testcase_10 AC 270 ms
5,776 KB
testcase_11 AC 584 ms
6,588 KB
testcase_12 AC 670 ms
6,740 KB
testcase_13 AC 889 ms
7,124 KB
testcase_14 AC 142 ms
5,576 KB
testcase_15 AC 168 ms
5,628 KB
testcase_16 AC 112 ms
5,720 KB
testcase_17 AC 183 ms
5,596 KB
testcase_18 AC 23 ms
5,308 KB
testcase_19 AC 6 ms
5,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{my($c,$d,$e)=@_;@$c||${f($d=$c>>1);f($e=$c-$d);for$y(@@){//,($$c[$'][$y])=sort{$b-$a}map$$d[$'][$_]+$$e[$_][$y],@@for@@}}}$n=<>-1;@@=0..<>-1;@1=map[glob],<>;f$n;//,map$%+=$-=$$n[$_][$']-$%,@@for@@;print$%
0