Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5751
50124
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 0013.9 29952 12976 Accepted 100
1 2 3 6 0013.7 29952 13052 Accepted 100
2 2 3 6 0013.8 29952 13064 Accepted 100
3 2 3 6 0013.8 29952 13116 Accepted 100
4 2 3 4 6 0013.9 29952 13116 Accepted 100
5 2 3 6 0013.6 29952 13112 Accepted 100
6 2 3 6 0013.7 29952 13024 Accepted 100
7 2 3 6 0013.4 29952 13048 Accepted 100
8 2 3 6 0013.8 29952 13184 Accepted 100
9 2 3 6 0014.0 29952 13132 Accepted 100
10 2 3 6 0013.5 29952 13040 Accepted 100
11 3 6 0014.6 30108 13404 Accepted 100
12 3 4 6 0014.6 30216 13452 Accepted 100
13 3 6 0014.5 30084 13312 Accepted 100
14 3 6 0013.9 30084 13172 Accepted 100
15 3 6 0014.8 30084 13208 Accepted 100
16 3 6 0014.9 30084 13232 Accepted 100
17 3 6 0014.4 30084 13248 Accepted 100
18 3 6 0014.9 30268 13508 Accepted 100
19 3 6 0014.2 30084 13304 Accepted 100
20 3 4 6 0015.0 30268 13472 Accepted 100
21 4 6 0085.5 54840 45552 Accepted 100
22 4 6 0051.6 44468 31528 Accepted 100
23 4 6 0067.2 50216 38920 Accepted 100
24 4 6 0060.7 45484 33448 Accepted 100
25 4 6 0063.0 48584 36876 Accepted 100
26 4 6 0055.8 45964 33604 Accepted 100
27 4 6 0071.3 51600 41020 Accepted 100
28 4 6 0048.5 43008 29768 Accepted 100
29 4 6 0059.1 46348 34208 Accepted 100
30 4 6 0065.8 48712 37592 Accepted 100
31 5 6 0085.5 38404 26076 Accepted 100
32 5 6 0056.5 35648 22068 Accepted 100
33 5 6 0077.6 35496 22924 Accepted 100
34 5 6 0067.6 34968 22048 Accepted 100
35 5 6 0090.6 36816 25764 Accepted 100
36 5 6 0143.8 39324 30016 Accepted 100
37 4 5 6 0114.7 52048 41708 Accepted 100
38 4 5 6 0114.1 52700 42532 Accepted 100
39 5 6 0102.2 39856 28532 Accepted 100
40 5 6 0073.7 37612 24640 Accepted 100
41 5 6 0091.0 36288 24316 Accepted 100
42 5 6 0132.7 38532 28620 Accepted 100
43 5 6 0077.5 36024 24304 Accepted 100
44 5 6 0084.5 36288 24456 Accepted 100
45 5 6 0083.6 40976 29524 Accepted 100
46 4 5 6 0141.7 56696 47828 Accepted 100
47 5 6 0079.6 38140 25532 Accepted 100
48 5 6 0059.2 35912 22424 Accepted 100
49 5 6 0138.3 38796 29056 Accepted 100
50 5 6 0122.9 38004 27664 Accepted 100
51 6 0107.2 37476 27416 Accepted 100
52 6 0130.9 38796 29252 Accepted 100
53 6 0106.0 46180 35416 Accepted 100
54 4 6 0123.6 52836 42996 Accepted 100
55 6 0050.6 34724 20664 Accepted 100
56 6 0068.2 36952 23912 Accepted 100
57 6 0106.2 36552 25472 Accepted 100
58 6 0082.2 35496 23244 Accepted 100
59 6 0129.8 38148 28916 Accepted 100
60 6 0087.1 36156 24268 Accepted 100
61 4 6 0130.9 55068 45908 Accepted 100
62 4 6 0082.4 46524 34680 Accepted 100
63 6 0101.9 39328 28528 Accepted 100
64 6 0096.0 39196 28180 Accepted 100
65 6 0135.4 38532 29116 Accepted 100
66 6 0084.9 35496 23448 Accepted 100
67 6 0079.3 35772 24180 Accepted 100
68 6 0087.2 35892 24032 Accepted 100
69 6 0072.4 40364 27768 Accepted 100
70 4 6 0069.1 43936 31308 Accepted 100
71 3 5 6 0013.7 29952 13200 Accepted 100
72 5 6 0087.1 34308 21164 Accepted 100
73 4 6 0126.8 57712 50124 Accepted 100
74 4 6 0123.6 57576 49780 Accepted 100
75 4 6 0121.8 57580 49872 Accepted 100
76 6 0161.3 37612 29532 Accepted 100
77 6 0159.9 37612 29680 Accepted 100
78 6 0162.9 37612 29512 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.16 KB
Back to Top