Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5047
16892
Wrong Answer
38

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$ 11 / 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 0002.6 6220 3600 Accepted 100
1 2 3 6 0002.6 6220 3792 Wrong Answer 0
2 2 3 6 0002.9 6220 3628 Accepted 100
3 2 3 6 0002.7 6220 3672 Accepted 100
4 2 3 4 6 0002.7 6220 3732 Accepted 100
5 2 3 6 0002.5 6220 3660 Wrong Answer 0
6 2 3 6 0002.5 6220 3680 Wrong Answer 0
7 2 3 6 0002.5 6220 3620 Wrong Answer 0
8 2 3 6 0002.8 6220 3808 Accepted 100
9 2 3 6 0002.6 6220 3628 Wrong Answer 0
10 2 3 6 0002.5 6220 3584 Wrong Answer 0
11 3 6 0003.6 6352 3860 Wrong Answer 0
12 3 4 6 0003.5 6352 3860 Accepted 100
13 3 6 0003.4 6352 3952 Wrong Answer 0
14 3 6 0003.0 6352 3656 Wrong Answer 0
15 3 6 0003.9 6352 3816 Wrong Answer 0
16 3 6 0003.3 6352 3892 Wrong Answer 0
17 3 6 0003.7 6352 3880 Wrong Answer 0
18 3 6 0004.1 6352 3856 Accepted 100
19 3 6 0003.0 6220 3708 Accepted 100
20 3 4 6 0003.6 6352 3612 Accepted 100
21 4 6 0074.9 17080 14124 Accepted 100
22 4 6 0039.3 12656 9588 Accepted 100
23 4 6 0054.1 15180 12276 Accepted 100
24 4 6 0053.7 12884 9852 Accepted 100
25 4 6 0050.1 14336 11380 Accepted 100
26 4 6 0043.4 13188 10440 Accepted 100
27 4 6 0057.8 15720 12660 Accepted 100
28 4 6 0035.9 11988 9116 Accepted 100
29 4 6 0048.6 13332 10460 Accepted 100
30 4 6 0059.1 14392 11352 Accepted 100
31 5 6 0075.4 16628 13356 Accepted 100
32 5 6 0051.9 13220 10184 Accepted 100
33 5 6 0072.9 13056 10168 Accepted 100
34 5 6 0058.0 12364 9652 Accepted 100
35 5 6 0091.0 14832 12016 Accepted 100
36 5 6 0140.0 17904 14928 Accepted 100
37 4 5 6 0092.9 15424 12452 Accepted 100
38 4 5 6 0091.6 15668 12732 Accepted 100
39 5 6 0090.0 18356 15044 Accepted 100
40 5 6 0062.1 15632 12164 Accepted 100
41 5 6 0079.2 14028 11096 Accepted 100
42 5 6 0125.8 16936 14048 Accepted 100
43 5 6 0074.4 13836 10888 Accepted 100
44 5 6 0080.6 14032 11180 Accepted 100
45 5 6 0083.1 15764 13064 Accepted 100
46 4 5 6 0124.3 17372 14372 Accepted 100
47 5 6 0071.4 16192 12936 Accepted 100
48 5 6 0050.2 13632 10452 Accepted 100
49 5 6 0124.3 17208 14352 Accepted 100
50 5 6 0117.8 16252 13220 Accepted 100
51 6 0115.5 16492 13508 Accepted 100
52 6 0125.4 18240 15192 Wrong Answer 0
53 6 0096.2 19100 16112 Wrong Answer 0
54 4 6 0104.0 16032 12948 Accepted 100
55 6 0042.5 12604 9592 Accepted 100
56 6 0063.8 15512 12172 Wrong Answer 0
57 6 0098.9 15368 12136 Wrong Answer 0
58 6 0076.7 13728 10964 Wrong Answer 0
59 6 0127.6 17492 14628 Wrong Answer 0
60 6 0076.6 14504 11712 Wrong Answer 0
61 4 6 0113.2 17012 13988 Accepted 100
62 4 6 0066.4 13344 10424 Accepted 100
63 6 0097.2 18748 15556 Accepted 100
64 6 0096.0 18500 15200 Wrong Answer 0
65 6 0138.8 17852 14916 Wrong Answer 0
66 6 0083.9 13764 10900 Wrong Answer 0
67 6 0081.3 14080 11148 Wrong Answer 0
68 6 0080.4 14220 11180 Wrong Answer 0
69 6 0068.1 15164 12280 Wrong Answer 0
70 4 6 0053.9 12308 9484 Accepted 100
71 3 5 6 0002.7 6220 3696 Accepted 100
72 5 6 0070.5 15344 11888 Accepted 100
73 4 6 0122.4 19716 16892 Accepted 100
74 4 6 0117.3 19716 16840 Accepted 100
75 4 6 0117.7 19716 16836 Accepted 100
76 6 0157.8 18940 15908 Wrong Answer 0
77 6 0159.9 18940 15968 Wrong Answer 0
78 6 0154.4 18940 15988 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
2.86 KB
Back to Top