Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40958
391116
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.1 387484 14340 Accepted 100
1 1 4 0033.0 387484 15404 Accepted 100
2 1 4 0075.9 387484 15228 Accepted 100
3 1 4 0109.4 387484 15628 Accepted 100
4 1 4 0080.2 387484 15132 Accepted 100
5 1 4 0114.6 387484 17508 Accepted 100
6 1 4 0065.7 387484 14540 Accepted 100
7 1 4 0079.0 387484 16536 Accepted 100
8 1 4 0131.0 387484 17580 Accepted 100
9 1 4 0017.0 387484 14152 Accepted 100
10 2 4 1708.2 389464 299736 Accepted 100
11 2 4 1340.0 390084 382696 Accepted 100
12 2 4 2130.5 389992 377300 Time Limit Exceeded 0
13 2 4 0851.2 388792 217568 Accepted 100
14 2 4 0835.8 388672 183068 Accepted 100
15 2 4 0912.9 388924 240420 Accepted 100
16 2 4 1898.3 389728 335544 Accepted 100
17 2 4 0870.8 389080 237988 Accepted 100
18 2 4 0975.8 390084 284220 Accepted 100
19 2 4 1139.6 390084 314776 Accepted 100
20 3 4 0928.4 391584 274336 Accepted 100
21 3 4 0813.3 390316 202028 Accepted 100
22 3 4 1297.7 393636 391088 Accepted 100
23 3 4 1128.6 392956 357448 Accepted 100
24 3 4 1283.7 392716 346536 Accepted 100
25 3 4 0658.2 389888 171912 Accepted 100
26 3 4 1013.1 391948 296816 Accepted 100
27 3 4 0958.9 391932 295572 Accepted 100
28 3 4 1218.8 393484 391116 Accepted 100
29 3 4 1040.3 391988 300592 Accepted 100
30 4 0997.2 388936 223716 Accepted 100
31 4 1350.9 390056 385968 Accepted 100
32 4 1343.3 390084 360540 Accepted 100
33 4 0973.5 388804 215308 Accepted 100
34 4 1132.2 389596 316092 Accepted 100
35 4 0892.5 388924 248888 Accepted 100
36 4 1776.0 389860 367344 Accepted 100
37 4 1297.4 390084 382444 Accepted 100
38 4 1594.0 389700 327432 Accepted 100
39 4 1297.2 389244 255736 Accepted 100
40 4 0973.9 390084 284544 Accepted 100
41 4 1057.1 390084 312220 Accepted 100
42 4 0782.5 388972 224828 Accepted 100
43 4 0917.8 389104 252700 Accepted 100
44 4 0847.5 388924 256224 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.46 KB
Back to Top