Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7305
34092
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.0 18708 13012 Accepted 100
1 2 3 6 0014.2 18708 13028 Accepted 100
2 2 3 6 0013.9 18708 12984 Accepted 100
3 2 3 6 0013.2 18708 12988 Accepted 100
4 2 3 4 6 0013.8 18708 12992 Accepted 100
5 2 3 6 0013.9 18708 12864 Accepted 100
6 2 3 6 0013.6 18708 13044 Accepted 100
7 2 3 6 0013.6 18708 12816 Accepted 100
8 2 3 6 0013.8 18708 13036 Accepted 100
9 2 3 6 0013.9 18708 13108 Accepted 100
10 2 3 6 0013.6 18708 13104 Accepted 100
11 3 6 0014.7 18840 13156 Accepted 100
12 3 4 6 0014.9 18840 13268 Accepted 100
13 3 6 0014.6 18840 13112 Accepted 100
14 3 6 0014.4 18708 13088 Accepted 100
15 3 6 0015.4 18840 13132 Accepted 100
16 3 6 0014.4 18708 13064 Accepted 100
17 3 6 0015.0 18840 13092 Accepted 100
18 3 6 0015.5 18852 13256 Accepted 100
19 3 6 0014.6 18708 12876 Accepted 100
20 3 4 6 0015.0 18852 13256 Accepted 100
21 4 6 0099.4 34572 31216 Accepted 100
22 4 6 0061.2 27604 23496 Accepted 100
23 4 6 0076.9 31208 27548 Accepted 100
24 4 6 0073.0 28840 24572 Accepted 100
25 4 6 0072.2 30192 26392 Accepted 100
26 4 6 0064.0 28556 24556 Accepted 100
27 4 6 0083.7 32168 28492 Accepted 100
28 4 6 0054.3 26812 22416 Accepted 100
29 4 6 0069.7 29144 24884 Accepted 100
30 4 6 0080.6 30788 26720 Accepted 100
31 5 6 0109.5 27788 22508 Accepted 100
32 5 6 0072.7 24900 19456 Accepted 100
33 5 6 0106.0 24252 19472 Accepted 100
34 5 6 0092.9 23724 18704 Accepted 100
35 5 6 0122.2 25572 21144 Accepted 100
36 5 6 0195.0 28080 23936 Accepted 100
37 4 5 6 0139.6 33380 29668 Accepted 100
38 4 5 6 0146.6 33704 30060 Accepted 100
39 5 6 0132.0 29372 24504 Accepted 100
40 5 6 0096.5 26996 21376 Accepted 100
41 5 6 0118.2 25044 20184 Accepted 100
42 5 6 0178.0 27420 23008 Accepted 100
43 5 6 0105.6 24780 20044 Accepted 100
44 5 6 0115.5 25176 20540 Accepted 100
45 5 6 0105.8 27116 22792 Accepted 100
46 4 5 6 0167.7 36364 33112 Accepted 100
47 5 6 0102.4 27524 22224 Accepted 100
48 5 6 0077.4 25164 19752 Accepted 100
49 5 6 0183.0 27684 23400 Accepted 100
50 5 6 0165.5 26892 22456 Accepted 100
51 6 0143.4 26100 21924 Accepted 100
52 6 0174.6 27816 23668 Accepted 100
53 6 0128.9 29916 26008 Accepted 100
54 4 6 0149.5 33636 30052 Accepted 100
55 6 0063.0 23844 18392 Accepted 100
56 6 0087.8 26216 20760 Accepted 100
57 6 0134.2 25440 20888 Accepted 100
58 6 0107.5 24252 19372 Accepted 100
59 6 0162.9 26892 22832 Accepted 100
60 6 0110.1 25044 20376 Accepted 100
61 4 6 0161.6 35088 31708 Accepted 100
62 4 6 0102.9 29496 25404 Accepted 100
63 6 0128.1 28844 23812 Accepted 100
64 6 0124.9 28712 23720 Accepted 100
65 6 0187.1 27288 23124 Accepted 100
66 6 0108.8 24384 19676 Accepted 100
67 6 0106.5 24384 19844 Accepted 100
68 6 0119.8 24648 20020 Accepted 100
69 6 0092.9 26212 21856 Accepted 100
70 4 6 0083.8 27808 23444 Accepted 100
71 3 5 6 0013.8 18708 13052 Accepted 100
72 5 6 0105.0 23064 18968 Accepted 100
73 4 6 0162.8 36932 34092 Accepted 100
74 4 6 0156.2 36800 33956 Accepted 100
75 4 6 0158.9 36800 33968 Accepted 100
76 6 0225.5 26368 23012 Accepted 100
77 6 0225.5 26368 22840 Accepted 100
78 6 0212.2 26368 23004 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.18 KB
Back to Top