# Score

17196
58068
23

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

# Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 5 12 17532 Accepted 100
1 5 12 17556 Accepted 100
2 5 12 17624 Accepted 100
3 1 5 260 57936 Wrong Answer 0
4 1 5 256 57944 Wrong Answer 0
5 1 5 260 58068 Wrong Answer 0
6 1 5 256 57944 Wrong Answer 0
7 1 5 256 57940 Wrong Answer 0
8 1 5 252 57940 Wrong Answer 0
9 1 5 240 58068 Wrong Answer 0
10 1 5 12 17440 Accepted 100
11 2 3 5 32 17668 Wrong Answer 0
12 2 3 5 28 17412 Wrong Answer 0
13 2 3 5 28 17604 Wrong Answer 0
14 2 3 5 12 17672 Accepted 100
15 2 3 5 12 17560 Wrong Answer 0
16 2 3 5 12 17452 Wrong Answer 0
17 2 3 5 12 17576 Wrong Answer 0
18 2 3 5 16 17668 Wrong Answer 0
19 2 3 5 16 17412 Wrong Answer 0
20 2 3 5 12 17632 Wrong Answer 0
21 2 3 5 12 17656 Wrong Answer 0
22 2 3 5 28 17552 Accepted 100
23 2 3 5 28 17524 Wrong Answer 0
24 2 3 5 24 17472 Accepted 100
25 2 3 5 28 17392 Accepted 100
26 3 5 28 17368 Wrong Answer 0
27 3 5 28 17472 Wrong Answer 0
28 3 5 28 17480 Wrong Answer 0
29 3 5 12 17488 Accepted 100
30 3 5 12 17560 Wrong Answer 0
31 3 5 16 17600 Wrong Answer 0
32 3 5 16 17448 Wrong Answer 0
33 3 5 16 17480 Wrong Answer 0
34 3 5 16 17556 Wrong Answer 0
35 3 5 12 17640 Wrong Answer 0
36 3 5 12 17416 Wrong Answer 0
37 3 5 28 17472 Accepted 100
38 3 5 28 17396 Accepted 100
39 3 5 28 17416 Accepted 100
40 3 5 28 17544 Accepted 100
41 3 5 12 17568 Accepted 100
42 3 5 12 17520 Accepted 100
43 3 5 12 17408 Accepted 100
44 4 5 12 17568 Accepted 100
45 4 5 532 36300 Accepted 100
46 4 5 536 36248 Accepted 100
47 4 5 532 36268 Accepted 100
48 4 5 480 35704 Accepted 100
49 4 5 512 35700 Accepted 100
50 4 5 508 35992 Accepted 100
51 4 5 404 33952 Accepted 100
52 4 5 368 31776 Accepted 100
53 4 5 424 34976 Accepted 100
54 4 5 268 57920 Accepted 100
55 4 5 448 36304 Accepted 100
56 4 5 320 31268 Accepted 100
57 4 5 292 31524 Accepted 100
58 4 5 320 31404 Accepted 100
59 4 5 320 31388 Accepted 100
60 5 568 37828 Wrong Answer 0
61 5 600 37748 Wrong Answer 0
62 5 568 37748 Wrong Answer 0
63 5 544 37496 Wrong Answer 0
64 5 536 37304 Wrong Answer 0
65 5 524 36192 Wrong Answer 0
66 5 560 38792 Wrong Answer 0
67 5 388 32632 Wrong Answer 0
68 5 516 37324 Wrong Answer 0
69 5 436 37224 Wrong Answer 0
70 5 436 37252 Wrong Answer 0
71 5 524 40272 Accepted 100
72 5 496 37576 Wrong Answer 0
73 5 496 38096 Wrong Answer 0
74 5 324 31612 Accepted 100
75 5 304 31636 Wrong Answer 0
76 5 332 31388 Wrong Answer 0
77 5 296 31480 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.51 KB