Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7461
43356
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 0010.7 13300 10372 Accepted 100
1 2 3 6 0010.7 13300 10388 Accepted 100
2 2 3 6 0011.0 13300 10380 Accepted 100
3 2 3 6 0011.0 13300 10380 Accepted 100
4 2 3 4 6 0010.9 13300 10280 Accepted 100
5 2 3 6 0010.8 13300 10364 Accepted 100
6 2 3 6 0010.8 13300 10140 Accepted 100
7 2 3 6 0010.7 13300 10384 Accepted 100
8 2 3 6 0011.0 13300 10236 Accepted 100
9 2 3 6 0010.9 13300 10240 Accepted 100
10 2 3 6 0010.7 13300 10228 Accepted 100
11 3 6 0011.8 13432 10632 Accepted 100
12 3 4 6 0012.0 13540 10656 Accepted 100
13 3 6 0011.7 13432 10248 Accepted 100
14 3 6 0011.3 13432 10388 Accepted 100
15 3 6 0012.2 13432 10392 Accepted 100
16 3 6 0011.6 13432 10384 Accepted 100
17 3 6 0011.8 13432 10332 Accepted 100
18 3 6 0012.6 13588 10896 Accepted 100
19 3 6 0011.4 13432 10168 Accepted 100
20 3 4 6 0012.4 13588 10516 Accepted 100
21 4 6 0115.7 42668 39536 Accepted 100
22 4 6 0064.5 30392 27524 Accepted 100
23 4 6 0088.0 37216 34396 Accepted 100
24 4 6 0078.6 31492 28548 Accepted 100
25 4 6 0081.0 35272 32504 Accepted 100
26 4 6 0069.7 32160 29396 Accepted 100
27 4 6 0092.3 39016 36172 Accepted 100
28 4 6 0058.8 28796 25936 Accepted 100
29 4 6 0076.4 32644 29572 Accepted 100
30 4 6 0090.5 35368 32416 Accepted 100
31 5 6 0107.3 25452 22172 Accepted 100
32 5 6 0067.5 21580 18520 Accepted 100
33 5 6 0098.6 21404 18560 Accepted 100
34 5 6 0093.2 20624 17764 Accepted 100
35 5 6 0121.9 23588 20620 Accepted 100
36 5 6 0196.4 27108 24128 Accepted 100
37 4 5 6 0154.1 39076 36112 Accepted 100
38 4 5 6 0148.6 39692 36720 Accepted 100
39 5 6 0125.5 27592 24208 Accepted 100
40 5 6 0087.4 24260 20608 Accepted 100
41 5 6 0121.8 22576 19492 Accepted 100
42 5 6 0181.2 26088 23008 Accepted 100
43 5 6 0110.3 22392 19336 Accepted 100
44 5 6 0111.7 22712 19572 Accepted 100
45 5 6 0109.0 27248 24352 Accepted 100
46 4 5 6 0179.8 44352 41528 Accepted 100
47 5 6 0095.9 25052 21764 Accepted 100
48 5 6 0073.2 21968 18876 Accepted 100
49 5 6 0187.2 26472 23432 Accepted 100
50 5 6 0161.8 25312 22212 Accepted 100
51 6 0152.2 24828 22000 Accepted 100
52 6 0166.2 26768 23748 Accepted 100
53 6 0145.5 33020 30160 Accepted 100
54 4 6 0158.5 40124 37260 Accepted 100
55 6 0061.0 20400 17060 Accepted 100
56 6 0085.5 23592 20228 Accepted 100
57 6 0135.1 23504 20524 Accepted 100
58 6 0110.7 21700 18788 Accepted 100
59 6 0174.0 26032 23308 Accepted 100
60 6 0107.7 22576 19624 Accepted 100
61 4 6 0184.1 42752 39852 Accepted 100
62 4 6 0107.5 32728 29772 Accepted 100
63 6 0126.4 27276 24160 Accepted 100
64 6 0127.1 27044 23720 Accepted 100
65 6 0185.4 26380 23444 Accepted 100
66 6 0108.0 21864 18792 Accepted 100
67 6 0109.9 22156 19228 Accepted 100
68 6 0109.8 22296 19296 Accepted 100
69 6 0097.2 26304 23436 Accepted 100
70 4 6 0089.2 29696 26724 Accepted 100
71 3 5 6 0010.9 13300 10388 Accepted 100
72 5 6 0104.2 22408 18788 Accepted 100
73 4 6 0177.0 46456 43356 Accepted 100
74 4 6 0173.4 46324 43288 Accepted 100
75 4 6 0173.0 46356 43192 Accepted 100
76 6 0236.8 27208 23696 Accepted 100
77 6 0234.1 27168 23632 Accepted 100
78 6 0225.6 27192 23648 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.56 KB
Back to Top