Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17812
65052
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 0010.9 18228 10432 Accepted 100
1 5 0010.9 18228 10592 Accepted 100
2 5 0011.0 18228 10580 Accepted 100
3 1 5 0252.2 73696 64980 Accepted 100
4 1 5 0244.2 66404 59840 Accepted 100
5 1 5 0249.2 70816 63416 Accepted 100
6 1 5 0244.9 67944 62676 Accepted 100
7 1 5 0249.4 66396 61308 Accepted 100
8 1 5 0254.7 74464 65052 Accepted 100
9 1 5 0245.0 74124 63932 Accepted 100
10 1 5 0010.5 18228 10648 Accepted 100
11 2 3 5 0031.4 19416 11664 Accepted 100
12 2 3 5 0031.3 19416 11556 Accepted 100
13 2 3 5 0027.5 19416 11572 Accepted 100
14 2 3 5 0011.4 18228 10720 Accepted 100
15 2 3 5 0011.5 18228 10748 Accepted 100
16 2 3 5 0012.7 18360 10816 Accepted 100
17 2 3 5 0012.7 18360 10728 Accepted 100
18 2 3 5 0012.7 18360 10832 Accepted 100
19 2 3 5 0012.8 18360 10812 Accepted 100
20 2 3 5 0010.8 18228 10724 Accepted 100
21 2 3 5 0011.0 18228 10680 Accepted 100
22 2 3 5 0027.6 19416 11608 Accepted 100
23 2 3 5 0027.5 19416 11596 Accepted 100
24 2 3 5 0028.2 19416 11292 Accepted 100
25 2 3 5 0027.3 19416 11520 Accepted 100
26 3 5 0031.8 19416 11648 Accepted 100
27 3 5 0031.1 19416 11708 Accepted 100
28 3 5 0027.6 19416 11648 Accepted 100
29 3 5 0011.2 18228 10684 Accepted 100
30 3 5 0011.5 18228 10712 Accepted 100
31 3 5 0012.6 18360 10820 Accepted 100
32 3 5 0012.9 18360 10824 Accepted 100
33 3 5 0012.5 18360 10800 Accepted 100
34 3 5 0012.8 18360 10940 Accepted 100
35 3 5 0011.1 18228 10680 Accepted 100
36 3 5 0011.1 18228 10496 Accepted 100
37 3 5 0027.6 19416 11628 Accepted 100
38 3 5 0027.5 19416 11620 Accepted 100
39 3 5 0027.6 19416 11576 Accepted 100
40 3 5 0027.5 19416 11644 Accepted 100
41 3 5 0010.5 18228 10612 Accepted 100
42 3 5 0010.6 18228 10620 Accepted 100
43 3 5 0010.6 18228 10596 Accepted 100
44 4 5 0010.6 18228 10628 Accepted 100
45 4 5 0569.6 62036 52912 Accepted 100
46 4 5 0534.6 58948 50216 Accepted 100
47 4 5 0540.5 55880 50804 Accepted 100
48 4 5 0504.0 55944 49388 Accepted 100
49 4 5 0497.6 55888 49420 Accepted 100
50 4 5 0525.9 55852 50260 Accepted 100
51 4 5 0449.9 52812 47960 Accepted 100
52 4 5 0421.7 51264 44700 Accepted 100
53 4 5 0406.0 47908 42192 Accepted 100
54 4 5 0295.0 67940 61240 Accepted 100
55 4 5 0399.3 46408 37052 Accepted 100
56 4 5 0407.8 48616 41728 Accepted 100
57 4 5 0340.1 43276 36492 Accepted 100
58 4 5 0421.3 48992 41944 Accepted 100
59 4 5 0336.0 43288 36848 Accepted 100
60 5 0579.7 58948 50880 Accepted 100
61 5 0573.4 55872 49244 Accepted 100
62 5 0557.8 55912 48740 Accepted 100
63 5 0552.9 55920 49120 Accepted 100
64 5 0539.6 56124 48756 Accepted 100
65 5 0553.0 55900 50316 Accepted 100
66 5 0559.1 54376 48972 Accepted 100
67 5 0441.5 52760 45256 Accepted 100
68 5 0489.8 54088 45192 Accepted 100
69 5 0406.4 47492 40900 Accepted 100
70 5 0406.6 45256 39096 Accepted 100
71 5 0457.0 47496 42368 Accepted 100
72 5 0413.4 43532 35004 Accepted 100
73 5 0415.8 40268 33444 Accepted 100
74 5 0517.9 53180 45600 Accepted 100
75 5 0450.2 44824 38300 Accepted 100
76 5 0460.3 50500 43460 Accepted 100
77 5 0369.9 43352 36816 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.75 KB
Back to Top