Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8448
50004
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 0~10 $N,Q \leq 500$ 19 / 19
3 0~20, 71 $N,Q\leq 3000$ 20 / 20
4 4, 12, 20~30, 37~38, 46, 54, 61~62, 70, 73~75 $|u_i-v_i|=1$ 11 / 11
5 0, 31~50, 71~72 $a_i,b_i$ 是一條邊的兩端 27 / 27
6 0~78 無其他限制 23 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0014.6 19688 12956 Accepted 100
1 2 3 6 0014.8 19688 13008 Accepted 100
2 2 3 6 0015.0 19688 13032 Accepted 100
3 2 3 6 0014.8 19688 13028 Accepted 100
4 2 3 4 6 0014.7 19688 13048 Accepted 100
5 2 3 6 0014.5 19688 12844 Accepted 100
6 2 3 6 0014.6 19688 13056 Accepted 100
7 2 3 6 0014.4 19688 12980 Accepted 100
8 2 3 6 0014.7 19688 13060 Accepted 100
9 2 3 6 0014.7 19688 13064 Accepted 100
10 2 3 6 0014.4 19688 12996 Accepted 100
11 3 6 0016.0 19836 13272 Accepted 100
12 3 4 6 0016.0 19964 13480 Accepted 100
13 3 6 0015.5 19820 13220 Accepted 100
14 3 6 0015.7 19820 13228 Accepted 100
15 3 6 0016.3 19820 13216 Accepted 100
16 3 6 0015.5 19688 13108 Accepted 100
17 3 6 0015.8 19820 13216 Accepted 100
18 3 6 0016.7 20020 13668 Accepted 100
19 3 6 0015.3 19688 13212 Accepted 100
20 3 4 6 0016.0 20016 13508 Accepted 100
21 4 6 0128.4 48124 45100 Accepted 100
22 4 6 0069.8 35996 31768 Accepted 100
23 4 6 0093.3 42332 39140 Accepted 100
24 4 6 0092.2 37544 32892 Accepted 100
25 4 6 0086.0 40496 37088 Accepted 100
26 4 6 0075.6 37544 33712 Accepted 100
27 4 6 0098.4 44036 41096 Accepted 100
28 4 6 0064.5 34364 29832 Accepted 100
29 4 6 0085.5 38324 34160 Accepted 100
30 4 6 0103.1 41236 37128 Accepted 100
31 5 6 0115.1 30252 24996 Accepted 100
32 5 6 0081.3 26484 20848 Accepted 100
33 5 6 0108.1 25984 20656 Accepted 100
34 5 6 0096.4 25480 19884 Accepted 100
35 5 6 0136.8 28144 23304 Accepted 100
36 5 6 0204.9 30600 26220 Accepted 100
37 4 5 6 0163.3 45296 41192 Accepted 100
38 4 5 6 0167.5 45944 41896 Accepted 100
39 5 6 0144.7 31632 26832 Accepted 100
40 5 6 0101.1 29456 23676 Accepted 100
41 5 6 0123.2 26776 21588 Accepted 100
42 5 6 0185.5 29868 25192 Accepted 100
43 5 6 0115.4 26564 21660 Accepted 100
44 5 6 0120.4 26808 21664 Accepted 100
45 5 6 0125.3 33032 28036 Accepted 100
46 4 5 6 0199.4 50400 47184 Accepted 100
47 5 6 0112.3 29980 24464 Accepted 100
48 5 6 0080.6 26728 21376 Accepted 100
49 5 6 0192.2 30104 25512 Accepted 100
50 5 6 0176.4 29360 24416 Accepted 100
51 6 0173.2 28748 24424 Accepted 100
52 6 0193.9 30096 25720 Accepted 100
53 6 0163.4 38536 34228 Accepted 100
54 4 6 0176.5 46248 42428 Accepted 100
55 6 0075.8 25508 19796 Accepted 100
56 6 0107.0 28776 23148 Accepted 100
57 6 0156.9 27920 22820 Accepted 100
58 6 0125.2 26772 21276 Accepted 100
59 6 0191.7 29504 25372 Accepted 100
60 6 0127.1 27412 21944 Accepted 100
61 4 6 0202.3 48796 45172 Accepted 100
62 4 6 0124.6 38740 34232 Accepted 100
63 6 0152.8 31128 26480 Accepted 100
64 6 0149.2 30948 26188 Accepted 100
65 6 0211.9 29796 25440 Accepted 100
66 6 0128.5 26840 21236 Accepted 100
67 6 0125.1 27028 22016 Accepted 100
68 6 0131.1 27144 21800 Accepted 100
69 6 0113.6 32496 27304 Accepted 100
70 4 6 0103.0 35836 31008 Accepted 100
71 3 5 6 0014.6 19688 13036 Accepted 100
72 5 6 0129.0 25632 20228 Accepted 100
73 4 6 0205.6 53584 49884 Accepted 100
74 4 6 0204.7 53448 49736 Accepted 100
75 4 6 0205.3 53476 50004 Accepted 100
76 6 0270.4 31460 26948 Accepted 100
77 6 0263.8 31416 26916 Accepted 100
78 6 0254.8 31440 26744 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.12 KB
Back to Top