結果

問題 No.1724 [Cherry 3rd Tune A] Lápiz labial de Sonia
ユーザー tailstails
提出日時 2021-10-29 22:42:56
言語 Perl
(5.38.2)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 155 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 6,016 KB
実行使用メモリ 82,080 KB
最終ジャッジ日時 2024-04-16 15:33:09
合計ジャッジ時間 42,073 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
6,016 KB
testcase_01 AC 8 ms
6,016 KB
testcase_02 AC 8 ms
6,016 KB
testcase_03 AC 8 ms
6,016 KB
testcase_04 AC 8 ms
6,016 KB
testcase_05 AC 7 ms
6,016 KB
testcase_06 AC 8 ms
6,016 KB
testcase_07 AC 9 ms
6,016 KB
testcase_08 AC 8 ms
6,016 KB
testcase_09 AC 8 ms
6,016 KB
testcase_10 AC 8 ms
6,144 KB
testcase_11 AC 11 ms
6,272 KB
testcase_12 AC 9 ms
6,144 KB
testcase_13 AC 11 ms
6,272 KB
testcase_14 AC 12 ms
6,272 KB
testcase_15 AC 10 ms
6,144 KB
testcase_16 AC 716 ms
43,996 KB
testcase_17 AC 1,440 ms
75,844 KB
testcase_18 AC 1,119 ms
60,684 KB
testcase_19 AC 433 ms
27,420 KB
testcase_20 AC 486 ms
29,924 KB
testcase_21 AC 1,570 ms
79,908 KB
testcase_22 AC 1,677 ms
81,440 KB
testcase_23 AC 1,740 ms
79,908 KB
testcase_24 AC 1,902 ms
80,416 KB
testcase_25 AC 1,905 ms
80,804 KB
testcase_26 AC 1,981 ms
80,036 KB
testcase_27 TLE -
testcase_28 TLE -
testcase_29 TLE -
testcase_30 TLE -
testcase_31 TLE -
testcase_32 AC 1,769 ms
79,780 KB
testcase_33 AC 1,749 ms
79,784 KB
testcase_34 AC 1,809 ms
79,780 KB
testcase_35 AC 1,879 ms
79,916 KB
testcase_36 AC 18 ms
6,940 KB
testcase_37 AC 8 ms
6,016 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($n,$k)=glob<>;
@x=glob<>;
@y=glob<>;
@x=map$x[$_]-$y[$_],@j=0..$n-1;
@i=sort{$x[$a]<=>$x[$b]}@j;
$r=A x$n.$/;
substr$r,$_,1,B for@i[0..$n-$k-1];
print$r;
0