Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33801
389060
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 16 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 31 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 16 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.2 385740 4788 Accepted 100
1 1 4 0021.6 385740 5868 Accepted 100
2 1 4 0060.7 385740 5576 Accepted 100
3 1 4 0093.6 385740 5916 Accepted 100
4 1 4 0063.5 385740 5716 Accepted 100
5 1 4 0102.1 385740 7940 Accepted 100
6 1 4 0051.3 385740 4864 Accepted 100
7 1 4 0062.7 385740 7220 Accepted 100
8 1 4 0106.2 385740 7852 Accepted 100
9 1 4 0005.9 385740 4732 Accepted 100
10 2 4 1123.3 387724 290248 Accepted 100
11 2 4 1087.0 388340 373184 Accepted 100
12 2 4 1256.1 388248 368072 Accepted 100
13 2 4 0775.3 387048 208020 Accepted 100
14 2 4 0557.9 386928 173512 Accepted 100
15 2 4 0811.9 387180 230892 Accepted 100
16 2 4 1274.6 387984 326108 Accepted 100
17 2 4 0693.4 387336 228436 Accepted 100
18 2 4 0793.7 388340 274772 Accepted 100
19 2 4 0939.9 388340 305348 Accepted 100
20 3 4 0885.7 389836 264848 Accepted 100
21 3 4 0769.7 388580 192400 Accepted 100
22 3 4 1256.1 391896 389060 Accepted 100
23 3 4 1099.7 391220 348060 Accepted 100
24 3 4 1270.4 390972 337036 Accepted 100
25 3 4 0652.8 388136 162424 Accepted 100
26 3 4 0985.3 390200 287168 Accepted 100
27 3 4 0904.6 390192 286164 Accepted 100
28 3 4 1187.6 391736 386564 Accepted 100
29 3 4 0993.4 390240 291244 Accepted 100
30 4 0730.0 387196 214212 Accepted 100
31 4 1064.5 388312 376612 Accepted 100
32 4 1137.7 388340 351044 Accepted 100
33 4 0781.1 387060 205920 Accepted 100
34 4 0910.0 387852 306552 Accepted 100
35 4 0747.3 387180 239172 Accepted 100
36 4 1282.5 388116 357912 Accepted 100
37 4 1056.8 388340 373036 Accepted 100
38 4 1105.1 387956 317976 Accepted 100
39 4 1002.7 387500 246200 Accepted 100
40 4 0924.7 388340 275020 Accepted 100
41 4 0909.2 388340 302864 Accepted 100
42 4 0711.9 387228 215368 Accepted 100
43 4 0821.6 387360 243160 Accepted 100
44 4 0725.6 387180 246596 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.68 KB
Back to Top