結果

問題 No.282 おもりと天秤(2)
ユーザー tailstails
提出日時 2016-12-22 12:21:58
言語 Perl
(5.38.2)
結果
AC  
実行時間 3,475 ms / 5,000 ms
コード長 163 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 24,336 KB
平均クエリ数 439.67
最終ジャッジ日時 2023-09-24 00:47:34
合計ジャッジ時間 31,289 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
23,520 KB
testcase_01 AC 38 ms
23,400 KB
testcase_02 AC 32 ms
24,012 KB
testcase_03 AC 31 ms
23,820 KB
testcase_04 AC 29 ms
24,240 KB
testcase_05 AC 36 ms
23,652 KB
testcase_06 AC 41 ms
23,568 KB
testcase_07 AC 29 ms
23,640 KB
testcase_08 AC 41 ms
23,520 KB
testcase_09 AC 28 ms
24,336 KB
testcase_10 AC 891 ms
23,364 KB
testcase_11 AC 3,051 ms
23,964 KB
testcase_12 AC 984 ms
24,024 KB
testcase_13 AC 1,518 ms
23,796 KB
testcase_14 AC 2,572 ms
23,400 KB
testcase_15 AC 3,202 ms
23,628 KB
testcase_16 AC 138 ms
24,252 KB
testcase_17 AC 1,366 ms
23,352 KB
testcase_18 AC 2,252 ms
23,532 KB
testcase_19 AC 2,240 ms
23,604 KB
testcase_20 AC 3,475 ms
23,364 KB
testcase_21 AC 3,444 ms
23,976 KB
testcase_22 AC 3,327 ms
23,364 KB
testcase_23 AC 25 ms
23,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Smartmatch is experimental at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

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