Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

38972
391504
Time Limit Exceeded
53

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$。 37 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0014.8 393556 12656 Accepted 100
1 1 4 0022.8 393556 14244 Accepted 100
2 1 4 0042.2 393556 15244 Accepted 100
3 1 4 0049.1 393556 17128 Accepted 100
4 1 4 0045.5 393556 15500 Accepted 100
5 1 4 0067.9 393556 18360 Accepted 100
6 1 4 0031.6 393556 14420 Accepted 100
7 1 4 0039.2 393556 17048 Accepted 100
8 1 4 0076.3 393556 18816 Accepted 100
9 1 4 0015.5 393556 12688 Accepted 100
10 2 4 2118.8 395668 302300 Time Limit Exceeded 0
11 2 4 1143.7 396540 383204 Accepted 100
12 2 4 2113.6 396328 226772 Time Limit Exceeded 0
13 2 4 0683.5 395052 220512 Accepted 100
14 2 4 1011.7 394876 183072 Accepted 100
15 2 4 0761.6 395124 243264 Accepted 100
16 2 4 2155.4 395932 337980 Time Limit Exceeded 0
17 2 4 0795.8 395276 238568 Accepted 100
18 2 4 0817.7 396540 284080 Accepted 100
19 2 4 0961.1 396540 316832 Accepted 100
20 3 4 0816.8 397132 274728 Accepted 100
21 3 4 0727.3 396008 204036 Accepted 100
22 3 4 1183.3 398924 391504 Accepted 100
23 3 4 1014.6 398336 357332 Accepted 100
24 3 4 1176.3 398108 349076 Accepted 100
25 3 4 0581.3 395632 173100 Accepted 100
26 3 4 0912.4 397440 297772 Accepted 100
27 3 4 0846.0 397436 295704 Accepted 100
28 3 4 1091.4 398780 390648 Accepted 100
29 3 4 0919.9 397472 301764 Accepted 100
30 4 1160.6 395140 223868 Accepted 100
31 4 1235.2 396488 385864 Accepted 100
32 4 1104.2 396540 363244 Accepted 100
33 4 1085.4 395008 217004 Accepted 100
34 4 1054.0 395932 316104 Accepted 100
35 4 0742.9 395124 250348 Accepted 100
36 4 1966.5 396196 369012 Accepted 100
37 4 1113.9 396540 382368 Accepted 100
38 4 1826.3 395988 328624 Accepted 100
39 4 1461.8 395416 258356 Accepted 100
40 4 0837.2 396540 285044 Accepted 100
41 4 0904.8 396540 312292 Accepted 100
42 4 0703.9 395192 225372 Accepted 100
43 4 0815.1 395340 254036 Accepted 100
44 4 0723.2 395124 255512 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
7.71 KB
Back to Top