Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7245
41872
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.6 6208 3692 Accepted 100
1 2 3 6 0002.6 6208 3576 Accepted 100
2 2 3 6 0003.0 6208 3616 Accepted 100
3 2 3 6 0002.6 6208 3624 Accepted 100
4 2 3 4 6 0002.7 6208 3700 Accepted 100
5 2 3 6 0002.5 6208 3608 Accepted 100
6 2 3 6 0002.6 6208 3624 Accepted 100
7 2 3 6 0002.6 6208 3612 Accepted 100
8 2 3 6 0002.7 6208 3516 Accepted 100
9 2 3 6 0002.8 6208 3676 Accepted 100
10 2 3 6 0002.6 6208 3552 Accepted 100
11 3 6 0003.8 6476 3916 Accepted 100
12 3 4 6 0003.9 6576 4048 Accepted 100
13 3 6 0003.6 6488 3716 Accepted 100
14 3 6 0003.2 6340 3744 Accepted 100
15 3 6 0004.1 6472 3904 Accepted 100
16 3 6 0003.4 6340 3776 Accepted 100
17 3 6 0003.8 6472 3844 Accepted 100
18 3 6 0004.5 6628 4088 Accepted 100
19 3 6 0003.2 6372 3628 Accepted 100
20 3 4 6 0004.2 6628 4068 Accepted 100
21 4 6 0114.0 41580 38612 Accepted 100
22 4 6 0060.8 26940 24080 Accepted 100
23 4 6 0086.0 35204 32268 Accepted 100
24 4 6 0076.2 27980 25152 Accepted 100
25 4 6 0077.7 32844 29908 Accepted 100
26 4 6 0067.4 29084 26124 Accepted 100
27 4 6 0091.2 37384 34676 Accepted 100
28 4 6 0055.2 25000 22212 Accepted 100
29 4 6 0073.1 29512 26552 Accepted 100
30 4 6 0088.0 32720 29924 Accepted 100
31 5 6 0106.1 23340 20152 Accepted 100
32 5 6 0064.2 17976 14820 Accepted 100
33 5 6 0095.5 17908 14740 Accepted 100
34 5 6 0086.9 16788 13764 Accepted 100
35 5 6 0119.8 21064 17944 Accepted 100
36 5 6 0193.5 26112 23292 Accepted 100
37 4 5 6 0150.4 36928 34116 Accepted 100
38 4 5 6 0157.0 37672 34832 Accepted 100
39 5 6 0130.7 26400 23156 Accepted 100
40 5 6 0087.6 21612 18164 Accepted 100
41 5 6 0119.8 19580 16692 Accepted 100
42 5 6 0179.3 24612 21672 Accepted 100
43 5 6 0103.0 19328 16304 Accepted 100
44 5 6 0112.3 19728 16624 Accepted 100
45 5 6 0110.3 24256 21372 Accepted 100
46 4 5 6 0187.2 43228 40392 Accepted 100
47 5 6 0095.0 22748 19460 Accepted 100
48 5 6 0068.5 18536 15368 Accepted 100
49 5 6 0190.3 25156 22116 Accepted 100
50 5 6 0165.9 23500 20612 Accepted 100
51 6 0150.3 23256 20280 Accepted 100
52 6 0169.1 25844 22724 Accepted 100
53 6 0137.6 30808 27928 Accepted 100
54 4 6 0160.4 38320 35448 Accepted 100
55 6 0055.2 16460 13288 Accepted 100
56 6 0083.0 20936 17620 Accepted 100
57 6 0137.2 21224 18156 Accepted 100
58 6 0105.6 18596 15656 Accepted 100
59 6 0169.7 25008 22248 Accepted 100
60 6 0106.4 19760 16996 Accepted 100
61 4 6 0185.7 41476 38496 Accepted 100
62 4 6 0104.7 29488 26720 Accepted 100
63 6 0127.6 26360 23140 Accepted 100
64 6 0128.0 25996 22808 Accepted 100
65 6 0197.9 25464 22540 Accepted 100
66 6 0113.2 18800 15908 Accepted 100
67 6 0106.7 19308 16404 Accepted 100
68 6 0114.7 19456 16424 Accepted 100
69 6 0095.6 22892 20132 Accepted 100
70 4 6 0087.5 25860 23000 Accepted 100
71 3 5 6 0002.8 6208 3632 Accepted 100
72 5 6 0108.3 17948 14872 Accepted 100
73 4 6 0175.1 44752 41872 Accepted 100
74 4 6 0167.5 44620 41800 Accepted 100
75 4 6 0208.0 44620 41796 Accepted 100
76 6 0227.9 24812 21744 Accepted 100
77 6 0225.1 24680 21700 Accepted 100
78 6 0214.1 24812 21724 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.35 KB
Back to Top