Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18171
78712
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 3~10 $M=N-1$,$u_i=i$,$v_i=i+1$。 21 / 21
2 11~25 $N\le 500$,$Q_{upper}=3\times 10^ 5$。 18 / 18
3 11~43 $N\le 500$。 14 / 14
4 44~59 $A=1$。 23 / 23
5 0~77 無額外限制。 24 / 24

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 5 0019.3 26136 17632 Accepted 100
1 5 0019.7 26136 17648 Accepted 100
2 5 0019.4 26136 17656 Accepted 100
3 1 5 0287.4 82256 78560 Accepted 100
4 1 5 0278.2 82256 78712 Accepted 100
5 1 5 0280.3 82256 78596 Accepted 100
6 1 5 0278.2 82256 78700 Accepted 100
7 1 5 0282.9 82252 78696 Accepted 100
8 1 5 0280.8 82252 78636 Accepted 100
9 1 5 0270.4 82256 78508 Accepted 100
10 1 5 0019.4 26136 17628 Accepted 100
11 2 3 5 0037.3 26136 17688 Accepted 100
12 2 3 5 0037.3 26136 17716 Accepted 100
13 2 3 5 0033.3 26136 17764 Accepted 100
14 2 3 5 0019.8 26136 17756 Accepted 100
15 2 3 5 0020.1 26136 17756 Accepted 100
16 2 3 5 0021.3 26136 17820 Accepted 100
17 2 3 5 0021.1 26136 17696 Accepted 100
18 2 3 5 0021.3 26136 17580 Accepted 100
19 2 3 5 0021.0 26136 17716 Accepted 100
20 2 3 5 0019.7 26136 17736 Accepted 100
21 2 3 5 0019.7 26136 17684 Accepted 100
22 2 3 5 0033.6 26136 17732 Accepted 100
23 2 3 5 0033.9 26136 17680 Accepted 100
24 2 3 5 0034.0 26136 17704 Accepted 100
25 2 3 5 0033.7 26136 17744 Accepted 100
26 3 5 0038.0 26136 17712 Accepted 100
27 3 5 0037.4 26136 17680 Accepted 100
28 3 5 0033.7 26136 17712 Accepted 100
29 3 5 0020.0 26136 17704 Accepted 100
30 3 5 0019.4 26136 17680 Accepted 100
31 3 5 0020.7 26136 17748 Accepted 100
32 3 5 0021.2 26136 17824 Accepted 100
33 3 5 0020.2 26136 17688 Accepted 100
34 3 5 0021.2 26136 17756 Accepted 100
35 3 5 0019.5 26136 17764 Accepted 100
36 3 5 0019.3 26136 17688 Accepted 100
37 3 5 0033.9 26136 17696 Accepted 100
38 3 5 0034.2 26136 17704 Accepted 100
39 3 5 0034.1 26136 17568 Accepted 100
40 3 5 0033.8 26136 17744 Accepted 100
41 3 5 0019.5 26136 17656 Accepted 100
42 3 5 0019.6 26136 17540 Accepted 100
43 3 5 0019.5 26136 17648 Accepted 100
44 4 5 0019.2 26136 17780 Accepted 100
45 4 5 0556.2 43560 41024 Accepted 100
46 4 5 0553.9 43560 40956 Accepted 100
47 4 5 0560.0 43560 41004 Accepted 100
48 4 5 0504.4 42372 39872 Accepted 100
49 4 5 0507.7 42504 39836 Accepted 100
50 4 5 0528.2 43032 40516 Accepted 100
51 4 5 0405.4 39864 37256 Accepted 100
52 4 5 0368.5 38280 34588 Accepted 100
53 4 5 0439.5 41316 38476 Accepted 100
54 4 5 0321.6 82252 78604 Accepted 100
55 4 5 0485.7 43692 41044 Accepted 100
56 4 5 0317.6 36960 33308 Accepted 100
57 4 5 0305.1 36996 34252 Accepted 100
58 4 5 0320.3 36960 33628 Accepted 100
59 4 5 0309.8 36984 33652 Accepted 100
60 5 0597.8 44352 41840 Accepted 100
61 5 0599.2 44352 41760 Accepted 100
62 5 0580.7 44352 41784 Accepted 100
63 5 0573.6 43956 41396 Accepted 100
64 5 0538.2 43560 41152 Accepted 100
65 5 0551.5 43164 40628 Accepted 100
66 5 0568.2 44616 42100 Accepted 100
67 5 0409.6 39072 35492 Accepted 100
68 5 0544.0 43692 41136 Accepted 100
69 5 0462.1 42768 40064 Accepted 100
70 5 0453.4 42636 40040 Accepted 100
71 5 0544.1 45672 43028 Accepted 100
72 5 0526.2 44352 41696 Accepted 100
73 5 0529.2 44748 41976 Accepted 100
74 5 0320.9 37116 34144 Accepted 100
75 5 0306.1 37092 34268 Accepted 100
76 5 0343.5 36980 34324 Accepted 100
77 5 0312.3 36960 34036 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.63 KB
Back to Top