結果

問題 No.3035 2018
ユーザー tailstails
提出日時 2018-04-02 23:52:37
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 351 ms
コンパイル使用メモリ 7,144 KB
実行使用メモリ 59,556 KB
最終ジャッジ日時 2023-09-08 13:46:15
合計ジャッジ時間 11,500 ms
ジャッジサーバーID
(参考情報)
judge13 / 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 919 ms
59,456 KB
testcase_08 AC 921 ms
59,320 KB
testcase_09 AC 919 ms
59,412 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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