Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5812
20192
Wrong Answer
39

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$ 是一條邊的兩端 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 0008.6 12656 8260 Accepted 100
1 2 3 6 0008.3 12656 8240 Accepted 100
2 2 3 6 0009.4 12656 8280 Accepted 100
3 2 3 6 0008.8 12656 8172 Accepted 100
4 2 3 4 6 0008.2 12656 8180 Accepted 100
5 2 3 6 0008.2 12656 8232 Accepted 100
6 2 3 6 0008.6 12656 8280 Accepted 100
7 2 3 6 0008.4 12656 8220 Accepted 100
8 2 3 6 0010.9 12656 8224 Accepted 100
9 2 3 6 0009.2 12656 8244 Accepted 100
10 2 3 6 0008.5 12656 8252 Accepted 100
11 3 6 0035.1 12656 8228 Accepted 100
12 3 4 6 0052.9 12656 8444 Accepted 100
13 3 6 0027.1 12788 8284 Accepted 100
14 3 6 0016.3 12656 8312 Accepted 100
15 3 6 0120.0 12656 8344 Accepted 100
16 3 6 0025.2 12656 8408 Accepted 100
17 3 6 0034.9 12656 8328 Accepted 100
18 3 6 0108.7 12788 8388 Accepted 100
19 3 6 0021.4 12656 8204 Accepted 100
20 3 4 6 0037.4 12672 8404 Accepted 100
21 4 6 0080.6 23000 18932 Wrong Answer 0
22 4 6 0047.1 17436 13212 Wrong Answer 0
23 4 6 0062.7 19704 15660 Wrong Answer 0
24 4 6 0055.6 18748 14572 Wrong Answer 0
25 4 6 0058.9 20420 16380 Wrong Answer 0
26 4 6 0052.6 19608 15220 Wrong Answer 0
27 4 6 0068.3 21260 17192 Wrong Answer 0
28 4 6 0043.1 17328 13156 Wrong Answer 0
29 4 6 0055.1 18448 14280 Wrong Answer 0
30 4 6 0062.7 19580 15416 Wrong Answer 0
31 5 6 0076.6 18568 13548 Accepted 100
32 5 6 0053.8 16604 11760 Accepted 100
33 5 6 0075.6 16352 12048 Accepted 100
34 5 6 0063.1 15956 11688 Accepted 100
35 5 6 0093.5 17276 13036 Accepted 100
36 5 6 0136.7 18860 14716 Accepted 100
37 4 5 6 0101.4 20116 16012 Wrong Answer 0
38 4 5 6 0106.3 19336 15148 Wrong Answer 0
39 5 6 0088.7 19492 14808 Accepted 100
40 5 6 0064.7 18292 13044 Accepted 100
41 5 6 0087.3 16880 12636 Accepted 100
42 5 6 0126.2 18464 14200 Accepted 100
43 5 6 0078.2 16748 12424 Accepted 100
44 5 6 0091.6 16880 12608 Accepted 100
45 5 6 0089.1 17524 13316 Accepted 100
46 4 5 6 0137.9 21728 17668 Wrong Answer 0
47 5 6 0073.3 18436 13432 Accepted 100
48 5 6 0058.1 16736 12004 Accepted 100
49 5 6 0132.8 18596 14428 Accepted 100
50 5 6 0113.8 18068 13836 Accepted 100
51 6 0120.0 18200 13964 Accepted 100
52 6 0131.0 19256 15108 Wrong Answer 0
53 6 0101.1 19188 15012 Wrong Answer 0
54 4 6 0108.9 19676 15460 Wrong Answer 0
55 6 0045.2 16340 11532 Accepted 100
56 6 0064.8 18292 12928 Wrong Answer 0
57 6 0103.3 17540 13276 Wrong Answer 0
58 6 0079.8 16748 12452 Wrong Answer 0
59 6 0134.6 18728 14588 Wrong Answer 0
60 6 0086.2 17276 13040 Wrong Answer 0
61 4 6 0125.1 20388 16312 Wrong Answer 0
62 4 6 0073.6 18464 14276 Wrong Answer 0
63 6 0091.3 19888 15088 Accepted 100
64 6 0091.2 19756 14916 Wrong Answer 0
65 6 0138.1 18992 14796 Wrong Answer 0
66 6 0077.6 16748 12480 Wrong Answer 0
67 6 0083.6 16880 12704 Wrong Answer 0
68 6 0087.8 17012 12688 Wrong Answer 0
69 6 0070.3 17228 13000 Wrong Answer 0
70 4 6 0061.5 16848 12816 Wrong Answer 0
71 3 5 6 0008.5 12656 8292 Accepted 100
72 5 6 0074.4 18600 13520 Accepted 100
73 4 6 0123.9 23348 18876 Wrong Answer 0
74 4 6 0112.2 24308 20192 Wrong Answer 0
75 4 6 0115.7 22532 17760 Wrong Answer 0
76 6 0170.5 19124 14932 Wrong Answer 0
77 6 0165.5 19124 14936 Wrong Answer 0
78 6 0154.9 19124 14924 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
1.79 KB
Back to Top