Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

43432
339056
Time Limit Exceeded
16

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$。 0 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 0 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.2 335736 4804 Accepted 100
1 1 4 0048.3 335736 5772 Accepted 100
2 1 4 0198.2 335736 5604 Accepted 100
3 1 4 0247.8 335736 5868 Accepted 100
4 1 4 0213.0 335736 5552 Accepted 100
5 1 4 0370.8 335736 7552 Accepted 100
6 1 4 0136.4 335736 5004 Accepted 100
7 1 4 0164.3 335736 6668 Accepted 100
8 1 4 0432.7 335736 7512 Accepted 100
9 1 4 0009.3 335736 4788 Accepted 100
10 2 4 2036.2 337716 252748 Time Limit Exceeded 0
11 2 4 1001.3 338336 324716 Accepted 100
12 2 4 1604.3 338244 320516 Wrong Answer 0
13 2 4 0959.8 337044 181392 Accepted 100
14 2 4 0903.3 336924 151436 Wrong Answer 0
15 2 4 0951.2 337176 201220 Accepted 100
16 2 4 2141.2 337980 283736 Time Limit Exceeded 0
17 2 4 0754.8 337332 198908 Accepted 100
18 2 4 0680.8 338336 239180 Accepted 100
19 2 4 0988.6 338336 265692 Accepted 100
20 3 4 1109.2 339840 231000 Wrong Answer 0
21 3 4 1402.2 338576 168068 Wrong Answer 0
22 3 4 1339.8 341892 339056 Wrong Answer 0
23 3 4 1075.4 341212 303512 Wrong Answer 0
24 3 4 1931.5 340964 293888 Wrong Answer 0
25 3 4 1090.9 338136 141888 Wrong Answer 0
26 3 4 1289.8 340196 250596 Wrong Answer 0
27 3 4 0999.9 340188 249564 Wrong Answer 0
28 3 4 1111.0 341736 336880 Wrong Answer 0
29 3 4 1308.8 340232 254052 Wrong Answer 0
30 4 1059.2 337188 186564 Wrong Answer 0
31 4 0886.3 338308 327684 Accepted 100
32 4 1229.5 338336 305436 Accepted 100
33 4 1712.5 337056 179588 Wrong Answer 0
34 4 0859.8 337848 266904 Accepted 100
35 4 0870.2 337176 208572 Accepted 100
36 4 2134.6 338112 311372 Time Limit Exceeded 0
37 4 0896.6 338336 324576 Accepted 100
38 4 1609.2 337948 276864 Wrong Answer 0
39 4 1915.6 337496 214512 Wrong Answer 0
40 4 0778.2 338336 239304 Accepted 100
41 4 0806.3 338336 263408 Accepted 100
42 4 0697.2 337224 187768 Accepted 100
43 4 0873.5 337356 211860 Accepted 100
44 4 0597.9 337176 214908 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.87 KB
Back to Top