結果

問題 No.390 最長の数列
ユーザー %20%20
提出日時 2017-08-28 01:43:20
言語 Perl
(5.38.2)
結果
AC  
実行時間 4,450 ms / 5,000 ms
コード長 99 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 87,552 KB
最終ジャッジ日時 2024-04-24 00:40:55
合計ジャッジ時間 13,946 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 402 ms
69,504 KB
testcase_01 AC 196 ms
41,856 KB
testcase_02 AC 366 ms
69,504 KB
testcase_03 AC 283 ms
57,728 KB
testcase_04 AC 378 ms
69,504 KB
testcase_05 AC 243 ms
34,072 KB
testcase_06 AC 2,973 ms
87,552 KB
testcase_07 AC 233 ms
69,376 KB
testcase_08 AC 10 ms
12,800 KB
testcase_09 AC 230 ms
69,504 KB
testcase_10 AC 616 ms
58,356 KB
testcase_11 AC 665 ms
62,208 KB
testcase_12 AC 638 ms
60,408 KB
testcase_13 AC 997 ms
80,640 KB
testcase_14 AC 4,450 ms
87,288 KB
testcase_15 AC 10 ms
13,696 KB
testcase_16 AC 10 ms
13,696 KB
testcase_17 AC 27 ms
15,744 KB
testcase_18 AC 40 ms
18,176 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;$/=$";map{$\+=$-=($x=++$d[$i=$_])-$\;$x<$d[$i]or$d[$i]=$x while($i+=$_)<=1e6}sort{$a-$b}<>;print
0