結果

問題 No.610 区間賞(Section Award)
ユーザー tailstails
提出日時 2017-12-10 00:11:36
言語 Perl
(5.38.0)
結果
AC  
実行時間 536 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 7,108 KB
実行使用メモリ 44,500 KB
最終ジャッジ日時 2023-08-20 05:31:10
合計ジャッジ時間 11,872 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
4,988 KB
testcase_01 AC 6 ms
5,132 KB
testcase_02 AC 6 ms
5,128 KB
testcase_03 AC 6 ms
5,212 KB
testcase_04 AC 6 ms
5,168 KB
testcase_05 AC 7 ms
5,228 KB
testcase_06 AC 10 ms
5,356 KB
testcase_07 AC 7 ms
5,188 KB
testcase_08 AC 10 ms
5,520 KB
testcase_09 AC 7 ms
5,188 KB
testcase_10 AC 9 ms
5,440 KB
testcase_11 AC 9 ms
5,376 KB
testcase_12 AC 6 ms
5,124 KB
testcase_13 AC 9 ms
5,556 KB
testcase_14 AC 9 ms
5,364 KB
testcase_15 AC 8 ms
5,288 KB
testcase_16 AC 9 ms
5,272 KB
testcase_17 AC 8 ms
5,292 KB
testcase_18 AC 7 ms
5,196 KB
testcase_19 AC 103 ms
12,296 KB
testcase_20 AC 485 ms
39,932 KB
testcase_21 AC 62 ms
9,940 KB
testcase_22 AC 275 ms
28,372 KB
testcase_23 AC 40 ms
8,336 KB
testcase_24 AC 103 ms
13,832 KB
testcase_25 AC 27 ms
6,984 KB
testcase_26 AC 191 ms
21,008 KB
testcase_27 AC 405 ms
39,372 KB
testcase_28 AC 362 ms
35,624 KB
testcase_29 AC 255 ms
26,920 KB
testcase_30 AC 340 ms
33,392 KB
testcase_31 AC 175 ms
19,468 KB
testcase_32 AC 387 ms
37,384 KB
testcase_33 AC 58 ms
9,784 KB
testcase_34 AC 412 ms
39,676 KB
testcase_35 AC 194 ms
21,388 KB
testcase_36 AC 397 ms
38,376 KB
testcase_37 AC 335 ms
32,832 KB
testcase_38 AC 92 ms
12,596 KB
testcase_39 AC 430 ms
40,572 KB
testcase_40 AC 422 ms
40,396 KB
testcase_41 AC 426 ms
40,824 KB
testcase_42 AC 434 ms
40,560 KB
testcase_43 AC 434 ms
40,784 KB
testcase_44 AC 442 ms
37,360 KB
testcase_45 AC 536 ms
43,820 KB
testcase_46 AC 529 ms
44,500 KB
testcase_47 AC 348 ms
34,344 KB
testcase_48 AC 324 ms
32,476 KB
testcase_49 AC 356 ms
34,908 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 4.
Main.pl syntax OK

ソースコード

diff #

<>;
@a=glob<>;
@b=glob<>;
$r[$_]=++$i for@a;
for(@b){
	if($c<$r[$_]){
		push@o,$_;
		$c=$r[$_];
	}
}
print join$/,sort{$a-$b}@o
0