Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

41384
507368
Memory Limit Exceeded
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 (RSS, KiB) Verdict Score
0 1 4 0000.0 4496 Accepted 100
1 1 4 0176.0 4580 Accepted 100
2 1 4 1980.0 135420 Time Limit Exceeded 0
3 1 4 1212.0 4620 Time Limit Exceeded 0
4 1 4 1992.0 126988 Time Limit Exceeded 0
5 1 4 1984.0 139288 Time Limit Exceeded 0
6 1 4 0184.0 4428 Accepted 100
7 1 4 1360.0 4504 Time Limit Exceeded 0
8 1 4 1988.0 139084 Time Limit Exceeded 0
9 1 4 0004.0 4608 Accepted 100
10 2 4 0884.0 507272 Memory Limit Exceeded 0
11 2 4 0888.0 506956 Memory Limit Exceeded 0
12 2 4 0892.0 507204 Memory Limit Exceeded 0
13 2 4 0852.0 507116 Memory Limit Exceeded 0
14 2 4 0844.0 507268 Memory Limit Exceeded 0
15 2 4 0848.0 507312 Memory Limit Exceeded 0
16 2 4 0896.0 507368 Memory Limit Exceeded 0
17 2 4 0844.0 507240 Memory Limit Exceeded 0
18 2 4 0900.0 506720 Memory Limit Exceeded 0
19 2 4 0920.0 506808 Memory Limit Exceeded 0
20 3 4 0876.0 507260 Memory Limit Exceeded 0
21 3 4 0828.0 507316 Memory Limit Exceeded 0
22 3 4 0880.0 507252 Memory Limit Exceeded 0
23 3 4 0876.0 507276 Memory Limit Exceeded 0
24 3 4 0876.0 507280 Memory Limit Exceeded 0
25 3 4 0832.0 507172 Memory Limit Exceeded 0
26 3 4 0868.0 507284 Memory Limit Exceeded 0
27 3 4 0876.0 507280 Memory Limit Exceeded 0
28 3 4 0880.0 507212 Memory Limit Exceeded 0
29 3 4 0880.0 507104 Memory Limit Exceeded 0
30 4 0848.0 507268 Memory Limit Exceeded 0
31 4 0892.0 507180 Memory Limit Exceeded 0
32 4 0900.0 506960 Memory Limit Exceeded 0
33 4 0876.0 507348 Memory Limit Exceeded 0
34 4 0892.0 507192 Memory Limit Exceeded 0
35 4 0836.0 507144 Memory Limit Exceeded 0
36 4 0888.0 507244 Memory Limit Exceeded 0
37 4 0896.0 506940 Memory Limit Exceeded 0
38 4 0896.0 507220 Memory Limit Exceeded 0
39 4 0848.0 507332 Memory Limit Exceeded 0
40 4 0876.0 506736 Memory Limit Exceeded 0
41 4 0888.0 506784 Memory Limit Exceeded 0
42 4 0840.0 507236 Memory Limit Exceeded 0
43 4 0848.0 507148 Memory Limit Exceeded 0
44 4 0840.0 507192 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
2.5 KB
Back to Top