Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6986
27996
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 6212 3528 Accepted 100
1 2 3 6 0002.8 6212 3616 Accepted 100
2 2 3 6 0002.8 6212 3616 Accepted 100
3 2 3 6 0002.6 6212 3612 Accepted 100
4 2 3 4 6 0002.7 6212 3608 Accepted 100
5 2 3 6 0002.5 6212 3460 Accepted 100
6 2 3 6 0002.6 6212 3576 Accepted 100
7 2 3 6 0002.4 6212 3560 Accepted 100
8 2 3 6 0002.8 6212 3660 Accepted 100
9 2 3 6 0002.6 6212 3628 Accepted 100
10 2 3 6 0002.6 6212 3596 Accepted 100
11 3 6 0003.7 6504 3872 Accepted 100
12 3 4 6 0003.8 6492 3956 Accepted 100
13 3 6 0003.6 6516 4056 Accepted 100
14 3 6 0003.3 6344 3860 Accepted 100
15 3 6 0004.2 6500 4016 Accepted 100
16 3 6 0003.4 6344 3792 Accepted 100
17 3 6 0003.8 6512 3936 Accepted 100
18 3 6 0004.2 6520 4012 Accepted 100
19 3 6 0003.3 6344 3788 Accepted 100
20 3 4 6 0003.8 6516 3908 Accepted 100
21 4 6 0095.2 28616 24488 Accepted 100
22 4 6 0049.5 19084 15632 Accepted 100
23 4 6 0070.0 24856 20780 Accepted 100
24 4 6 0066.7 20152 16720 Accepted 100
25 4 6 0063.6 23428 19340 Accepted 100
26 4 6 0054.4 20108 16744 Accepted 100
27 4 6 0073.7 25896 21876 Accepted 100
28 4 6 0044.8 17940 14680 Accepted 100
29 4 6 0061.8 20720 17252 Accepted 100
30 4 6 0076.6 23864 19848 Accepted 100
31 5 6 0115.5 27376 23220 Accepted 100
32 5 6 0073.3 20436 17056 Accepted 100
33 5 6 0098.9 19264 16356 Accepted 100
34 5 6 0090.2 18148 15132 Accepted 100
35 5 6 0124.2 22784 19836 Accepted 100
36 5 6 0201.0 28536 25376 Accepted 100
37 4 5 6 0125.0 26828 22792 Accepted 100
38 4 5 6 0132.8 27336 23224 Accepted 100
39 5 6 0142.7 30712 26700 Accepted 100
40 5 6 0100.9 25440 21348 Accepted 100
41 5 6 0121.1 21120 18300 Accepted 100
42 5 6 0179.9 26724 23704 Accepted 100
43 5 6 0103.5 20844 17768 Accepted 100
44 5 6 0120.0 21276 18224 Accepted 100
45 5 6 0101.0 22292 19092 Accepted 100
46 4 5 6 0157.5 30568 26344 Accepted 100
47 5 6 0111.0 26704 22600 Accepted 100
48 5 6 0080.2 21044 17672 Accepted 100
49 5 6 0191.6 27328 24360 Accepted 100
50 5 6 0168.9 25484 22536 Accepted 100
51 6 0147.8 25464 22396 Accepted 100
52 6 0184.4 28164 25152 Accepted 100
53 6 0122.5 24608 21324 Accepted 100
54 4 6 0131.6 27296 23264 Accepted 100
55 6 0061.7 18740 15176 Accepted 100
56 6 0094.2 24740 20744 Accepted 100
57 6 0141.6 23036 20128 Accepted 100
58 6 0112.2 20228 17100 Accepted 100
59 6 0168.4 27288 24372 Accepted 100
60 6 0115.7 21368 18424 Accepted 100
61 4 6 0147.4 29040 24852 Accepted 100
62 4 6 0086.6 20920 17492 Accepted 100
63 6 0139.5 30800 26836 Accepted 100
64 6 0137.0 30340 26656 Accepted 100
65 6 0198.4 27916 24888 Accepted 100
66 6 0112.4 20316 17564 Accepted 100
67 6 0104.3 21036 18024 Accepted 100
68 6 0116.8 21056 17952 Accepted 100
69 6 0085.7 20048 16816 Accepted 100
70 4 6 0070.1 18920 15644 Accepted 100
71 3 5 6 0002.8 6212 3672 Accepted 100
72 5 6 0109.0 21140 17616 Accepted 100
73 4 6 0157.6 31676 27996 Accepted 100
74 4 6 0151.6 31548 27868 Accepted 100
75 4 6 0150.8 31568 27804 Accepted 100
76 6 0226.5 28752 25212 Accepted 100
77 6 0231.8 28708 25144 Accepted 100
78 6 0215.3 28736 25168 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.51 KB
Back to Top