Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7379
34156
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 0013.7 18708 13012 Accepted 100
1 2 3 6 0014.0 18708 13000 Accepted 100
2 2 3 6 0013.2 18708 12876 Accepted 100
3 2 3 6 0014.1 18708 12984 Accepted 100
4 2 3 4 6 0013.8 18708 12992 Accepted 100
5 2 3 6 0013.6 18708 12972 Accepted 100
6 2 3 6 0013.7 18708 12928 Accepted 100
7 2 3 6 0013.7 18708 12972 Accepted 100
8 2 3 6 0013.9 18708 13020 Accepted 100
9 2 3 6 0015.0 18708 13000 Accepted 100
10 2 3 6 0012.9 18708 12920 Accepted 100
11 3 6 0014.6 18840 12972 Accepted 100
12 3 4 6 0014.9 18840 13228 Accepted 100
13 3 6 0014.5 18840 13112 Accepted 100
14 3 6 0014.3 18708 13044 Accepted 100
15 3 6 0015.6 18840 13164 Accepted 100
16 3 6 0014.4 18708 13176 Accepted 100
17 3 6 0014.7 18840 13224 Accepted 100
18 3 6 0015.2 18856 13336 Accepted 100
19 3 6 0014.1 18708 13128 Accepted 100
20 3 4 6 0015.0 18852 13260 Accepted 100
21 4 6 0101.8 34580 31116 Accepted 100
22 4 6 0058.6 27604 23456 Accepted 100
23 4 6 0077.5 31208 27560 Accepted 100
24 4 6 0075.0 28836 24556 Accepted 100
25 4 6 0071.8 30196 26400 Accepted 100
26 4 6 0064.8 28552 24508 Accepted 100
27 4 6 0083.5 32168 28704 Accepted 100
28 4 6 0055.3 26812 22424 Accepted 100
29 4 6 0070.0 29140 24884 Accepted 100
30 4 6 0081.0 30784 26884 Accepted 100
31 5 6 0109.2 27128 21904 Accepted 100
32 5 6 0071.0 24372 19116 Accepted 100
33 5 6 0103.5 24120 19404 Accepted 100
34 5 6 0089.2 23592 18816 Accepted 100
35 5 6 0121.1 25572 21076 Accepted 100
36 5 6 0200.3 27948 23820 Accepted 100
37 4 5 6 0148.6 33376 29608 Accepted 100
38 4 5 6 0145.0 33704 30064 Accepted 100
39 5 6 0127.2 28580 23676 Accepted 100
40 5 6 0090.1 26336 21020 Accepted 100
41 5 6 0115.3 24912 20268 Accepted 100
42 5 6 0178.6 27288 23024 Accepted 100
43 5 6 0106.1 24780 20068 Accepted 100
44 5 6 0120.6 25044 20272 Accepted 100
45 5 6 0107.5 27116 22856 Accepted 100
46 4 5 6 0181.2 36360 33044 Accepted 100
47 5 6 0100.5 26864 21384 Accepted 100
48 5 6 0074.6 24636 19336 Accepted 100
49 5 6 0185.3 27552 23256 Accepted 100
50 5 6 0170.4 26760 22360 Accepted 100
51 6 0156.4 26100 21924 Accepted 100
52 6 0170.4 27552 23324 Accepted 100
53 6 0134.2 29912 25996 Accepted 100
54 4 6 0151.6 33636 29992 Accepted 100
55 6 0061.8 23448 18028 Accepted 100
56 6 0087.2 25676 20116 Accepted 100
57 6 0142.3 25308 20816 Accepted 100
58 6 0108.8 24120 19440 Accepted 100
59 6 0176.1 26892 22772 Accepted 100
60 6 0112.1 24780 20176 Accepted 100
61 4 6 0174.2 35088 31676 Accepted 100
62 4 6 0107.4 29488 25324 Accepted 100
63 6 0126.1 28052 23148 Accepted 100
64 6 0122.7 27920 22820 Accepted 100
65 6 0186.1 27156 23020 Accepted 100
66 6 0110.6 24252 19536 Accepted 100
67 6 0110.4 24384 19836 Accepted 100
68 6 0113.9 24516 19920 Accepted 100
69 6 0096.6 26220 21936 Accepted 100
70 4 6 0085.4 27804 23432 Accepted 100
71 3 5 6 0013.9 18708 12996 Accepted 100
72 5 6 0106.0 23064 18936 Accepted 100
73 4 6 0162.6 36932 34156 Accepted 100
74 4 6 0156.6 36800 33972 Accepted 100
75 4 6 0156.8 36804 34052 Accepted 100
76 6 0214.7 26368 22792 Accepted 100
77 6 0224.3 26236 22924 Accepted 100
78 6 0226.3 26368 22608 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.07 KB
Back to Top