Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8900
44420
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 0008.0 28276 8288 Accepted 100
1 2 3 6 0008.3 28276 8364 Accepted 100
2 2 3 6 0008.5 28276 8308 Accepted 100
3 2 3 6 0008.2 28276 8324 Accepted 100
4 2 3 4 6 0008.3 28276 8236 Accepted 100
5 2 3 6 0008.0 28276 8312 Accepted 100
6 2 3 6 0008.1 28276 8212 Accepted 100
7 2 3 6 0008.1 28276 8368 Accepted 100
8 2 3 6 0008.2 28276 8360 Accepted 100
9 2 3 6 0008.4 28276 8312 Accepted 100
10 2 3 6 0008.1 28276 8336 Accepted 100
11 3 6 0009.5 28276 8644 Accepted 100
12 3 4 6 0009.4 28304 8712 Accepted 100
13 3 6 0009.4 28408 8652 Accepted 100
14 3 6 0008.9 28276 8508 Accepted 100
15 3 6 0009.7 28276 8648 Accepted 100
16 3 6 0009.1 28276 8344 Accepted 100
17 3 6 0009.5 28276 8612 Accepted 100
18 3 6 0010.6 28340 8816 Accepted 100
19 3 6 0009.1 28276 8496 Accepted 100
20 3 4 6 0010.0 28340 8868 Accepted 100
21 4 6 0165.2 46088 43016 Accepted 100
22 4 6 0082.5 38996 29328 Accepted 100
23 4 6 0109.5 43312 37592 Accepted 100
24 4 6 0109.9 38880 28980 Accepted 100
25 4 6 0104.9 42096 35220 Accepted 100
26 4 6 0091.0 40120 31424 Accepted 100
27 4 6 0116.3 44460 39780 Accepted 100
28 4 6 0067.8 38020 27324 Accepted 100
29 4 6 0093.3 40032 31148 Accepted 100
30 4 6 0113.4 41388 33824 Accepted 100
31 5 6 0137.9 34188 27368 Accepted 100
32 5 6 0092.4 32224 21612 Accepted 100
33 5 6 0120.6 31972 21960 Accepted 100
34 5 6 0104.7 31576 20792 Accepted 100
35 5 6 0139.1 32896 25608 Accepted 100
36 5 6 0225.4 34480 31484 Accepted 100
37 4 5 6 0163.7 42904 36796 Accepted 100
38 4 5 6 0171.0 43296 37536 Accepted 100
39 5 6 0169.9 35112 30912 Accepted 100
40 5 6 0113.9 33912 25284 Accepted 100
41 5 6 0135.2 32500 23964 Accepted 100
42 5 6 0209.9 34084 29500 Accepted 100
43 5 6 0125.5 32368 23464 Accepted 100
44 5 6 0137.5 32500 23936 Accepted 100
45 5 6 0130.0 35524 27028 Accepted 100
46 4 5 6 0205.8 46008 42708 Accepted 100
47 5 6 0125.9 34056 26744 Accepted 100
48 5 6 0092.0 32356 22192 Accepted 100
49 5 6 0219.3 34216 30332 Accepted 100
50 5 6 0192.8 33688 28428 Accepted 100
51 6 0188.1 33820 29240 Accepted 100
52 6 0211.3 34876 32112 Accepted 100
53 6 0170.3 39524 33156 Accepted 100
54 4 6 0194.5 44004 38824 Accepted 100
55 6 0074.2 31960 20148 Accepted 100
56 6 0110.2 33912 25216 Accepted 100
57 6 0164.9 33160 26608 Accepted 100
58 6 0128.1 32368 23476 Accepted 100
59 6 0206.5 34348 31312 Accepted 100
60 6 0139.3 32896 24640 Accepted 100
61 4 6 0213.3 45576 41748 Accepted 100
62 4 6 0125.7 39656 30596 Accepted 100
63 6 0169.5 35508 32032 Accepted 100
64 6 0165.9 35376 31544 Accepted 100
65 6 0228.5 34612 31824 Accepted 100
66 6 0140.2 32368 23612 Accepted 100
67 6 0132.0 32500 24400 Accepted 100
68 6 0138.9 32632 24556 Accepted 100
69 6 0117.7 35508 25792 Accepted 100
70 4 6 0108.6 37804 27036 Accepted 100
71 3 5 6 0008.3 28276 8420 Accepted 100
72 5 6 0118.3 32632 24240 Accepted 100
73 4 6 0209.0 46852 44356 Accepted 100
74 4 6 0214.8 46852 44356 Accepted 100
75 4 6 0212.6 46852 44420 Accepted 100
76 6 0254.8 34744 32176 Accepted 100
77 6 0254.1 34744 31944 Accepted 100
78 6 0249.4 34744 32112 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.24 KB
Back to Top