Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5832
20184
Wrong Answer
66

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 0~10 $N,Q \leq 500$ 19 / 19
3 0~20, 71 $N,Q\leq 3000$ 20 / 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 12656 8264 Accepted 100
1 2 3 6 0008.3 12656 8220 Accepted 100
2 2 3 6 0009.5 12656 8244 Accepted 100
3 2 3 6 0009.0 12656 8252 Accepted 100
4 2 3 4 6 0008.4 12656 8284 Accepted 100
5 2 3 6 0008.4 12656 8252 Accepted 100
6 2 3 6 0008.4 12656 8288 Accepted 100
7 2 3 6 0008.3 12656 8180 Accepted 100
8 2 3 6 0010.8 12656 8108 Accepted 100
9 2 3 6 0009.3 12656 8304 Accepted 100
10 2 3 6 0008.4 12656 8088 Accepted 100
11 3 6 0035.4 12656 8432 Accepted 100
12 3 4 6 0049.8 12656 8436 Accepted 100
13 3 6 0027.3 12788 8416 Accepted 100
14 3 6 0016.2 12656 8420 Accepted 100
15 3 6 0118.5 12656 8268 Accepted 100
16 3 6 0026.5 12656 8344 Accepted 100
17 3 6 0035.2 12656 8352 Accepted 100
18 3 6 0109.0 12788 8488 Accepted 100
19 3 6 0029.2 12656 8360 Accepted 100
20 3 4 6 0038.5 12672 8492 Accepted 100
21 4 6 0077.8 23004 18940 Wrong Answer 0
22 4 6 0046.3 18168 14048 Wrong Answer 0
23 4 6 0059.7 20104 16012 Wrong Answer 0
24 4 6 0054.6 18748 14584 Wrong Answer 0
25 4 6 0056.7 20420 16132 Wrong Answer 0
26 4 6 0050.4 19460 15364 Wrong Answer 0
27 4 6 0064.3 21256 17148 Wrong Answer 0
28 4 6 0041.0 17332 13052 Wrong Answer 0
29 4 6 0053.6 18444 14252 Wrong Answer 0
30 4 6 0061.3 19580 15420 Wrong Answer 0
31 5 6 0074.3 18568 13628 Accepted 100
32 5 6 0050.9 16604 11788 Accepted 100
33 5 6 0070.1 16352 12032 Accepted 100
34 5 6 0064.6 15956 11788 Accepted 100
35 5 6 0093.4 17276 13088 Accepted 100
36 5 6 0136.9 18860 14700 Accepted 100
37 4 5 6 0105.9 20108 15980 Accepted 100
38 4 5 6 0112.0 20320 16192 Accepted 100
39 5 6 0088.6 19492 14676 Accepted 100
40 5 6 0067.4 18292 13108 Accepted 100
41 5 6 0087.1 16880 12592 Accepted 100
42 5 6 0129.6 18464 14200 Accepted 100
43 5 6 0081.4 16748 12428 Accepted 100
44 5 6 0079.9 16880 12620 Accepted 100
45 5 6 0081.2 17524 13352 Accepted 100
46 4 5 6 0133.4 21728 17624 Accepted 100
47 5 6 0070.9 18436 13572 Accepted 100
48 5 6 0052.3 16736 12100 Accepted 100
49 5 6 0136.0 18596 14280 Accepted 100
50 5 6 0120.4 18068 13768 Accepted 100
51 6 0117.8 18200 13816 Accepted 100
52 6 0129.6 19256 15108 Wrong Answer 0
53 6 0107.4 19188 15000 Wrong Answer 0
54 4 6 0117.3 20704 16556 Wrong Answer 0
55 6 0045.2 16340 11564 Accepted 100
56 6 0065.3 18292 12968 Wrong Answer 0
57 6 0102.4 17540 13284 Wrong Answer 0
58 6 0082.6 16748 12440 Wrong Answer 0
59 6 0134.7 18728 14560 Wrong Answer 0
60 6 0082.8 17276 12984 Wrong Answer 0
61 4 6 0128.6 21512 17432 Wrong Answer 0
62 4 6 0076.8 18456 14260 Wrong Answer 0
63 6 0093.2 19888 15048 Accepted 100
64 6 0088.9 19756 14880 Wrong Answer 0
65 6 0138.6 18992 14800 Wrong Answer 0
66 6 0081.3 16748 12524 Wrong Answer 0
67 6 0079.6 16880 12632 Wrong Answer 0
68 6 0083.4 17012 12852 Wrong Answer 0
69 6 0077.4 17224 13040 Wrong Answer 0
70 4 6 0067.4 17468 13300 Wrong Answer 0
71 3 5 6 0008.2 12656 8356 Accepted 100
72 5 6 0079.5 18600 13380 Accepted 100
73 4 6 0128.8 24004 19980 Wrong Answer 0
74 4 6 0111.8 24184 20028 Wrong Answer 0
75 4 6 0114.3 24212 20184 Wrong Answer 0
76 6 0171.0 19124 14924 Wrong Answer 0
77 6 0168.2 19124 14804 Wrong Answer 0
78 6 0165.4 19124 14888 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
1.46 KB
Back to Top