結果

問題 No.647 明太子
ユーザー %20%20
提出日時 2018-02-09 22:35:38
言語 Perl
(5.38.2)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 146 bytes
コンパイル時間 893 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 8,780 KB
最終ジャッジ日時 2023-08-27 02:15:22
合計ジャッジ時間 14,914 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,180 KB
testcase_01 AC 6 ms
5,008 KB
testcase_02 AC 6 ms
5,220 KB
testcase_03 AC 6 ms
5,144 KB
testcase_04 AC 6 ms
5,112 KB
testcase_05 AC 6 ms
5,160 KB
testcase_06 AC 6 ms
5,056 KB
testcase_07 AC 7 ms
5,068 KB
testcase_08 AC 7 ms
5,096 KB
testcase_09 AC 45 ms
5,264 KB
testcase_10 AC 85 ms
5,312 KB
testcase_11 AC 23 ms
5,168 KB
testcase_12 AC 68 ms
5,344 KB
testcase_13 AC 148 ms
5,464 KB
testcase_14 AC 1,632 ms
8,260 KB
testcase_15 AC 226 ms
5,792 KB
testcase_16 AC 62 ms
5,204 KB
testcase_17 AC 2,079 ms
8,556 KB
testcase_18 AC 2,249 ms
8,456 KB
testcase_19 AC 662 ms
8,220 KB
testcase_20 AC 705 ms
7,424 KB
testcase_21 AC 253 ms
6,116 KB
testcase_22 TLE -
testcase_23 AC 7 ms
5,172 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@AB=map[glob<>],1..<>;
for$i(1..<>){
	<>=~$";
	$_[$i]+=$`<=@$_[0]&&$'>=@$_[1]for@AB;
}
($m)=sort{$b-$a}@_;
$,=$/;
print$m?grep$_[$_]==$m,1..$#_:0
0