Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40691
391148
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 0015.3 387488 14356 Accepted 100
1 1 4 0033.8 387488 15340 Accepted 100
2 1 4 0077.1 387488 15268 Accepted 100
3 1 4 0110.4 387488 15464 Accepted 100
4 1 4 0081.5 387488 15168 Accepted 100
5 1 4 0117.9 387488 17400 Accepted 100
6 1 4 0065.4 387488 14516 Accepted 100
7 1 4 0080.1 387488 16720 Accepted 100
8 1 4 0140.4 387488 17548 Accepted 100
9 1 4 0016.8 387488 14296 Accepted 100
10 2 4 1716.3 389468 299744 Accepted 100
11 2 4 1334.1 390088 382732 Accepted 100
12 2 4 2131.7 389996 377460 Time Limit Exceeded 0
13 2 4 0840.6 388796 217580 Accepted 100
14 2 4 0819.6 388676 183088 Accepted 100
15 2 4 0905.5 388928 240496 Accepted 100
16 2 4 1891.3 389732 335592 Accepted 100
17 2 4 0864.2 389084 237916 Accepted 100
18 2 4 0953.5 390088 284108 Accepted 100
19 2 4 1124.4 390088 314768 Accepted 100
20 3 4 0909.2 391592 274132 Accepted 100
21 3 4 0797.5 390324 202100 Accepted 100
22 3 4 1259.8 393636 391148 Accepted 100
23 3 4 1100.5 392964 357596 Accepted 100
24 3 4 1323.5 392720 346556 Accepted 100
25 3 4 0672.0 389884 171868 Accepted 100
26 3 4 1028.2 391952 296976 Accepted 100
27 3 4 0950.2 391936 295656 Accepted 100
28 3 4 1211.8 393488 391124 Accepted 100
29 3 4 1042.2 391984 300804 Accepted 100
30 4 0990.7 388944 223600 Accepted 100
31 4 1337.6 390060 385972 Accepted 100
32 4 1314.7 390088 360480 Accepted 100
33 4 0974.6 388808 215496 Accepted 100
34 4 1123.6 389600 315896 Accepted 100
35 4 0889.5 388928 248792 Accepted 100
36 4 1707.0 389864 367400 Accepted 100
37 4 1288.3 390088 382348 Accepted 100
38 4 1579.7 389700 327516 Accepted 100
39 4 1298.5 389248 255736 Accepted 100
40 4 0973.2 390088 284428 Accepted 100
41 4 1052.0 390088 312164 Accepted 100
42 4 0787.1 388976 224836 Accepted 100
43 4 0918.1 389108 252708 Accepted 100
44 4 0841.4 388928 256120 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.52 KB
Back to Top