結果

問題 No.390 最長の数列
ユーザー %20%20
提出日時 2017-08-28 02:24:04
言語 Perl
(5.38.2)
結果
AC  
実行時間 4,602 ms / 5,000 ms
コード長 96 bytes
コンパイル時間 219 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 91,392 KB
最終ジャッジ日時 2024-04-24 00:46:37
合計ジャッジ時間 15,489 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 405 ms
70,144 KB
testcase_01 AC 199 ms
42,624 KB
testcase_02 AC 366 ms
70,144 KB
testcase_03 AC 285 ms
58,368 KB
testcase_04 AC 381 ms
70,144 KB
testcase_05 AC 480 ms
37,848 KB
testcase_06 AC 3,159 ms
91,392 KB
testcase_07 AC 230 ms
70,144 KB
testcase_08 AC 11 ms
13,848 KB
testcase_09 AC 229 ms
70,272 KB
testcase_10 AC 834 ms
62,284 KB
testcase_11 AC 888 ms
66,384 KB
testcase_12 AC 843 ms
64,464 KB
testcase_13 AC 1,146 ms
83,968 KB
testcase_14 AC 4,602 ms
91,240 KB
testcase_15 AC 14 ms
14,720 KB
testcase_16 AC 14 ms
14,336 KB
testcase_17 AC 40 ms
16,640 KB
testcase_18 AC 60 ms
19,200 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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