Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

22855
60548
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.2 32616 8428 Accepted 100
1 2 3 6 0008.5 32616 8588 Accepted 100
2 2 3 6 0008.9 32616 8400 Accepted 100
3 2 3 6 0008.8 32616 8512 Accepted 100
4 2 3 4 6 0008.6 32616 8560 Accepted 100
5 2 3 6 0008.4 32616 8324 Accepted 100
6 2 3 6 0008.5 32616 8544 Accepted 100
7 2 3 6 0008.4 32616 8456 Accepted 100
8 2 3 6 0009.0 32748 8624 Accepted 100
9 2 3 6 0008.7 32616 8352 Accepted 100
10 2 3 6 0008.4 32616 8448 Accepted 100
11 3 6 0011.2 32880 9056 Accepted 100
12 3 4 6 0011.9 32880 9104 Accepted 100
13 3 6 0011.5 32880 9012 Accepted 100
14 3 6 0010.4 32880 8796 Accepted 100
15 3 6 0012.8 32880 8912 Accepted 100
16 3 6 0010.6 32880 8860 Accepted 100
17 3 6 0011.7 32880 9036 Accepted 100
18 3 6 0013.7 32900 9224 Accepted 100
19 3 6 0010.2 32748 8760 Accepted 100
20 3 4 6 0012.1 32896 9212 Accepted 100
21 4 6 0308.5 61424 56380 Accepted 100
22 4 6 0142.2 48904 36184 Accepted 100
23 4 6 0199.4 55416 47188 Accepted 100
24 4 6 0224.0 50932 38504 Accepted 100
25 4 6 0183.2 53476 43976 Accepted 100
26 4 6 0155.5 50516 38924 Accepted 100
27 4 6 0210.9 57032 49824 Accepted 100
28 4 6 0127.4 47320 33560 Accepted 100
29 4 6 0192.1 51500 40032 Accepted 100
30 4 6 0246.7 54464 44456 Accepted 100
31 5 6 0477.5 53788 45332 Accepted 100
32 5 6 0301.8 47200 33976 Accepted 100
33 5 6 0360.0 47136 34532 Accepted 100
34 5 6 0313.9 45684 32080 Accepted 100
35 5 6 0380.1 50964 41476 Accepted 100
36 5 6 0701.2 57168 52820 Accepted 100
37 4 5 6 0433.8 59696 51704 Accepted 100
38 4 5 6 0445.9 60284 52704 Accepted 100
39 5 6 0592.3 57372 51712 Accepted 100
40 5 6 0427.0 51480 40944 Accepted 100
41 5 6 0414.2 49116 38112 Accepted 100
42 5 6 0632.3 55188 49308 Accepted 100
43 5 6 0334.7 48720 37728 Accepted 100
44 5 6 0423.1 49116 38124 Accepted 100
45 5 6 0315.1 51320 40604 Accepted 100
46 4 5 6 0539.5 65184 60548 Accepted 100
47 5 6 0467.7 52944 43600 Accepted 100
48 5 6 0313.8 47856 35348 Accepted 100
49 5 6 0670.9 55848 50456 Accepted 100
50 5 6 0600.1 53868 46892 Accepted 100
51 6 0440.3 49776 43256 Accepted 100
52 6 0530.8 52548 48380 Accepted 100
53 6 0404.9 54520 46192 Accepted 100
54 4 6 0457.5 59424 52452 Accepted 100
55 6 0211.5 44024 29456 Accepted 100
56 6 0337.3 49124 38700 Accepted 100
57 6 0399.5 47928 39216 Accepted 100
58 6 0314.6 45420 34068 Accepted 100
59 6 0476.3 51492 46944 Accepted 100
60 6 0338.2 46476 36228 Accepted 100
61 4 6 0508.9 62196 56808 Accepted 100
62 4 6 0303.5 52112 40472 Accepted 100
63 6 0503.8 55296 50592 Accepted 100
64 6 0496.2 54876 49488 Accepted 100
65 6 0565.3 52416 48152 Accepted 100
66 6 0318.4 45552 34296 Accepted 100
67 6 0310.9 45816 35272 Accepted 100
68 6 0336.7 46212 35744 Accepted 100
69 6 0277.5 47912 35720 Accepted 100
70 4 6 0253.0 49104 35452 Accepted 100
71 3 5 6 0008.9 32748 8628 Accepted 100
72 5 6 0250.4 47036 35016 Accepted 100
73 4 6 0474.3 61464 57724 Accepted 100
74 4 6 0454.9 61464 57860 Accepted 100
75 4 6 0458.2 61468 57724 Accepted 100
76 6 0684.1 53228 48996 Accepted 100
77 6 0705.4 53228 49004 Accepted 100
78 6 0688.4 53228 49132 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.94 KB
Back to Top