Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7308
44972
Accepted
100

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$ 11 / 11
5 0, 31~50, 71~72 $a_i,b_i$ 是一條邊的兩端 27 / 27
6 0~78 無其他限制 23 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0002.5 6212 3552 Accepted 100
1 2 3 6 0002.5 6212 3580 Accepted 100
2 2 3 6 0002.8 6212 3476 Accepted 100
3 2 3 6 0002.8 6212 3616 Accepted 100
4 2 3 4 6 0002.6 6212 3712 Accepted 100
5 2 3 6 0002.7 6212 3592 Accepted 100
6 2 3 6 0002.5 6212 3612 Accepted 100
7 2 3 6 0002.5 6212 3656 Accepted 100
8 2 3 6 0002.7 6212 3692 Accepted 100
9 2 3 6 0002.6 6212 3632 Accepted 100
10 2 3 6 0002.5 6212 3620 Accepted 100
11 3 6 0003.8 6500 4016 Accepted 100
12 3 4 6 0004.0 6620 4140 Accepted 100
13 3 6 0003.6 6492 3860 Accepted 100
14 3 6 0003.2 6344 3752 Accepted 100
15 3 6 0004.2 6476 3908 Accepted 100
16 3 6 0003.4 6344 3824 Accepted 100
17 3 6 0003.8 6476 3840 Accepted 100
18 3 6 0004.5 6680 4248 Accepted 100
19 3 6 0003.2 6376 3644 Accepted 100
20 3 4 6 0004.3 6684 4164 Accepted 100
21 4 6 0119.8 44584 41668 Accepted 100
22 4 6 0065.2 28764 25948 Accepted 100
23 4 6 0088.6 37748 34784 Accepted 100
24 4 6 0078.5 29780 27024 Accepted 100
25 4 6 0082.5 35180 32212 Accepted 100
26 4 6 0070.1 31096 28340 Accepted 100
27 4 6 0096.8 40108 37300 Accepted 100
28 4 6 0059.0 26648 23828 Accepted 100
29 4 6 0076.3 31500 28616 Accepted 100
30 4 6 0090.3 34944 31972 Accepted 100
31 5 6 0104.7 23344 20164 Accepted 100
32 5 6 0064.0 17980 14744 Accepted 100
33 5 6 0098.0 17912 14816 Accepted 100
34 5 6 0085.8 16792 13752 Accepted 100
35 5 6 0119.2 21068 18284 Accepted 100
36 5 6 0193.6 26116 23176 Accepted 100
37 4 5 6 0157.7 39404 36476 Accepted 100
38 4 5 6 0163.6 40208 37304 Accepted 100
39 5 6 0126.7 26404 23208 Accepted 100
40 5 6 0088.5 21616 18164 Accepted 100
41 5 6 0119.8 19584 16668 Accepted 100
42 5 6 0177.5 24616 21636 Accepted 100
43 5 6 0109.5 19332 16404 Accepted 100
44 5 6 0114.2 19732 16700 Accepted 100
45 5 6 0111.2 25080 22184 Accepted 100
46 4 5 6 0192.8 46208 43384 Accepted 100
47 5 6 0095.0 22752 19388 Accepted 100
48 5 6 0068.9 18540 15388 Accepted 100
49 5 6 0185.2 25160 22164 Accepted 100
50 5 6 0161.5 23504 20636 Accepted 100
51 6 0155.0 23260 20280 Accepted 100
52 6 0179.6 25848 22796 Accepted 100
53 6 0144.9 32432 29488 Accepted 100
54 4 6 0171.9 40964 37948 Accepted 100
55 6 0055.2 16464 13296 Accepted 100
56 6 0084.7 20940 17632 Accepted 100
57 6 0142.7 21228 18160 Accepted 100
58 6 0108.7 18600 15668 Accepted 100
59 6 0175.6 25020 22112 Accepted 100
60 6 0106.4 19764 16996 Accepted 100
61 4 6 0185.5 44388 41540 Accepted 100
62 4 6 0113.6 31412 28600 Accepted 100
63 6 0126.0 26364 23176 Accepted 100
64 6 0125.2 26000 22780 Accepted 100
65 6 0191.3 25468 22480 Accepted 100
66 6 0107.1 18804 15920 Accepted 100
67 6 0107.0 19312 16444 Accepted 100
68 6 0110.8 19460 16392 Accepted 100
69 6 0096.3 23804 20936 Accepted 100
70 4 6 0090.6 27484 24592 Accepted 100
71 3 5 6 0002.7 6212 3700 Accepted 100
72 5 6 0100.9 17952 14824 Accepted 100
73 4 6 0182.7 47884 44824 Accepted 100
74 4 6 0174.6 47748 44972 Accepted 100
75 4 6 0174.5 47752 44912 Accepted 100
76 6 0225.7 24816 21684 Accepted 100
77 6 0226.0 24684 21652 Accepted 100
78 6 0211.7 24816 21676 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.33 KB
Back to Top