Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40808
388632
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 0014.6 385744 12340 Accepted 100
1 1 4 0032.9 385744 13656 Accepted 100
2 1 4 0070.3 385744 13544 Accepted 100
3 1 4 0103.0 385744 13840 Accepted 100
4 1 4 0073.9 385744 13420 Accepted 100
5 1 4 0109.1 385744 15712 Accepted 100
6 1 4 0061.9 385744 12728 Accepted 100
7 1 4 0089.0 385744 14964 Accepted 100
8 1 4 0122.7 385744 15848 Accepted 100
9 1 4 0016.8 385744 12488 Accepted 100
10 2 4 2144.6 387856 297864 Time Limit Exceeded 0
11 2 4 1179.1 388728 380936 Accepted 100
12 2 4 2123.8 388516 221760 Time Limit Exceeded 0
13 2 4 0760.0 387240 215860 Accepted 100
14 2 4 1095.4 386932 181484 Accepted 100
15 2 4 0820.5 387312 238928 Accepted 100
16 2 4 2127.1 388120 333112 Time Limit Exceeded 0
17 2 4 0838.9 387472 236404 Accepted 100
18 2 4 0844.5 388728 282608 Accepted 100
19 2 4 1016.6 388728 313328 Accepted 100
20 3 4 0853.8 389316 272004 Accepted 100
21 3 4 0788.4 388196 199948 Accepted 100
22 3 4 1184.4 391116 388632 Accepted 100
23 3 4 1037.3 390524 354992 Accepted 100
24 3 4 1239.9 390300 344100 Accepted 100
25 3 4 0631.6 387824 169764 Accepted 100
26 3 4 0960.7 389632 294556 Accepted 100
27 3 4 0874.4 389620 293324 Accepted 100
28 3 4 1151.7 390968 388452 Accepted 100
29 3 4 0974.8 389664 298160 Accepted 100
30 4 1192.5 387328 222044 Accepted 100
31 4 1250.5 388672 384500 Accepted 100
32 4 1180.4 388728 358916 Accepted 100
33 4 1111.6 387196 213788 Accepted 100
34 4 1075.1 388124 314492 Accepted 100
35 4 0793.6 387312 247184 Accepted 100
36 4 2046.8 388384 365868 Time Limit Exceeded 0
37 4 1139.4 388728 380972 Accepted 100
38 4 1893.0 388176 325844 Accepted 100
39 4 1541.2 387604 254052 Accepted 100
40 4 0887.2 388728 282796 Accepted 100
41 4 0951.5 388728 310520 Accepted 100
42 4 0768.4 387376 223288 Accepted 100
43 4 0887.2 387524 251024 Accepted 100
44 4 0748.4 387312 254572 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.37 KB
Back to Top