Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4938
37252
Runtime Error (killed by signal)
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 0 / 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 0014.4 385740 12472 Accepted 100
1 1 4 0007.5 385740 5660 Runtime Error (killed by signal) 0
2 1 4 0007.3 385740 5632 Runtime Error (killed by signal) 0
3 1 4 0008.9 385740 5596 Runtime Error (killed by signal) 0
4 1 4 0007.7 385740 5444 Runtime Error (killed by signal) 0
5 1 4 0011.5 385740 5884 Runtime Error (killed by signal) 0
6 1 4 0006.3 385740 5516 Runtime Error (killed by signal) 0
7 1 4 0008.1 385740 5732 Runtime Error (killed by signal) 0
8 1 4 0010.1 385740 5896 Runtime Error (killed by signal) 0
9 1 4 0005.9 385740 5544 Runtime Error (killed by signal) 0
10 2 4 0184.8 387852 27792 Runtime Error (killed by signal) 0
11 2 4 0216.7 388724 33940 Runtime Error (killed by signal) 0
12 2 4 0227.6 388512 33748 Runtime Error (killed by signal) 0
13 2 4 0114.4 387236 21348 Runtime Error (killed by signal) 0
14 2 4 0096.4 386928 18680 Runtime Error (killed by signal) 0
15 2 4 0127.8 387308 23104 Runtime Error (killed by signal) 0
16 2 4 0203.3 388116 30496 Runtime Error (killed by signal) 0
17 2 4 0131.1 387468 22992 Runtime Error (killed by signal) 0
18 2 4 0161.4 388724 26372 Runtime Error (killed by signal) 0
19 2 4 0176.9 388724 28752 Runtime Error (killed by signal) 0
20 3 4 0064.0 389312 27452 Runtime Error (killed by signal) 0
21 3 4 0049.1 388196 21252 Runtime Error (killed by signal) 0
22 3 4 0087.2 391112 37236 Runtime Error (killed by signal) 0
23 3 4 0082.4 390516 34476 Runtime Error (killed by signal) 0
24 3 4 0081.1 390292 33404 Runtime Error (killed by signal) 0
25 3 4 0041.7 387820 18712 Runtime Error (killed by signal) 0
26 3 4 0067.2 389628 29348 Runtime Error (killed by signal) 0
27 3 4 0067.9 389616 29300 Runtime Error (killed by signal) 0
28 3 4 0088.0 390960 37252 Runtime Error (killed by signal) 0
29 3 4 0070.9 389656 29600 Runtime Error (killed by signal) 0
30 4 0123.4 387324 21836 Runtime Error (killed by signal) 0
31 4 0223.9 388668 34448 Runtime Error (killed by signal) 0
32 4 0206.4 388724 32236 Runtime Error (killed by signal) 0
33 4 0117.5 387192 21184 Runtime Error (killed by signal) 0
34 4 0185.6 388120 29232 Runtime Error (killed by signal) 0
35 4 0128.8 387308 23604 Runtime Error (killed by signal) 0
36 4 0231.2 388380 33016 Runtime Error (killed by signal) 0
37 4 0219.5 388724 33924 Runtime Error (killed by signal) 0
38 4 0201.2 388172 29976 Runtime Error (killed by signal) 0
39 4 0156.3 387600 24424 Runtime Error (killed by signal) 0
40 4 0153.8 388724 26324 Runtime Error (killed by signal) 0
41 4 0176.1 388724 28432 Runtime Error (killed by signal) 0
42 4 0116.7 387372 21904 Runtime Error (killed by signal) 0
43 4 0134.8 387520 24160 Runtime Error (killed by signal) 0
44 4 0135.7 387308 24276 Runtime Error (killed by signal) 0
Submitter:
Compiler:
c++20
Code Length:
3.26 KB
Back to Top