# Score

17452
55564
Accepted
100

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 (KiB) Verdict Score
0 5 8 10412 Accepted 100
1 5 8 10412 Accepted 100
2 5 8 10272 Accepted 100
3 1 5 224 55416 Accepted 100
4 1 5 224 50324 Accepted 100
5 1 5 220 53852 Accepted 100
6 1 5 220 53216 Accepted 100
7 1 5 224 51668 Accepted 100
8 1 5 224 55564 Accepted 100
9 1 5 220 54444 Accepted 100
10 1 5 8 10476 Accepted 100
11 2 3 5 28 11448 Accepted 100
12 2 3 5 28 11192 Accepted 100
13 2 3 5 24 11400 Accepted 100
14 2 3 5 8 10580 Accepted 100
15 2 3 5 8 10556 Accepted 100
16 2 3 5 8 10540 Accepted 100
17 2 3 5 8 10600 Accepted 100
18 2 3 5 8 10648 Accepted 100
19 2 3 5 8 10508 Accepted 100
20 2 3 5 8 10588 Accepted 100
21 2 3 5 8 10540 Accepted 100
22 2 3 5 24 11240 Accepted 100
23 2 3 5 24 11412 Accepted 100
24 2 3 5 24 11256 Accepted 100
25 2 3 5 36 11348 Accepted 100
26 3 5 28 11144 Accepted 100
27 3 5 28 11188 Accepted 100
28 3 5 24 11388 Accepted 100
29 3 5 8 10508 Accepted 100
30 3 5 8 10700 Accepted 100
31 3 5 8 10588 Accepted 100
32 3 5 8 10616 Accepted 100
33 3 5 8 10444 Accepted 100
34 3 5 8 10644 Accepted 100
35 3 5 8 10524 Accepted 100
36 3 5 8 10456 Accepted 100
37 3 5 24 11348 Accepted 100
38 3 5 24 11348 Accepted 100
39 3 5 24 11308 Accepted 100
40 3 5 24 11296 Accepted 100
41 3 5 8 10276 Accepted 100
42 3 5 8 10440 Accepted 100
43 3 5 8 10416 Accepted 100
44 4 5 8 10372 Accepted 100
45 4 5 560 47992 Accepted 100
46 4 5 536 45168 Accepted 100
47 4 5 548 45860 Accepted 100
48 4 5 520 44404 Accepted 100
49 4 5 492 44348 Accepted 100
50 4 5 532 45364 Accepted 100
51 4 5 448 43032 Accepted 100
52 4 5 420 39924 Accepted 100
53 4 5 424 38408 Accepted 100
54 4 5 272 51688 Accepted 100
55 4 5 404 36988 Accepted 100
56 4 5 412 36772 Accepted 100
57 4 5 344 32924 Accepted 100
58 4 5 420 36872 Accepted 100
59 4 5 348 33120 Accepted 100
60 5 596 45820 Accepted 100
61 5 588 44372 Accepted 100
62 5 576 43792 Accepted 100
63 5 576 44352 Accepted 100
64 5 556 43800 Accepted 100
65 5 556 45312 Accepted 100
66 5 568 43884 Accepted 100
67 5 448 40536 Accepted 100
68 5 480 41552 Accepted 100
69 5 412 38240 Accepted 100
70 5 412 36328 Accepted 100
71 5 456 39748 Accepted 100
72 5 424 34612 Accepted 100
73 5 436 33164 Accepted 100
74 5 448 40524 Accepted 100
75 5 356 34524 Accepted 100
76 5 432 38380 Accepted 100
77 5 340 33064 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.75 KB