Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32967
387076
Time Limit Exceeded
84

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$。 31 / 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.4 388872 12576 Accepted 100
1 1 4 0033.8 388872 13684 Accepted 100
2 1 4 0076.1 388872 13520 Accepted 100
3 1 4 0109.1 388872 13844 Accepted 100
4 1 4 0079.9 388872 13468 Accepted 100
5 1 4 0117.6 388872 15720 Accepted 100
6 1 4 0079.1 388872 12784 Accepted 100
7 1 4 0079.9 388872 14932 Accepted 100
8 1 4 0131.5 388872 15772 Accepted 100
9 1 4 0016.8 388872 12532 Accepted 100
10 2 4 0136.7 390984 11800 Accepted 100
11 2 4 0074.8 391856 13184 Accepted 100
12 2 4 0102.3 391644 13772 Accepted 100
13 2 4 0121.5 390368 9320 Accepted 100
14 2 4 0053.0 390060 9096 Accepted 100
15 2 4 0113.9 390440 9860 Accepted 100
16 2 4 0172.3 391248 12680 Accepted 100
17 2 4 0064.4 390600 10556 Accepted 100
18 2 4 0048.6 391856 10968 Accepted 100
19 2 4 0092.4 391856 11748 Accepted 100
20 3 4 1015.0 391388 270920 Accepted 100
21 3 4 0898.4 390568 199200 Accepted 100
22 3 4 1400.7 392684 387076 Accepted 100
23 3 4 1213.2 392256 353784 Accepted 100
24 3 4 1467.4 392080 342748 Accepted 100
25 3 4 0737.1 390312 169124 Accepted 100
26 3 4 1159.7 391612 293368 Accepted 100
27 3 4 1093.0 391608 292224 Accepted 100
28 3 4 1394.4 392544 386980 Accepted 100
29 3 4 1211.2 391624 297240 Accepted 100
30 4 1201.2 390496 222176 Accepted 100
31 4 1480.9 391800 384436 Accepted 100
32 4 1462.3 391856 358748 Accepted 100
33 4 1164.4 390324 213712 Accepted 100
34 4 1229.6 391252 314496 Accepted 100
35 4 0962.1 390440 247020 Accepted 100
36 4 2063.4 391512 365820 Time Limit Exceeded 0
37 4 1385.3 391856 381012 Accepted 100
38 4 2020.0 391272 325824 Time Limit Exceeded 0
39 4 1633.1 390764 254060 Accepted 100
40 4 1083.5 391856 282800 Accepted 100
41 4 1151.0 391856 310588 Accepted 100
42 4 0897.5 390504 223288 Accepted 100
43 4 1017.4 390652 251004 Accepted 100
44 4 0907.2 390440 254580 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.6 KB
Back to Top