Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32053
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.5 388872 12584 Accepted 100
1 1 4 0033.7 388872 13628 Accepted 100
2 1 4 0075.3 388872 13436 Accepted 100
3 1 4 0111.7 388872 13808 Accepted 100
4 1 4 0079.0 388872 13412 Accepted 100
5 1 4 0114.2 388872 15716 Accepted 100
6 1 4 0066.8 388872 12780 Accepted 100
7 1 4 0079.7 388872 14900 Accepted 100
8 1 4 0137.4 388872 15764 Accepted 100
9 1 4 0016.4 388872 12364 Accepted 100
10 2 4 0144.4 390984 11896 Wrong Answer 0
11 2 4 0078.4 391856 13256 Wrong Answer 0
12 2 4 0105.8 391644 13868 Wrong Answer 0
13 2 4 0126.3 390368 9168 Wrong Answer 0
14 2 4 0052.5 390060 9064 Wrong Answer 0
15 2 4 0114.1 390440 9840 Wrong Answer 0
16 2 4 0176.1 391248 12784 Wrong Answer 0
17 2 4 0065.6 390600 10396 Wrong Answer 0
18 2 4 0049.8 391856 10852 Accepted 100
19 2 4 0093.9 391856 11756 Wrong Answer 0
20 3 4 0991.1 392440 271960 Accepted 100
21 3 4 0884.9 391328 199824 Accepted 100
22 3 4 1378.7 394248 388632 Accepted 100
23 3 4 1226.0 393648 355140 Accepted 100
24 3 4 1428.3 393424 344100 Accepted 100
25 3 4 0729.5 390952 169592 Accepted 100
26 3 4 1112.8 392756 294556 Accepted 100
27 3 4 1044.0 392748 293356 Accepted 100
28 3 4 1335.0 394096 388544 Accepted 100
29 3 4 1163.1 392788 298372 Accepted 100
30 4 1176.9 390456 222116 Accepted 100
31 4 1426.5 391800 384500 Accepted 100
32 4 1422.4 391856 358816 Accepted 100
33 4 1172.3 390324 213800 Accepted 100
34 4 1210.4 391252 314552 Accepted 100
35 4 0941.7 390440 247120 Accepted 100
36 4 2013.2 391512 365744 Time Limit Exceeded 0
37 4 1359.7 391856 380980 Accepted 100
38 4 1853.8 391308 325828 Accepted 100
39 4 1553.6 390732 254048 Accepted 100
40 4 1032.8 391856 282872 Accepted 100
41 4 1112.6 391856 310524 Accepted 100
42 4 0866.7 390504 223232 Accepted 100
43 4 0988.6 390652 251020 Accepted 100
44 4 0892.8 390440 254588 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.6 KB
Back to Top