結果

問題 No.390 最長の数列
ユーザー %20%20
提出日時 2017-08-28 01:35:12
言語 Perl
(5.38.2)
結果
AC  
実行時間 4,563 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 30 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 102,388 KB
最終ジャッジ日時 2024-04-24 00:35:14
合計ジャッジ時間 14,972 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 584 ms
84,992 KB
testcase_01 AC 272 ms
49,536 KB
testcase_02 AC 540 ms
85,120 KB
testcase_03 AC 369 ms
70,016 KB
testcase_04 AC 545 ms
85,120 KB
testcase_05 AC 156 ms
33,272 KB
testcase_06 AC 3,077 ms
102,272 KB
testcase_07 AC 324 ms
84,864 KB
testcase_08 AC 8 ms
12,928 KB
testcase_09 AC 323 ms
85,248 KB
testcase_10 AC 556 ms
64,884 KB
testcase_11 AC 642 ms
69,876 KB
testcase_12 AC 614 ms
67,572 KB
testcase_13 AC 1,032 ms
94,592 KB
testcase_14 AC 4,563 ms
102,388 KB
testcase_15 AC 8 ms
13,952 KB
testcase_16 AC 8 ms
13,568 KB
testcase_17 AC 24 ms
16,000 KB
testcase_18 AC 38 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