Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

58272
513784
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 3344 Wrong Answer 0
1 1 4 0760.0 4084 Wrong Answer 0
2 1 4 1952.0 4288 Time Limit Exceeded 0
3 1 4 1976.0 4512 Time Limit Exceeded 0
4 1 4 1972.0 4028 Time Limit Exceeded 0
5 1 4 1980.0 6884 Time Limit Exceeded 0
6 1 4 1972.0 3432 Time Limit Exceeded 0
7 1 4 1984.0 5956 Time Limit Exceeded 0
8 1 4 1976.0 6916 Time Limit Exceeded 0
9 1 4 0092.0 3532 Wrong Answer 0
10 2 4 0392.0 513512 Memory Limit Exceeded 0
11 2 4 0388.0 513396 Memory Limit Exceeded 0
12 2 4 0412.0 513524 Memory Limit Exceeded 0
13 2 4 2996.0 385784 Time Limit Exceeded 0
14 2 4 1900.0 320252 Accepted 100
15 2 4 2992.0 428844 Time Limit Exceeded 0
16 2 4 0416.0 513676 Memory Limit Exceeded 0
17 2 4 2788.0 423196 Time Limit Exceeded 0
18 2 4 0388.0 513684 Memory Limit Exceeded 0
19 2 4 0392.0 513760 Memory Limit Exceeded 0
20 3 4 0384.0 513644 Memory Limit Exceeded 0
21 3 4 2976.0 354376 Time Limit Exceeded 0
22 3 4 0384.0 513412 Memory Limit Exceeded 0
23 3 4 0392.0 513640 Memory Limit Exceeded 0
24 3 4 0388.0 513664 Memory Limit Exceeded 0
25 3 4 2984.0 298056 Time Limit Exceeded 0
26 3 4 0392.0 513732 Memory Limit Exceeded 0
27 3 4 0380.0 513588 Memory Limit Exceeded 0
28 3 4 0384.0 513420 Memory Limit Exceeded 0
29 3 4 0408.0 513452 Memory Limit Exceeded 0
30 4 2548.0 396544 Time Limit Exceeded 0
31 4 0376.0 513328 Memory Limit Exceeded 0
32 4 0380.0 513476 Memory Limit Exceeded 0
33 4 2992.0 381248 Time Limit Exceeded 0
34 4 0388.0 513552 Memory Limit Exceeded 0
35 4 2988.0 444328 Time Limit Exceeded 0
36 4 0384.0 513400 Memory Limit Exceeded 0
37 4 0388.0 513756 Memory Limit Exceeded 0
38 4 0392.0 513488 Memory Limit Exceeded 0
39 4 3000.0 456704 Time Limit Exceeded 0
40 4 0392.0 513784 Memory Limit Exceeded 0
41 4 0396.0 513528 Memory Limit Exceeded 0
42 4 2628.0 398592 Time Limit Exceeded 0
43 4 2964.0 450952 Time Limit Exceeded 0
44 4 1256.0 458176 Wrong Answer 0
Submitter:
Compiler:
c++14
Code Length:
3.2 KB
Back to Top