Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3145
11856
Runtime Error (killed by signal)
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 0003.6 194076 3904 Accepted 100
1 1 4 0088.0 194076 6596 Accepted 100
2 1 4 0332.3 194076 6280 Accepted 100
3 1 4 0431.2 194076 6988 Accepted 100
4 1 4 0348.5 194076 5972 Accepted 100
5 1 4 0569.9 194076 11824 Accepted 100
6 1 4 0228.1 194076 4620 Accepted 100
7 1 4 0300.7 194076 9784 Accepted 100
8 1 4 0660.3 194076 11856 Accepted 100
9 1 4 0012.7 194076 3884 Accepted 100
10 2 4 0003.1 194076 3520 Runtime Error (killed by signal) 0
11 2 4 0003.3 194076 3464 Runtime Error (killed by signal) 0
12 2 4 0003.2 194076 3488 Runtime Error (killed by signal) 0
13 2 4 0003.5 194076 3564 Runtime Error (killed by signal) 0
14 2 4 0003.2 194076 3520 Runtime Error (killed by signal) 0
15 2 4 0003.3 194076 3588 Runtime Error (killed by signal) 0
16 2 4 0003.2 194076 3436 Runtime Error (killed by signal) 0
17 2 4 0003.1 194076 3524 Runtime Error (killed by signal) 0
18 2 4 0003.3 194076 3588 Runtime Error (killed by signal) 0
19 2 4 0003.2 194076 3504 Runtime Error (killed by signal) 0
20 3 4 0008.2 194472 3916 Runtime Error (killed by signal) 0
21 3 4 0008.5 194472 4068 Runtime Error (killed by signal) 0
22 3 4 0008.1 194472 3964 Runtime Error (killed by signal) 0
23 3 4 0008.4 194472 4012 Runtime Error (killed by signal) 0
24 3 4 0008.2 194472 4040 Runtime Error (killed by signal) 0
25 3 4 0008.2 194472 4016 Runtime Error (killed by signal) 0
26 3 4 0008.4 194472 3952 Runtime Error (killed by signal) 0
27 3 4 0009.3 194472 4068 Runtime Error (killed by signal) 0
28 3 4 0008.7 194472 3980 Runtime Error (killed by signal) 0
29 3 4 0008.2 194472 4064 Runtime Error (killed by signal) 0
30 4 0003.3 194076 3484 Runtime Error (killed by signal) 0
31 4 0003.6 194076 3420 Runtime Error (killed by signal) 0
32 4 0003.4 194076 3524 Runtime Error (killed by signal) 0
33 4 0003.2 194076 3528 Runtime Error (killed by signal) 0
34 4 0003.4 194076 3504 Runtime Error (killed by signal) 0
35 4 0003.2 194076 3484 Runtime Error (killed by signal) 0
36 4 0006.1 194076 3584 Runtime Error (killed by signal) 0
37 4 0003.3 194076 3500 Runtime Error (killed by signal) 0
38 4 0003.1 194076 3428 Runtime Error (killed by signal) 0
39 4 0003.5 194076 3448 Runtime Error (killed by signal) 0
40 4 0003.2 194076 3496 Runtime Error (killed by signal) 0
41 4 0003.2 194076 3524 Runtime Error (killed by signal) 0
42 4 0003.3 194076 3424 Runtime Error (killed by signal) 0
43 4 0003.5 194076 3420 Runtime Error (killed by signal) 0
44 4 0003.4 194076 3596 Runtime Error (killed by signal) 0
Submitter:
Compiler:
c++17
Code Length:
4.03 KB
Back to Top