結果

問題 No.3035 2018
ユーザー tailstails
提出日時 2018-04-02 23:30:10
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 5,292 KB
実行使用メモリ 107,196 KB
最終ジャッジ日時 2023-09-08 13:44:59
合計ジャッジ時間 16,757 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 1,420 ms
107,016 KB
testcase_08 AC 1,406 ms
107,012 KB
testcase_09 AC 1,413 ms
106,980 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@a=(`seq 500000|factor|egrep ': \\w*\$'`);
for$i(0..$#a){
	for$j(0..$#a){
		last if ($v=$a[$i]*$a[$j])>=4e6;
		push@b,$v;
	}
}
@b=sort{$a<=>$b}@b;
print$b[<>*2.002+1];
0