結果

問題 No.390 最長の数列
ユーザー kotatsugamekotatsugame
提出日時 2019-10-12 06:52:49
言語 cLay
(20240104-1)
結果
AC  
実行時間 150 ms / 5,000 ms
コード長 125 bytes
コンパイル時間 5,276 ms
コンパイル使用メモリ 205,568 KB
実行使用メモリ 22,452 KB
最終ジャッジ日時 2023-09-19 00:27:36
合計ジャッジ時間 6,564 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
21,780 KB
testcase_01 AC 25 ms
21,772 KB
testcase_02 AC 27 ms
21,772 KB
testcase_03 AC 25 ms
21,764 KB
testcase_04 AC 26 ms
21,776 KB
testcase_05 AC 8 ms
9,236 KB
testcase_06 AC 116 ms
22,420 KB
testcase_07 AC 21 ms
21,764 KB
testcase_08 AC 5 ms
7,556 KB
testcase_09 AC 21 ms
21,888 KB
testcase_10 AC 45 ms
22,444 KB
testcase_11 AC 45 ms
22,452 KB
testcase_12 AC 43 ms
22,436 KB
testcase_13 AC 51 ms
22,292 KB
testcase_14 AC 150 ms
22,364 KB
testcase_15 AC 5 ms
8,128 KB
testcase_16 AC 7 ms
9,784 KB
testcase_17 AC 20 ms
21,864 KB
testcase_18 AC 21 ms
21,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll N,A[1d5],D[2d6];
{
	rd(N,A(N));
	sortA(N,A);
	rep(i,N){D[A[i]]++;rep(j,A[i],2d6,A[i])D[j]>?=D[A[i]];}
	wt(max(D(2d6)));
}
0