Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33763
388640
Time Limit Exceeded
84

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$。 31 / 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.9 388872 12516 Accepted 100
1 1 4 0035.1 388872 13552 Accepted 100
2 1 4 0078.1 388872 13540 Accepted 100
3 1 4 0112.6 388872 13876 Accepted 100
4 1 4 0080.7 388872 13536 Accepted 100
5 1 4 0118.6 388872 15680 Accepted 100
6 1 4 0066.6 388872 12884 Accepted 100
7 1 4 0084.0 388872 15000 Accepted 100
8 1 4 0136.8 388872 15788 Accepted 100
9 1 4 0017.0 388872 12560 Accepted 100
10 2 4 0143.2 390984 11888 Accepted 100
11 2 4 0077.3 391856 13164 Accepted 100
12 2 4 0103.7 391644 13868 Accepted 100
13 2 4 0124.5 390368 9340 Accepted 100
14 2 4 0052.3 390060 9028 Accepted 100
15 2 4 0120.8 390440 9808 Accepted 100
16 2 4 0186.9 391248 12764 Accepted 100
17 2 4 0071.9 390600 10428 Accepted 100
18 2 4 0049.4 391856 10788 Accepted 100
19 2 4 0096.2 391856 11688 Accepted 100
20 3 4 1032.4 392444 272100 Accepted 100
21 3 4 0919.1 391328 199856 Accepted 100
22 3 4 1503.4 394248 388640 Accepted 100
23 3 4 1276.0 393648 355152 Accepted 100
24 3 4 1540.7 393428 343996 Accepted 100
25 3 4 0772.6 390952 169760 Accepted 100
26 3 4 1181.6 392764 294328 Accepted 100
27 3 4 1104.9 392748 293320 Accepted 100
28 3 4 1414.2 394092 388600 Accepted 100
29 3 4 1232.3 392796 298516 Accepted 100
30 4 1290.3 390488 222124 Accepted 100
31 4 1479.6 391800 384500 Accepted 100
32 4 1461.2 391856 358756 Accepted 100
33 4 1187.4 390324 213800 Accepted 100
34 4 1269.3 391252 314620 Accepted 100
35 4 0963.6 390440 247180 Accepted 100
36 4 2155.0 391512 365584 Time Limit Exceeded 0
37 4 1420.5 391856 380980 Accepted 100
38 4 2093.0 391316 325676 Time Limit Exceeded 0
39 4 1665.0 390760 254080 Accepted 100
40 4 1079.9 391856 282820 Accepted 100
41 4 1145.3 391856 310564 Accepted 100
42 4 0866.0 390504 223236 Accepted 100
43 4 1017.7 390652 250972 Accepted 100
44 4 0921.4 390440 254496 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.5 KB
Back to Top