Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10081
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.7 6204 3612 Accepted 100
1 2 3 6 0002.6 6204 3624 Wrong Answer 0
2 2 3 6 0002.8 6204 3512 Wrong Answer 0
3 2 3 6 0002.9 6204 3656 Wrong Answer 0
4 2 3 4 6 0002.9 6204 3680 Wrong Answer 0
5 2 3 6 0002.6 6204 3480 Wrong Answer 0
6 2 3 6 0002.7 6204 3644 Wrong Answer 0
7 2 3 6 0002.6 6204 3756 Wrong Answer 0
8 2 3 6 0002.7 6336 3680 Wrong Answer 0
9 2 3 6 0002.6 6204 3636 Wrong Answer 0
10 2 3 6 0002.5 6204 3612 Wrong Answer 0
11 3 6 0004.1 6524 3860 Wrong Answer 0
12 3 4 6 0004.1 6516 3992 Wrong Answer 0
13 3 6 0004.4 6608 3992 Wrong Answer 0
14 3 6 0003.7 6488 3848 Wrong Answer 0
15 3 6 0004.0 6524 3820 Wrong Answer 0
16 3 6 0003.7 6488 3852 Wrong Answer 0
17 3 6 0004.2 6604 3852 Wrong Answer 0
18 3 6 0004.4 6676 4044 Wrong Answer 0
19 3 6 0003.5 6476 3976 Wrong Answer 0
20 3 4 6 0004.3 6644 4152 Wrong Answer 0
21 4 6 0113.8 43104 40196 Wrong Answer 0
22 4 6 0068.4 29720 26652 Wrong Answer 0
23 4 6 0094.1 38936 36260 Wrong Answer 0
24 4 6 0066.7 28044 25176 Wrong Answer 0
25 4 6 0086.3 36340 33596 Wrong Answer 0
26 4 6 0074.2 32088 29400 Wrong Answer 0
27 4 6 0099.7 41472 38600 Wrong Answer 0
28 4 6 0061.3 27436 24628 Wrong Answer 0
29 4 6 0076.7 30404 27396 Wrong Answer 0
30 4 6 0086.2 32316 29372 Wrong Answer 0
31 5 6 0248.3 35972 33072 Wrong Answer 0
32 5 6 0156.1 27144 24116 Wrong Answer 0
33 5 6 0135.4 22412 19200 Wrong Answer 0
34 5 6 0114.2 20848 17644 Wrong Answer 0
35 5 6 0175.3 26776 23780 Wrong Answer 0
36 5 6 0269.3 33552 30552 Wrong Answer 0
37 4 5 6 0188.9 34264 31416 Wrong Answer 0
38 4 5 6 0202.6 35012 32208 Wrong Answer 0
39 5 6 0305.4 41576 38532 Wrong Answer 0
40 5 6 0219.4 32800 29896 Wrong Answer 0
41 5 6 0169.8 24624 21732 Wrong Answer 0
42 5 6 0245.7 31384 28504 Wrong Answer 0
43 5 6 0153.5 24252 21340 Wrong Answer 0
44 5 6 0151.0 24632 21684 Wrong Answer 0
45 5 6 0150.2 26492 23572 Wrong Answer 0
46 4 5 6 0233.1 40072 37284 Wrong Answer 0
47 5 6 0242.7 34904 32028 Wrong Answer 0
48 5 6 0171.2 28048 25168 Wrong Answer 0
49 5 6 0247.7 32152 29128 Wrong Answer 0
50 5 6 0217.4 29960 26864 Wrong Answer 0
51 6 0213.5 30972 28048 Wrong Answer 0
52 6 0271.4 33932 30832 Wrong Answer 0
53 6 0185.9 31968 29100 Wrong Answer 0
54 4 6 0201.0 36268 33256 Wrong Answer 0
55 6 0115.4 20296 17456 Wrong Answer 0
56 6 0186.3 26184 22972 Wrong Answer 0
57 6 0196.4 27800 24852 Wrong Answer 0
58 6 0156.0 24056 21208 Wrong Answer 0
59 6 0236.4 33512 30708 Wrong Answer 0
60 6 0172.0 25416 22476 Wrong Answer 0
61 4 6 0222.0 39280 36452 Wrong Answer 0
62 4 6 0141.9 27996 25168 Wrong Answer 0
63 6 0271.3 33948 30892 Wrong Answer 0
64 6 0294.0 33352 30300 Wrong Answer 0
65 6 0267.0 33944 30820 Wrong Answer 0
66 6 0163.9 24256 21380 Wrong Answer 0
67 6 0158.7 25236 22240 Wrong Answer 0
68 6 0149.0 25384 22112 Wrong Answer 0
69 6 0132.4 24760 21852 Wrong Answer 0
70 4 6 0113.0 24660 21652 Wrong Answer 0
71 3 5 6 0002.9 6336 3716 Accepted 100
72 5 6 0173.2 31540 28592 Accepted 100
73 4 6 0184.5 46124 43380 Wrong Answer 0
74 4 6 0113.6 46576 43624 Wrong Answer 0
75 4 6 0173.9 46692 43884 Wrong Answer 0
76 6 0227.4 34324 31404 Wrong Answer 0
77 6 0234.0 34324 31480 Wrong Answer 0
78 6 0229.4 34324 31504 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
781 Bytes
Back to Top