Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

43008
388488
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 0000.0 3448 Accepted 100
1 1 4 0016.0 3568 Accepted 100
2 1 4 0060.0 3544 Accepted 100
3 1 4 0092.0 3824 Accepted 100
4 1 4 0060.0 3516 Accepted 100
5 1 4 0096.0 4940 Accepted 100
6 1 4 0048.0 3484 Accepted 100
7 1 4 0064.0 4316 Accepted 100
8 1 4 0112.0 4872 Accepted 100
9 1 4 0004.0 3468 Accepted 100
10 2 4 1960.0 289588 Accepted 100
11 2 4 1336.0 373328 Accepted 100
12 2 4 2400.0 367828 Time Limit Exceeded 0
13 2 4 0868.0 194960 Accepted 100
14 2 4 0884.0 162040 Accepted 100
15 2 4 0788.0 216380 Accepted 100
16 2 4 2300.0 325716 Time Limit Exceeded 0
17 2 4 0744.0 213992 Accepted 100
18 2 4 0944.0 274944 Accepted 100
19 2 4 1120.0 305516 Accepted 100
20 3 4 1320.0 264040 Accepted 100
21 3 4 0748.0 179916 Accepted 100
22 3 4 1464.0 388488 Accepted 100
23 3 4 1252.0 347528 Accepted 100
24 3 4 1408.0 336448 Accepted 100
25 3 4 0696.0 151500 Accepted 100
26 3 4 1068.0 286668 Accepted 100
27 3 4 1076.0 285392 Accepted 100
28 3 4 1364.0 386212 Accepted 100
29 3 4 1144.0 290380 Accepted 100
30 4 1040.0 200100 Accepted 100
31 4 1380.0 376100 Accepted 100
32 4 1376.0 351028 Accepted 100
33 4 0988.0 192532 Accepted 100
34 4 1160.0 306048 Accepted 100
35 4 0916.0 224100 Accepted 100
36 4 1880.0 357544 Accepted 100
37 4 1300.0 373176 Accepted 100
38 4 1704.0 317464 Accepted 100
39 4 1356.0 230312 Accepted 100
40 4 1008.0 275116 Accepted 100
41 4 1072.0 302812 Accepted 100
42 4 0688.0 201300 Accepted 100
43 4 0868.0 227432 Accepted 100
44 4 0836.0 231420 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.13 KB
Back to Top