Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

43996
394800
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 (RSS, KiB) Verdict Score
0 1 4 0012.0 17916 Accepted 100
1 1 4 0028.0 18936 Accepted 100
2 1 4 0068.0 18844 Accepted 100
3 1 4 0112.0 19164 Accepted 100
4 1 4 0072.0 18776 Accepted 100
5 1 4 0104.0 21168 Accepted 100
6 1 4 0052.0 18252 Accepted 100
7 1 4 0068.0 20352 Accepted 100
8 1 4 0120.0 21108 Accepted 100
9 1 4 0016.0 18052 Accepted 100
10 2 4 1832.0 303472 Accepted 100
11 2 4 1516.0 386240 Accepted 100
12 2 4 2264.0 381108 Time Limit Exceeded 0
13 2 4 0940.0 221132 Accepted 100
14 2 4 0932.0 186728 Accepted 100
15 2 4 1012.0 244172 Accepted 100
16 2 4 2000.0 339256 Accepted 100
17 2 4 0968.0 241596 Accepted 100
18 2 4 1120.0 287788 Accepted 100
19 2 4 1292.0 318296 Accepted 100
20 3 4 0988.0 277820 Accepted 100
21 3 4 0844.0 205568 Accepted 100
22 3 4 1372.0 394800 Accepted 100
23 3 4 1192.0 361180 Accepted 100
24 3 4 1392.0 350236 Accepted 100
25 3 4 0704.0 175488 Accepted 100
26 3 4 1088.0 300432 Accepted 100
27 3 4 1028.0 299232 Accepted 100
28 3 4 1308.0 394648 Accepted 100
29 3 4 1128.0 304500 Accepted 100
30 4 1056.0 227368 Accepted 100
31 4 1480.0 389656 Accepted 100
32 4 1476.0 364128 Accepted 100
33 4 1036.0 219052 Accepted 100
34 4 1232.0 319760 Accepted 100
35 4 0956.0 252352 Accepted 100
36 4 1756.0 371156 Accepted 100
37 4 1444.0 385908 Accepted 100
38 4 1628.0 331096 Accepted 100
39 4 1360.0 259480 Accepted 100
40 4 1064.0 288144 Accepted 100
41 4 1156.0 315736 Accepted 100
42 4 0860.0 228544 Accepted 100
43 4 0988.0 256360 Accepted 100
44 4 0932.0 259744 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.92 KB
Back to Top