Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14660
43884
Wrong Answer
0

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$ 是一條邊的兩端 0 / 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 0002.6 6052 3584 Accepted 100
1 2 3 6 0002.7 6184 3616 Wrong Answer 0
2 2 3 6 0002.9 6184 3752 Wrong Answer 0
3 2 3 6 0002.8 6184 3816 Wrong Answer 0
4 2 3 4 6 0002.8 6184 3840 Wrong Answer 0
5 2 3 6 0002.6 6184 3624 Wrong Answer 0
6 2 3 6 0002.7 6184 3544 Wrong Answer 0
7 2 3 6 0002.6 6184 3628 Wrong Answer 0
8 2 3 6 0003.0 6184 3668 Wrong Answer 0
9 2 3 6 0002.8 6184 3712 Wrong Answer 0
10 2 3 6 0002.6 6184 3660 Wrong Answer 0
11 3 6 0005.1 6408 4040 Wrong Answer 0
12 3 4 6 0005.1 6400 3932 Wrong Answer 0
13 3 6 0005.3 6456 4032 Wrong Answer 0
14 3 6 0004.2 6372 3920 Wrong Answer 0
15 3 6 0005.2 6408 4064 Wrong Answer 0
16 3 6 0004.2 6372 3896 Wrong Answer 0
17 3 6 0005.1 6452 3848 Wrong Answer 0
18 3 6 0006.4 6520 4124 Wrong Answer 0
19 3 6 0004.0 6360 3832 Wrong Answer 0
20 3 4 6 0005.4 6488 4120 Wrong Answer 0
21 4 6 0210.2 43080 40180 Wrong Answer 0
22 4 6 0118.0 29568 26748 Wrong Answer 0
23 4 6 0164.4 38920 36316 Wrong Answer 0
24 4 6 0123.7 28024 25236 Wrong Answer 0
25 4 6 0148.2 36188 33784 Wrong Answer 0
26 4 6 0126.2 31936 29092 Wrong Answer 0
27 4 6 0176.5 41320 38644 Wrong Answer 0
28 4 6 0104.8 27280 24704 Wrong Answer 0
29 4 6 0140.3 30252 27616 Wrong Answer 0
30 4 6 0163.9 32160 29484 Wrong Answer 0
31 5 6 0300.0 35952 33072 Wrong Answer 0
32 5 6 0198.4 26992 24284 Wrong Answer 0
33 5 6 0201.0 22260 19432 Wrong Answer 0
34 5 6 0168.1 20696 17828 Wrong Answer 0
35 5 6 0270.2 26624 23912 Wrong Answer 0
36 5 6 0379.2 33532 30772 Wrong Answer 0
37 4 5 6 0288.9 34108 31600 Wrong Answer 0
38 4 5 6 0297.0 34860 32464 Wrong Answer 0
39 5 6 0381.0 41424 38668 Wrong Answer 0
40 5 6 0271.1 32780 29992 Wrong Answer 0
41 5 6 0244.8 24472 21720 Wrong Answer 0
42 5 6 0348.5 31364 28580 Wrong Answer 0
43 5 6 0230.4 24232 21644 Wrong Answer 0
44 5 6 0223.0 24480 21824 Wrong Answer 0
45 5 6 0233.5 26340 23684 Wrong Answer 0
46 4 5 6 0355.6 40048 37408 Wrong Answer 0
47 5 6 0289.6 34884 32100 Wrong Answer 0
48 5 6 0211.6 28028 25340 Wrong Answer 0
49 5 6 0337.1 32000 29196 Wrong Answer 0
50 5 6 0313.8 29808 27012 Wrong Answer 0
51 6 0319.8 30952 28168 Wrong Answer 0
52 6 0379.2 33780 30932 Wrong Answer 0
53 6 0278.0 31820 29228 Wrong Answer 0
54 4 6 0305.6 36112 33424 Wrong Answer 0
55 6 0141.5 20276 17580 Wrong Answer 0
56 6 0244.1 26032 23020 Wrong Answer 0
57 6 0280.4 27648 24876 Wrong Answer 0
58 6 0226.9 24036 21204 Wrong Answer 0
59 6 0355.1 33360 30532 Wrong Answer 0
60 6 0246.9 25264 22500 Wrong Answer 0
61 4 6 0333.4 39120 36612 Wrong Answer 0
62 4 6 0209.4 27976 25128 Wrong Answer 0
63 6 0323.9 33928 30932 Wrong Answer 0
64 6 0376.5 33332 30544 Wrong Answer 0
65 6 0367.7 33924 30936 Wrong Answer 0
66 6 0227.6 24236 21564 Wrong Answer 0
67 6 0241.0 25216 22232 Wrong Answer 0
68 6 0210.7 25232 22380 Wrong Answer 0
69 6 0204.1 24736 22060 Wrong Answer 0
70 4 6 0176.1 24500 21716 Wrong Answer 0
71 3 5 6 0003.1 6184 3900 Accepted 100
72 5 6 0233.6 31388 28580 Accepted 100
73 4 6 0355.0 45968 43356 Wrong Answer 0
74 4 6 0203.2 46420 43708 Wrong Answer 0
75 4 6 0340.3 46540 43884 Wrong Answer 0
76 6 0316.6 34172 31408 Wrong Answer 0
77 6 0325.1 34172 31340 Wrong Answer 0
78 6 0336.2 34172 31236 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
724 Bytes
Back to Top