Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33682
483392
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.1 484184 4748 Accepted 100
1 1 4 0023.2 484184 6216 Accepted 100
2 1 4 0070.7 484184 6084 Accepted 100
3 1 4 0107.0 484184 6440 Accepted 100
4 1 4 0075.5 484184 5908 Accepted 100
5 1 4 0112.7 484184 8760 Accepted 100
6 1 4 0057.8 484184 5188 Accepted 100
7 1 4 0074.0 484184 7764 Accepted 100
8 1 4 0127.6 484184 8780 Accepted 100
9 1 4 0006.1 484184 4792 Accepted 100
10 2 4 1093.4 486296 361212 Accepted 100
11 2 4 1104.5 487168 464844 Accepted 100
12 2 4 1333.3 486956 458368 Accepted 100
13 2 4 0781.5 485680 258696 Accepted 100
14 2 4 0567.0 485372 215412 Accepted 100
15 2 4 0799.3 485752 287496 Accepted 100
16 2 4 1222.1 486560 405912 Accepted 100
17 2 4 0700.9 485912 284068 Accepted 100
18 2 4 0807.2 487168 341900 Accepted 100
19 2 4 0946.6 487168 380132 Accepted 100
20 3 4 0921.0 488284 328736 Accepted 100
21 3 4 0786.3 487020 238628 Accepted 100
22 3 4 1285.5 490336 483392 Accepted 100
23 3 4 1076.1 489656 432492 Accepted 100
24 3 4 1257.7 489412 418796 Accepted 100
25 3 4 0651.3 486584 201056 Accepted 100
26 3 4 1010.7 488644 356764 Accepted 100
27 3 4 0909.4 488636 355264 Accepted 100
28 3 4 1193.7 490180 480440 Accepted 100
29 3 4 1000.8 488688 361760 Accepted 100
30 4 0727.5 485776 266236 Accepted 100
31 4 1078.3 487112 468852 Accepted 100
32 4 1131.8 487168 437264 Accepted 100
33 4 0759.5 485636 255904 Accepted 100
34 4 0903.9 486564 381596 Accepted 100
35 4 0772.0 485752 297752 Accepted 100
36 4 1224.5 486824 445652 Accepted 100
37 4 1067.7 487168 464572 Accepted 100
38 4 1097.2 486664 395616 Accepted 100
39 4 0988.1 486076 306260 Accepted 100
40 4 0844.6 487168 342088 Accepted 100
41 4 0881.6 487168 376760 Accepted 100
42 4 0649.4 485816 267600 Accepted 100
43 4 0758.7 485964 302444 Accepted 100
44 4 0690.4 485752 306756 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.19 KB
Back to Top