Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5304
19764
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.0 11088 8280 Accepted 100
1 2 3 6 0008.0 11088 8280 Wrong Answer 0
2 2 3 6 0008.1 11088 8280 Accepted 100
3 2 3 6 0008.1 11088 8292 Accepted 100
4 2 3 4 6 0008.1 11088 8268 Wrong Answer 0
5 2 3 6 0007.9 11088 8164 Wrong Answer 0
6 2 3 6 0008.3 11088 8408 Wrong Answer 0
7 2 3 6 0008.0 11088 8288 Wrong Answer 0
8 2 3 6 0008.4 11088 8300 Wrong Answer 0
9 2 3 6 0008.2 11088 8268 Wrong Answer 0
10 2 3 6 0008.4 11088 8160 Wrong Answer 0
11 3 6 0009.1 11220 8444 Wrong Answer 0
12 3 4 6 0008.9 11088 8440 Wrong Answer 0
13 3 6 0008.8 11236 8404 Wrong Answer 0
14 3 6 0008.4 11088 8328 Wrong Answer 0
15 3 6 0009.1 11220 8424 Wrong Answer 0
16 3 6 0008.4 11088 8396 Wrong Answer 0
17 3 6 0009.0 11220 8384 Wrong Answer 0
18 3 6 0009.3 11088 8436 Wrong Answer 0
19 3 6 0008.6 11088 8192 Accepted 100
20 3 4 6 0009.0 11088 8400 Wrong Answer 0
21 4 6 0077.1 21100 18696 Wrong Answer 0
22 4 6 0045.5 16444 13944 Wrong Answer 0
23 4 6 0059.1 18340 15912 Wrong Answer 0
24 4 6 0054.2 16984 14264 Wrong Answer 0
25 4 6 0056.0 18616 16164 Wrong Answer 0
26 4 6 0049.9 17676 15160 Wrong Answer 0
27 4 6 0064.4 19444 16796 Wrong Answer 0
28 4 6 0040.3 15652 13020 Wrong Answer 0
29 4 6 0050.9 16728 14148 Wrong Answer 0
30 4 6 0060.1 17812 15316 Wrong Answer 0
31 5 6 0074.0 18276 14424 Accepted 100
32 5 6 0050.3 15564 12488 Accepted 100
33 5 6 0069.9 15312 12536 Accepted 100
34 5 6 0061.7 14916 12096 Accepted 100
35 5 6 0090.7 16368 13756 Accepted 100
36 5 6 0134.8 18348 15768 Accepted 100
37 4 5 6 0104.6 18344 15832 Accepted 100
38 4 5 6 0111.5 18544 16108 Accepted 100
39 5 6 0091.9 18964 15488 Accepted 100
40 5 6 0067.7 18276 14032 Accepted 100
41 5 6 0084.0 15972 13356 Accepted 100
42 5 6 0121.8 17820 15152 Accepted 100
43 5 6 0084.8 15708 13072 Accepted 100
44 5 6 0079.7 16104 13536 Accepted 100
45 5 6 0084.5 16544 13984 Accepted 100
46 4 5 6 0130.6 19920 17484 Accepted 100
47 5 6 0071.4 18276 14184 Accepted 100
48 5 6 0052.4 15696 12724 Accepted 100
49 5 6 0125.9 17952 15228 Accepted 100
50 5 6 0111.8 17424 14736 Accepted 100
51 6 0121.8 17424 14944 Accepted 100
52 6 0133.5 18876 16288 Wrong Answer 0
53 6 0101.0 18276 15816 Wrong Answer 0
54 4 6 0110.1 18916 16328 Wrong Answer 0
55 6 0044.6 15168 11868 Accepted 100
56 6 0064.3 18276 13928 Wrong Answer 0
57 6 0096.7 16896 14208 Wrong Answer 0
58 6 0080.6 15840 13156 Wrong Answer 0
59 6 0136.5 18084 15556 Wrong Answer 0
60 6 0081.8 16500 13872 Wrong Answer 0
61 4 6 0120.9 19712 17176 Wrong Answer 0
62 4 6 0074.7 16736 14228 Wrong Answer 0
63 6 0094.2 19228 15900 Accepted 100
64 6 0093.7 19096 15644 Wrong Answer 0
65 6 0138.2 18480 15896 Wrong Answer 0
66 6 0080.5 15840 13180 Wrong Answer 0
67 6 0085.9 15972 13356 Wrong Answer 0
68 6 0083.6 16104 13576 Wrong Answer 0
69 6 0070.0 16112 13592 Wrong Answer 0
70 4 6 0062.0 15776 13308 Wrong Answer 0
71 3 5 6 0008.2 11088 8196 Accepted 100
72 5 6 0078.7 19244 15144 Accepted 100
73 4 6 0108.1 22052 19640 Wrong Answer 0
74 4 6 0108.2 22216 19748 Wrong Answer 0
75 4 6 0106.9 22240 19764 Wrong Answer 0
76 6 0166.1 18480 15980 Wrong Answer 0
77 6 0162.6 18480 15920 Wrong Answer 0
78 6 0150.7 18480 15984 Wrong Answer 0
Submitter:
Compiler:
c++20
Code Length:
868 Bytes
Back to Top