Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4922
37224
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.9 385740 12564 Accepted 100
1 1 4 0007.6 385740 5612 Runtime Error (killed by signal) 0
2 1 4 0007.4 385740 5520 Runtime Error (killed by signal) 0
3 1 4 0008.4 385740 5696 Runtime Error (killed by signal) 0
4 1 4 0007.9 385740 5536 Runtime Error (killed by signal) 0
5 1 4 0011.0 385740 5880 Runtime Error (killed by signal) 0
6 1 4 0006.5 385740 5516 Runtime Error (killed by signal) 0
7 1 4 0008.3 385740 5812 Runtime Error (killed by signal) 0
8 1 4 0010.1 385740 5840 Runtime Error (killed by signal) 0
9 1 4 0005.8 385740 5492 Runtime Error (killed by signal) 0
10 2 4 0186.7 387852 27852 Runtime Error (killed by signal) 0
11 2 4 0219.4 388724 33856 Runtime Error (killed by signal) 0
12 2 4 0229.3 388512 33844 Runtime Error (killed by signal) 0
13 2 4 0113.8 387236 21348 Runtime Error (killed by signal) 0
14 2 4 0098.1 386928 18620 Runtime Error (killed by signal) 0
15 2 4 0127.2 387308 23028 Runtime Error (killed by signal) 0
16 2 4 0205.1 388116 30464 Runtime Error (killed by signal) 0
17 2 4 0128.6 387468 22844 Runtime Error (killed by signal) 0
18 2 4 0156.4 388724 26460 Runtime Error (killed by signal) 0
19 2 4 0178.6 388724 28680 Runtime Error (killed by signal) 0
20 3 4 0063.9 389312 27300 Runtime Error (killed by signal) 0
21 3 4 0049.5 388200 21264 Runtime Error (killed by signal) 0
22 3 4 0083.4 391112 37224 Runtime Error (killed by signal) 0
23 3 4 0081.1 390520 34488 Runtime Error (killed by signal) 0
24 3 4 0078.5 390296 33444 Runtime Error (killed by signal) 0
25 3 4 0043.9 387816 18752 Runtime Error (killed by signal) 0
26 3 4 0068.0 389628 29388 Runtime Error (killed by signal) 0
27 3 4 0068.3 389616 29244 Runtime Error (killed by signal) 0
28 3 4 0089.5 390964 37208 Runtime Error (killed by signal) 0
29 3 4 0067.8 389660 29560 Runtime Error (killed by signal) 0
30 4 0118.8 387324 21932 Runtime Error (killed by signal) 0
31 4 0221.8 388668 34496 Runtime Error (killed by signal) 0
32 4 0200.5 388724 32208 Runtime Error (killed by signal) 0
33 4 0117.3 387192 21232 Runtime Error (killed by signal) 0
34 4 0185.8 388120 29228 Runtime Error (killed by signal) 0
35 4 0135.7 387308 23700 Runtime Error (killed by signal) 0
36 4 0230.0 388380 33076 Runtime Error (killed by signal) 0
37 4 0218.5 388724 33836 Runtime Error (killed by signal) 0
38 4 0194.4 388176 29944 Runtime Error (killed by signal) 0
39 4 0146.9 387600 24348 Runtime Error (killed by signal) 0
40 4 0160.1 388724 26392 Runtime Error (killed by signal) 0
41 4 0176.1 388724 28468 Runtime Error (killed by signal) 0
42 4 0117.5 387372 21860 Runtime Error (killed by signal) 0
43 4 0138.2 387520 24008 Runtime Error (killed by signal) 0
44 4 0135.4 387308 24160 Runtime Error (killed by signal) 0
Submitter:
Compiler:
c++20
Code Length:
3.34 KB
Back to Top