Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12724
68296
Wrong Answer
27

Subtask Results

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

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0008.2 51548 7828 Accepted 100
1 2 3 6 0008.6 51548 7808 Wrong Answer 0
2 2 3 6 0008.8 51548 7864 Accepted 100
3 2 3 6 0008.7 51548 7808 Accepted 100
4 2 3 4 6 0008.4 51548 7760 Accepted 100
5 2 3 6 0008.3 51548 7868 Accepted 100
6 2 3 6 0008.3 51548 7864 Accepted 100
7 2 3 6 0008.4 51548 7832 Accepted 100
8 2 3 6 0008.7 51548 7748 Accepted 100
9 2 3 6 0008.4 51548 7820 Wrong Answer 0
10 2 3 6 0008.5 51548 7764 Accepted 100
11 3 6 0010.1 51680 8416 Wrong Answer 0
12 3 4 6 0010.6 51576 8420 Accepted 100
13 3 6 0010.0 51696 8444 Accepted 100
14 3 6 0009.5 51548 8248 Accepted 100
15 3 6 0010.5 51680 8460 Accepted 100
16 3 6 0009.6 51548 8120 Accepted 100
17 3 6 0009.9 51680 8484 Wrong Answer 0
18 3 6 0011.4 51744 8968 Accepted 100
19 3 6 0009.6 51548 8124 Accepted 100
20 3 4 6 0010.8 51608 8676 Wrong Answer 0
21 4 6 0231.5 69364 64896 Accepted 100
22 4 6 0123.1 62268 42516 Wrong Answer 0
23 4 6 0159.7 66588 56028 Accepted 100
24 4 6 0145.3 62152 41888 Wrong Answer 0
25 4 6 0145.1 65368 52328 Wrong Answer 0
26 4 6 0121.7 63396 45900 Accepted 100
27 4 6 0175.3 67724 59604 Wrong Answer 0
28 4 6 0111.7 61288 39044 Wrong Answer 0
29 4 6 0138.3 63296 45380 Wrong Answer 0
30 4 6 0168.3 64656 50052 Wrong Answer 0
31 5 6 0191.5 58736 46316 Accepted 100
32 5 6 0127.3 56024 34752 Accepted 100
33 5 6 0164.2 55772 35348 Accepted 100
34 5 6 0139.9 55376 33000 Accepted 100
35 5 6 0206.4 56828 42828 Accepted 100
36 5 6 0328.8 58808 54708 Accepted 100
37 4 5 6 0233.4 66176 54688 Accepted 100
38 4 5 6 0248.2 66572 55936 Accepted 100
39 5 6 0238.3 59424 53484 Accepted 100
40 5 6 0168.9 58736 42300 Accepted 100
41 5 6 0187.2 56432 39284 Accepted 100
42 5 6 0299.1 58280 50856 Accepted 100
43 5 6 0184.2 56168 38768 Accepted 100
44 5 6 0197.6 56564 39504 Accepted 100
45 5 6 0185.0 59456 42568 Accepted 100
46 4 5 6 0297.2 69272 64412 Accepted 100
47 5 6 0191.0 58736 45008 Accepted 100
48 5 6 0123.8 56156 36020 Accepted 100
49 5 6 0316.4 58412 52160 Accepted 100
50 5 6 0267.5 57884 48640 Accepted 100
51 6 0279.8 57884 50052 Accepted 100
52 6 0295.9 59336 55648 Accepted 100
53 6 0264.4 63588 51748 Accepted 100
54 4 6 0297.4 67272 58056 Wrong Answer 0
55 6 0105.3 55628 32060 Accepted 100
56 6 0168.0 58736 42200 Accepted 100
57 6 0241.0 57356 44816 Accepted 100
58 6 0192.8 56300 38584 Wrong Answer 0
59 6 0299.8 58544 54296 Accepted 100
60 6 0192.7 56960 41088 Wrong Answer 0
61 4 6 0321.4 68856 63160 Wrong Answer 0
62 4 6 0203.3 62932 44328 Wrong Answer 0
63 6 0258.2 59688 55776 Accepted 100
64 6 0241.7 59556 54700 Accepted 100
65 6 0324.6 58940 55336 Accepted 100
66 6 0195.9 56300 38748 Accepted 100
67 6 0193.3 56432 40304 Accepted 100
68 6 0192.5 56564 40652 Accepted 100
69 6 0177.3 59316 39604 Accepted 100
70 4 6 0154.5 61080 38836 Wrong Answer 0
71 3 5 6 0008.6 51548 7760 Accepted 100
72 5 6 0169.2 59704 42356 Accepted 100
73 4 6 0300.7 71748 68156 Accepted 100
74 4 6 0301.8 71748 68296 Accepted 100
75 4 6 0304.1 71752 68272 Accepted 100
76 6 0337.2 62132 58080 Accepted 100
77 6 0352.2 62132 58104 Accepted 100
78 6 0338.8 62132 57924 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.89 KB
Back to Top