結果

問題 No.390 最長の数列
ユーザー %20%20
提出日時 2017-08-28 01:38:11
言語 Perl
(5.38.2)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 111 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 102,528 KB
最終ジャッジ日時 2024-04-24 00:38:59
合計ジャッジ時間 16,948 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 630 ms
85,120 KB
testcase_01 AC 299 ms
49,664 KB
testcase_02 AC 589 ms
85,120 KB
testcase_03 AC 398 ms
70,144 KB
testcase_04 AC 589 ms
85,120 KB
testcase_05 AC 189 ms
33,140 KB
testcase_06 AC 3,573 ms
102,528 KB
testcase_07 AC 353 ms
85,120 KB
testcase_08 AC 9 ms
12,800 KB
testcase_09 AC 352 ms
85,248 KB
testcase_10 AC 655 ms
65,012 KB
testcase_11 AC 728 ms
69,880 KB
testcase_12 AC 683 ms
67,576 KB
testcase_13 AC 1,110 ms
94,592 KB
testcase_14 TLE -
testcase_15 AC 11 ms
13,824 KB
testcase_16 AC 10 ms
13,696 KB
testcase_17 AC 29 ms
16,000 KB
testcase_18 AC 45 ms
19,072 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;$/=$";
for(sort{$a-$b}<>){
	($==++$d[$i=$_])>$%and$%=$=;
	$=>$d[$i]and$d[$i]=$=while($i+=$_)<=1e6
}
print$%
0