結果

問題 No.390 最長の数列
ユーザー %20%20
提出日時 2017-08-28 01:43:56
言語 Perl
(5.38.2)
結果
AC  
実行時間 4,905 ms / 5,000 ms
コード長 98 bytes
コンパイル時間 140 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 103,288 KB
最終ジャッジ日時 2024-04-24 00:41:41
合計ジャッジ時間 16,460 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 641 ms
84,992 KB
testcase_01 AC 292 ms
49,792 KB
testcase_02 AC 586 ms
84,992 KB
testcase_03 AC 423 ms
69,888 KB
testcase_04 AC 606 ms
84,992 KB
testcase_05 AC 213 ms
34,040 KB
testcase_06 AC 3,232 ms
103,040 KB
testcase_07 AC 340 ms
84,864 KB
testcase_08 AC 9 ms
13,056 KB
testcase_09 AC 334 ms
84,992 KB
testcase_10 AC 643 ms
65,780 KB
testcase_11 AC 738 ms
70,772 KB
testcase_12 AC 662 ms
68,340 KB
testcase_13 AC 1,257 ms
95,232 KB
testcase_14 AC 4,905 ms
103,288 KB
testcase_15 AC 9 ms
13,696 KB
testcase_16 AC 8 ms
13,568 KB
testcase_17 AC 26 ms
16,128 KB
testcase_18 AC 44 ms
18,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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