結果

問題 No.2796 Small Matryoshka
ユーザー p-adicp-adic
提出日時 2024-06-28 23:50:47
言語 cLay
(20240420-1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 7,227 ms
コンパイル使用メモリ 218,416 KB
実行使用メモリ 20,736 KB
最終ジャッジ日時 2024-06-28 23:50:57
合計ジャッジ時間 8,642 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 1 ms
5,376 KB
testcase_02 AC 2 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 1 ms
5,376 KB
testcase_05 AC 6 ms
6,400 KB
testcase_06 AC 29 ms
19,584 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 22 ms
14,976 KB
testcase_09 AC 31 ms
20,480 KB
testcase_10 AC 30 ms
20,480 KB
testcase_11 AC 30 ms
20,736 KB
testcase_12 AC 8 ms
9,728 KB
testcase_13 AC 2 ms
5,376 KB
testcase_14 AC 7 ms
8,960 KB
testcase_15 AC 3 ms
5,376 KB
testcase_16 AC 5 ms
6,144 KB
testcase_17 AC 21 ms
14,976 KB
testcase_18 AC 24 ms
16,384 KB
testcase_19 AC 8 ms
8,064 KB
testcase_20 AC 11 ms
9,600 KB
testcase_21 AC 21 ms
14,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@(L,R)[N],M=coordcomp(N,L,N,R)+1,A[M]{-1};rep(i,N)A[L[i]]++,A[R[i]]--;rep(j,1,M)A[j]+=A[j-1];wt(max(A(M)));
0