Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5322
20168
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.1 11092 8312 Accepted 100
1 2 3 6 0008.4 11092 8220 Wrong Answer 0
2 2 3 6 0008.6 11092 8288 Accepted 100
3 2 3 6 0008.5 11092 8228 Accepted 100
4 2 3 4 6 0008.2 11092 8240 Wrong Answer 0
5 2 3 6 0007.9 11092 8072 Wrong Answer 0
6 2 3 6 0008.2 11092 8232 Wrong Answer 0
7 2 3 6 0008.2 11092 8228 Wrong Answer 0
8 2 3 6 0008.2 11092 8136 Wrong Answer 0
9 2 3 6 0008.2 11092 8240 Wrong Answer 0
10 2 3 6 0008.3 11092 8220 Wrong Answer 0
11 3 6 0009.0 11092 8324 Wrong Answer 0
12 3 4 6 0009.0 11092 8272 Wrong Answer 0
13 3 6 0008.8 11224 8368 Wrong Answer 0
14 3 6 0008.5 11092 8272 Wrong Answer 0
15 3 6 0009.1 11092 8360 Wrong Answer 0
16 3 6 0008.7 11092 8264 Wrong Answer 0
17 3 6 0009.1 11092 8312 Wrong Answer 0
18 3 6 0009.4 11092 8380 Wrong Answer 0
19 3 6 0008.9 11092 8276 Accepted 100
20 3 4 6 0009.1 11092 8436 Wrong Answer 0
21 4 6 0076.0 21440 18920 Wrong Answer 0
22 4 6 0045.1 16600 14136 Wrong Answer 0
23 4 6 0059.6 18540 15988 Wrong Answer 0
24 4 6 0054.6 17184 14616 Wrong Answer 0
25 4 6 0054.9 18860 16336 Wrong Answer 0
26 4 6 0049.6 17900 15292 Wrong Answer 0
27 4 6 0063.5 19696 17152 Wrong Answer 0
28 4 6 0040.6 15764 13036 Wrong Answer 0
29 4 6 0052.3 16876 14252 Wrong Answer 0
30 4 6 0060.7 18016 15528 Wrong Answer 0
31 5 6 0077.9 17004 13544 Accepted 100
32 5 6 0050.9 15040 11788 Accepted 100
33 5 6 0068.6 14788 12004 Accepted 100
34 5 6 0061.1 14392 11632 Accepted 100
35 5 6 0091.4 15712 12928 Accepted 100
36 5 6 0137.7 17296 14744 Accepted 100
37 4 5 6 0108.5 18548 15996 Accepted 100
38 4 5 6 0110.1 18752 16048 Accepted 100
39 5 6 0087.5 17928 14680 Accepted 100
40 5 6 0064.5 16728 13048 Accepted 100
41 5 6 0083.5 15316 12596 Accepted 100
42 5 6 0129.1 16900 14204 Accepted 100
43 5 6 0082.6 15184 12264 Accepted 100
44 5 6 0077.5 15316 12532 Accepted 100
45 5 6 0080.1 15956 13348 Accepted 100
46 4 5 6 0126.5 20160 17620 Accepted 100
47 5 6 0069.4 16872 13488 Accepted 100
48 5 6 0052.3 15172 12172 Accepted 100
49 5 6 0132.3 17032 14296 Accepted 100
50 5 6 0117.6 16504 13852 Accepted 100
51 6 0113.9 16636 14016 Accepted 100
52 6 0129.4 17692 15140 Wrong Answer 0
53 6 0098.5 17624 15012 Wrong Answer 0
54 4 6 0110.8 19136 16564 Wrong Answer 0
55 6 0044.0 14776 11464 Accepted 100
56 6 0064.9 16728 13104 Wrong Answer 0
57 6 0105.8 15976 13360 Wrong Answer 0
58 6 0087.8 15184 12504 Wrong Answer 0
59 6 0130.5 17164 14592 Wrong Answer 0
60 6 0080.1 15712 13012 Wrong Answer 0
61 4 6 0128.1 19952 17388 Wrong Answer 0
62 4 6 0076.6 16892 14072 Wrong Answer 0
63 6 0094.9 18324 15008 Accepted 100
64 6 0094.8 18192 14884 Wrong Answer 0
65 6 0143.5 17428 14796 Wrong Answer 0
66 6 0085.4 15184 12568 Wrong Answer 0
67 6 0081.0 15316 12652 Wrong Answer 0
68 6 0084.1 15448 12744 Wrong Answer 0
69 6 0070.7 15660 13028 Wrong Answer 0
70 4 6 0063.0 15912 13332 Wrong Answer 0
71 3 5 6 0008.3 11092 8256 Accepted 100
72 5 6 0077.8 17036 13424 Accepted 100
73 4 6 0109.5 22440 19972 Wrong Answer 0
74 4 6 0108.7 22624 19904 Wrong Answer 0
75 4 6 0110.3 22648 20168 Wrong Answer 0
76 6 0160.1 17560 14884 Wrong Answer 0
77 6 0163.8 17560 14880 Wrong Answer 0
78 6 0149.4 17560 14888 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
783 Bytes
Back to Top