結果

問題 No.282 おもりと天秤(2)
ユーザー tailstails
提出日時 2016-12-22 12:27:24
言語 Perl
(5.38.2)
結果
AC  
実行時間 3,521 ms / 5,000 ms
コード長 160 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 24,360 KB
平均クエリ数 439.67
最終ジャッジ日時 2023-09-24 00:48:07
合計ジャッジ時間 31,333 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
24,336 KB
testcase_01 AC 38 ms
24,264 KB
testcase_02 AC 31 ms
23,400 KB
testcase_03 AC 30 ms
24,204 KB
testcase_04 AC 28 ms
24,048 KB
testcase_05 AC 35 ms
23,520 KB
testcase_06 AC 41 ms
23,400 KB
testcase_07 AC 29 ms
24,324 KB
testcase_08 AC 41 ms
23,796 KB
testcase_09 AC 26 ms
23,628 KB
testcase_10 AC 872 ms
23,988 KB
testcase_11 AC 3,088 ms
23,976 KB
testcase_12 AC 994 ms
23,988 KB
testcase_13 AC 1,498 ms
24,036 KB
testcase_14 AC 2,627 ms
23,520 KB
testcase_15 AC 3,164 ms
24,000 KB
testcase_16 AC 200 ms
23,376 KB
testcase_17 AC 1,374 ms
24,252 KB
testcase_18 AC 2,239 ms
24,036 KB
testcase_19 AC 2,307 ms
24,360 KB
testcase_20 AC 3,425 ms
23,868 KB
testcase_21 AC 3,521 ms
24,048 KB
testcase_22 AC 3,339 ms
23,592 KB
testcase_23 AC 26 ms
24,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Smartmatch is experimental at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

map{@a=@a[0,2..$#a,1];@q=map"@a[$_-1,@a-$_]",@i;print"?@q
";/ /,$c[getc~~'>'?$`:$']++,getc for@q}2..(@a=(@i=++$|..<>,(0)x@i));print"!@{[sort{$c[$a]-$c[$b]}@i]}"
0