結果

問題 No.610 区間賞(Section Award)
ユーザー tailstails
提出日時 2017-12-10 00:11:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 474 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 407 ms
コンパイル使用メモリ 5,888 KB
実行使用メモリ 45,320 KB
最終ジャッジ日時 2024-05-07 12:52:26
合計ジャッジ時間 10,278 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
5,888 KB
testcase_01 AC 6 ms
5,760 KB
testcase_02 AC 6 ms
5,888 KB
testcase_03 AC 6 ms
5,760 KB
testcase_04 AC 6 ms
5,888 KB
testcase_05 AC 7 ms
5,888 KB
testcase_06 AC 9 ms
6,144 KB
testcase_07 AC 8 ms
6,016 KB
testcase_08 AC 10 ms
6,016 KB
testcase_09 AC 8 ms
6,016 KB
testcase_10 AC 9 ms
6,144 KB
testcase_11 AC 9 ms
6,144 KB
testcase_12 AC 6 ms
5,888 KB
testcase_13 AC 9 ms
6,016 KB
testcase_14 AC 9 ms
6,144 KB
testcase_15 AC 9 ms
6,016 KB
testcase_16 AC 8 ms
6,144 KB
testcase_17 AC 9 ms
5,888 KB
testcase_18 AC 7 ms
6,016 KB
testcase_19 AC 88 ms
13,096 KB
testcase_20 AC 416 ms
40,908 KB
testcase_21 AC 55 ms
10,752 KB
testcase_22 AC 240 ms
29,256 KB
testcase_23 AC 34 ms
8,832 KB
testcase_24 AC 85 ms
14,636 KB
testcase_25 AC 25 ms
7,936 KB
testcase_26 AC 164 ms
21,872 KB
testcase_27 AC 353 ms
40,480 KB
testcase_28 AC 312 ms
36,436 KB
testcase_29 AC 222 ms
27,852 KB
testcase_30 AC 299 ms
34,336 KB
testcase_31 AC 154 ms
20,432 KB
testcase_32 AC 330 ms
38,336 KB
testcase_33 AC 50 ms
10,624 KB
testcase_34 AC 368 ms
40,756 KB
testcase_35 AC 175 ms
22,232 KB
testcase_36 AC 337 ms
39,280 KB
testcase_37 AC 287 ms
33,692 KB
testcase_38 AC 82 ms
13,384 KB
testcase_39 AC 382 ms
41,576 KB
testcase_40 AC 380 ms
41,572 KB
testcase_41 AC 376 ms
41,700 KB
testcase_42 AC 363 ms
41,704 KB
testcase_43 AC 362 ms
41,828 KB
testcase_44 AC 382 ms
38,408 KB
testcase_45 AC 473 ms
44,852 KB
testcase_46 AC 474 ms
45,320 KB
testcase_47 AC 305 ms
35,424 KB
testcase_48 AC 280 ms
33,244 KB
testcase_49 AC 318 ms
35,900 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