Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40712
391180
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.2 387488 14280 Accepted 100
1 1 4 0033.2 387488 15344 Accepted 100
2 1 4 0077.9 387488 15232 Accepted 100
3 1 4 0111.4 387488 15600 Accepted 100
4 1 4 0081.6 387488 15156 Accepted 100
5 1 4 0128.0 387488 17328 Accepted 100
6 1 4 0065.0 387488 14532 Accepted 100
7 1 4 0080.5 387488 16712 Accepted 100
8 1 4 0133.6 387488 17504 Accepted 100
9 1 4 0017.2 387488 14368 Accepted 100
10 2 4 1737.6 389468 299716 Accepted 100
11 2 4 1341.1 390088 382572 Accepted 100
12 2 4 2128.6 389996 377304 Time Limit Exceeded 0
13 2 4 0847.0 388796 217568 Accepted 100
14 2 4 0865.0 388676 183212 Accepted 100
15 2 4 0922.0 388928 240408 Accepted 100
16 2 4 1959.3 389732 335432 Accepted 100
17 2 4 0864.2 389084 237992 Accepted 100
18 2 4 0962.7 390088 284092 Accepted 100
19 2 4 1119.0 390088 314764 Accepted 100
20 3 4 0904.6 391588 274304 Accepted 100
21 3 4 0791.8 390328 201968 Accepted 100
22 3 4 1246.3 393640 390948 Accepted 100
23 3 4 1092.1 392964 357608 Accepted 100
24 3 4 1275.4 392720 346656 Accepted 100
25 3 4 0651.2 389892 171752 Accepted 100
26 3 4 1014.2 391948 296816 Accepted 100
27 3 4 0945.7 391940 295484 Accepted 100
28 3 4 1191.8 393484 391180 Accepted 100
29 3 4 1019.8 391988 300756 Accepted 100
30 4 0991.4 388944 223724 Accepted 100
31 4 1337.7 390060 385868 Accepted 100
32 4 1318.5 390088 360488 Accepted 100
33 4 0974.8 388808 215468 Accepted 100
34 4 1114.3 389600 316052 Accepted 100
35 4 0879.8 388928 248916 Accepted 100
36 4 1693.4 389864 367340 Accepted 100
37 4 1293.5 390088 382400 Accepted 100
38 4 1587.3 389704 327332 Accepted 100
39 4 1317.8 389248 255512 Accepted 100
40 4 0980.4 390088 284528 Accepted 100
41 4 1051.2 390088 312132 Accepted 100
42 4 0788.2 388976 224820 Accepted 100
43 4 0917.8 389108 252688 Accepted 100
44 4 0842.4 388928 256276 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.61 KB
Back to Top