結果

問題 No.397 NO MORE KADOMATSU
ユーザー %20%20
提出日時 2017-02-15 13:19:11
言語 Perl
(5.38.2)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 450 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 24,372 KB
平均クエリ数 427.39
最終ジャッジ日時 2023-09-24 00:53:50
合計ジャッジ時間 2,003 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,376 KB
testcase_01 AC 26 ms
23,988 KB
testcase_02 AC 23 ms
24,048 KB
testcase_03 AC 27 ms
24,372 KB
testcase_04 AC 26 ms
24,360 KB
testcase_05 AC 25 ms
23,616 KB
testcase_06 AC 25 ms
23,364 KB
testcase_07 AC 24 ms
23,664 KB
testcase_08 AC 24 ms
23,664 KB
testcase_09 AC 26 ms
24,192 KB
testcase_10 AC 28 ms
24,252 KB
testcase_11 AC 27 ms
23,388 KB
testcase_12 AC 25 ms
23,652 KB
testcase_13 AC 31 ms
24,336 KB
testcase_14 AC 30 ms
23,808 KB
testcase_15 AC 30 ms
23,376 KB
testcase_16 AC 23 ms
24,040 KB
testcase_17 AC 24 ms
23,512 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$|=<>;@A=glob<>;
for$i(0..$#A){
	$A[$i]>$A[$_]and($A[$i],$A[$_])=($A[$_],$A[$i]),push@_,"$i $_\n"for 0..$#A
}
print@_.$/,@_
;<>
0