Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12573
82708
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.8 26108 16848 Accepted 100
1 5 0020.3 26108 16800 Accepted 100
2 5 0019.9 26108 16856 Accepted 100
3 1 5 0188.6 86916 82576 Accepted 100
4 1 5 0186.8 86916 82708 Accepted 100
5 1 5 0185.4 86916 82576 Accepted 100
6 1 5 0185.1 86912 82544 Accepted 100
7 1 5 0186.6 86912 82528 Accepted 100
8 1 5 0186.8 86916 82576 Accepted 100
9 1 5 0182.3 86912 82492 Accepted 100
10 1 5 0020.0 26108 16864 Accepted 100
11 2 3 5 0023.3 26108 16904 Accepted 100
12 2 3 5 0023.5 26108 16980 Accepted 100
13 2 3 5 0022.9 26108 16936 Accepted 100
14 2 3 5 0019.9 26108 17052 Accepted 100
15 2 3 5 0020.2 26108 16940 Accepted 100
16 2 3 5 0020.4 26108 16960 Accepted 100
17 2 3 5 0020.3 26108 16996 Accepted 100
18 2 3 5 0020.4 26108 17092 Accepted 100
19 2 3 5 0020.4 26108 16980 Accepted 100
20 2 3 5 0020.1 26108 17104 Accepted 100
21 2 3 5 0020.3 26108 17044 Accepted 100
22 2 3 5 0022.9 26108 17072 Accepted 100
23 2 3 5 0022.9 26108 16960 Accepted 100
24 2 3 5 0022.7 26108 16976 Accepted 100
25 2 3 5 0022.9 26108 16960 Accepted 100
26 3 5 0023.4 26108 16924 Accepted 100
27 3 5 0023.4 26108 16908 Accepted 100
28 3 5 0023.0 26108 16980 Accepted 100
29 3 5 0020.4 26108 17052 Accepted 100
30 3 5 0020.3 26108 16924 Accepted 100
31 3 5 0020.3 26108 16984 Accepted 100
32 3 5 0020.3 26108 16968 Accepted 100
33 3 5 0020.4 26108 16912 Accepted 100
34 3 5 0020.5 26108 17096 Accepted 100
35 3 5 0019.7 26108 17004 Accepted 100
36 3 5 0020.3 26108 16924 Accepted 100
37 3 5 0022.8 26108 16980 Accepted 100
38 3 5 0022.7 26108 16896 Accepted 100
39 3 5 0022.8 26108 16956 Accepted 100
40 3 5 0023.0 26108 16980 Accepted 100
41 3 5 0019.9 26108 16880 Accepted 100
42 3 5 0020.1 26108 16848 Accepted 100
43 3 5 0020.3 26108 16860 Accepted 100
44 4 5 0020.1 26108 16820 Accepted 100
45 4 5 0357.4 43532 40492 Accepted 100
46 4 5 0345.7 43532 40500 Accepted 100
47 4 5 0346.1 43532 40512 Accepted 100
48 4 5 0379.9 42344 39232 Accepted 100
49 4 5 0344.0 42476 39272 Accepted 100
50 4 5 0353.3 43004 39812 Accepted 100
51 4 5 0291.5 39836 36592 Accepted 100
52 4 5 0251.3 38384 33956 Accepted 100
53 4 5 0308.0 41288 37880 Accepted 100
54 4 5 0192.4 86912 82520 Accepted 100
55 4 5 0323.5 43664 40364 Accepted 100
56 4 5 0239.9 36956 32472 Accepted 100
57 4 5 0238.1 36932 33456 Accepted 100
58 4 5 0241.8 36960 32844 Accepted 100
59 4 5 0233.7 36932 32796 Accepted 100
60 5 0396.7 44324 41092 Accepted 100
61 5 0392.1 44324 41044 Accepted 100
62 5 0383.0 44324 41052 Accepted 100
63 5 0374.2 43928 40624 Accepted 100
64 5 0371.4 43664 40300 Accepted 100
65 5 0361.9 43136 39900 Accepted 100
66 5 0380.0 44720 41556 Accepted 100
67 5 0266.5 39044 35088 Accepted 100
68 5 0363.5 43664 40576 Accepted 100
69 5 0334.9 42740 39388 Accepted 100
70 5 0337.1 42608 39324 Accepted 100
71 5 0389.7 45644 42484 Accepted 100
72 5 0361.8 44324 40984 Accepted 100
73 5 0374.9 44720 41500 Accepted 100
74 5 0226.5 37064 33692 Accepted 100
75 5 0236.3 37072 33460 Accepted 100
76 5 0234.3 36932 33748 Accepted 100
77 5 0233.9 36944 33316 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.55 KB
Back to Top