Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18731
69736
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 0002.6 6060 3676 Accepted 100
1 2 3 6 0002.7 6192 3748 Accepted 100
2 2 3 6 0003.1 6192 3800 Accepted 100
3 2 3 6 0002.9 6192 3724 Accepted 100
4 2 3 4 6 0002.8 6192 3800 Accepted 100
5 2 3 6 0002.8 6192 3756 Accepted 100
6 2 3 6 0002.8 6192 3600 Accepted 100
7 2 3 6 0002.6 6192 3752 Accepted 100
8 2 3 6 0003.3 6192 3844 Accepted 100
9 2 3 6 0002.9 6192 3664 Accepted 100
10 2 3 6 0002.7 6192 3752 Accepted 100
11 3 6 0005.7 6736 4356 Accepted 100
12 3 4 6 0005.8 6752 4484 Accepted 100
13 3 6 0005.6 6892 4488 Accepted 100
14 3 6 0004.5 6588 4136 Accepted 100
15 3 6 0006.4 6736 4396 Accepted 100
16 3 6 0004.7 6592 4092 Accepted 100
17 3 6 0005.8 6884 4356 Accepted 100
18 3 6 0007.6 6960 4616 Accepted 100
19 3 6 0004.4 6460 4036 Accepted 100
20 3 4 6 0006.2 6956 4548 Accepted 100
21 4 6 0333.2 68968 66156 Accepted 100
22 4 6 0170.0 44236 41556 Accepted 100
23 4 6 0247.2 59280 56564 Accepted 100
24 4 6 0222.3 43572 40840 Accepted 100
25 4 6 0227.6 54904 52100 Accepted 100
26 4 6 0193.6 48008 45240 Accepted 100
27 4 6 0263.0 63200 60264 Accepted 100
28 4 6 0147.2 40404 37844 Accepted 100
29 4 6 0205.8 47528 44672 Accepted 100
30 4 6 0253.5 52588 49836 Accepted 100
31 5 6 0297.7 50488 46928 Accepted 100
32 5 6 0197.0 36704 33736 Accepted 100
33 5 6 0249.7 37220 34376 Accepted 100
34 5 6 0218.7 34400 31676 Accepted 100
35 5 6 0296.0 45600 42964 Accepted 100
36 5 6 0472.3 59044 56036 Accepted 100
37 4 5 6 0324.8 57728 55120 Accepted 100
38 4 5 6 0342.0 59096 56300 Accepted 100
39 5 6 0361.3 58232 54888 Accepted 100
40 5 6 0272.7 46524 42760 Accepted 100
41 5 6 0287.8 41644 38964 Accepted 100
42 5 6 0437.5 54808 52188 Accepted 100
43 5 6 0260.2 40948 38132 Accepted 100
44 5 6 0286.6 41800 38900 Accepted 100
45 5 6 0263.0 44688 42044 Accepted 100
46 4 5 6 0404.4 68528 65808 Accepted 100
47 5 6 0288.9 49240 45192 Accepted 100
48 5 6 0203.2 38144 35112 Accepted 100
49 5 6 0451.3 56264 53384 Accepted 100
50 5 6 0401.0 51996 49220 Accepted 100
51 6 0371.8 53908 51148 Accepted 100
52 6 0463.0 60160 57340 Accepted 100
53 6 0329.2 54696 51948 Accepted 100
54 4 6 0362.9 61408 58772 Accepted 100
55 6 0166.3 33892 30896 Accepted 100
56 6 0258.8 46500 42532 Accepted 100
57 6 0359.0 47916 44936 Accepted 100
58 6 0281.4 40704 37972 Accepted 100
59 6 0411.5 58576 55760 Accepted 100
60 6 0295.9 43536 40844 Accepted 100
61 4 6 0401.6 66948 64212 Accepted 100
62 4 6 0255.3 46336 43624 Accepted 100
63 6 0377.0 60668 57344 Accepted 100
64 6 0373.4 59536 56232 Accepted 100
65 6 0479.4 59780 56868 Accepted 100
66 6 0277.1 41080 38080 Accepted 100
67 6 0270.9 42796 39960 Accepted 100
68 6 0302.7 43092 40392 Accepted 100
69 6 0235.5 41352 38628 Accepted 100
70 4 6 0203.9 40076 37336 Accepted 100
71 3 5 6 0003.4 6324 3884 Accepted 100
72 5 6 0286.1 45896 41972 Accepted 100
73 4 6 0478.6 72676 69736 Accepted 100
74 4 6 0485.2 72672 69644 Accepted 100
75 4 6 0484.1 72668 69640 Accepted 100
76 6 0623.0 63564 59756 Accepted 100
77 6 0616.2 63568 59760 Accepted 100
78 6 0610.0 63568 59756 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.67 KB
Back to Top