Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7870
38604
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.3 20464 13008 Accepted 100
1 2 3 6 0014.0 20464 13140 Accepted 100
2 2 3 6 0014.1 20464 13088 Accepted 100
3 2 3 6 0014.3 20464 13036 Accepted 100
4 2 3 4 6 0014.0 20464 13028 Accepted 100
5 2 3 6 0013.8 20464 13028 Accepted 100
6 2 3 6 0013.6 20464 13020 Accepted 100
7 2 3 6 0013.8 20464 13068 Accepted 100
8 2 3 6 0013.1 20464 13060 Accepted 100
9 2 3 6 0013.8 20464 13008 Accepted 100
10 2 3 6 0013.8 20464 13028 Accepted 100
11 3 6 0014.7 20596 13236 Accepted 100
12 3 4 6 0014.9 20648 13256 Accepted 100
13 3 6 0014.6 20596 13200 Accepted 100
14 3 6 0014.2 20464 13132 Accepted 100
15 3 6 0015.1 20596 13312 Accepted 100
16 3 6 0014.5 20464 13112 Accepted 100
17 3 6 0014.8 20596 13148 Accepted 100
18 3 6 0015.4 20680 13432 Accepted 100
19 3 6 0014.2 20464 13116 Accepted 100
20 3 4 6 0015.1 20684 13364 Accepted 100
21 4 6 0114.0 39360 36692 Accepted 100
22 4 6 0063.5 31204 26748 Accepted 100
23 4 6 0085.0 35524 32016 Accepted 100
24 4 6 0081.9 32408 27976 Accepted 100
25 4 6 0078.5 34308 30480 Accepted 100
26 4 6 0069.4 32332 28032 Accepted 100
27 4 6 0089.1 36672 33500 Accepted 100
28 4 6 0058.2 30232 25368 Accepted 100
29 4 6 0077.2 32900 28628 Accepted 100
30 4 6 0089.3 34780 30928 Accepted 100
31 5 6 0122.6 28884 23872 Accepted 100
32 5 6 0078.4 26128 20556 Accepted 100
33 5 6 0109.9 25876 20776 Accepted 100
34 5 6 0102.8 25348 20136 Accepted 100
35 5 6 0123.7 27328 22984 Accepted 100
36 5 6 0212.9 29704 26352 Accepted 100
37 4 5 6 0152.1 37624 34240 Accepted 100
38 4 5 6 0154.0 38016 34668 Accepted 100
39 5 6 0148.5 30336 26072 Accepted 100
40 5 6 0104.1 28092 22652 Accepted 100
41 5 6 0125.7 26668 21980 Accepted 100
42 5 6 0196.1 29044 25264 Accepted 100
43 5 6 0110.1 26536 21808 Accepted 100
44 5 6 0130.1 26800 22056 Accepted 100
45 5 6 0111.0 29716 25376 Accepted 100
46 4 5 6 0183.5 41120 38480 Accepted 100
47 5 6 0116.9 28620 23428 Accepted 100
48 5 6 0082.7 26392 20852 Accepted 100
49 5 6 0198.2 29308 25620 Accepted 100
50 5 6 0185.4 28516 24540 Accepted 100
51 6 0157.6 27856 24172 Accepted 100
52 6 0179.7 29308 25928 Accepted 100
53 6 0138.3 33316 29636 Accepted 100
54 4 6 0160.5 38060 34800 Accepted 100
55 6 0066.9 25204 19152 Accepted 100
56 6 0096.4 27432 21956 Accepted 100
57 6 0145.2 27064 22852 Accepted 100
58 6 0120.1 25876 21172 Accepted 100
59 6 0175.0 28648 25264 Accepted 100
60 6 0122.1 26536 21948 Accepted 100
61 4 6 0177.8 39768 36972 Accepted 100
62 4 6 0109.8 33196 28916 Accepted 100
63 6 0147.9 29808 25796 Accepted 100
64 6 0137.4 29676 25536 Accepted 100
65 6 0208.8 28912 25588 Accepted 100
66 6 0118.3 26008 21056 Accepted 100
67 6 0115.4 26140 21628 Accepted 100
68 6 0127.9 26272 21648 Accepted 100
69 6 0100.5 28912 24188 Accepted 100
70 4 6 0097.7 31212 26364 Accepted 100
71 3 5 6 0014.0 20464 13044 Accepted 100
72 5 6 0107.7 24820 19668 Accepted 100
73 4 6 0171.7 41836 38604 Accepted 100
74 4 6 0166.3 41712 38464 Accepted 100
75 4 6 0164.8 41704 38504 Accepted 100
76 6 0235.2 28124 24212 Accepted 100
77 6 0233.0 27992 24300 Accepted 100
78 6 0220.2 28124 24308 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.68 KB
Back to Top