Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

20156
82880
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 (KiB) Verdict Score
0 5 12 17456 Accepted 100
1 5 12 17516 Accepted 100
2 5 12 17388 Accepted 100
3 1 5 252 82788 Accepted 100
4 1 5 256 82696 Accepted 100
5 1 5 256 82824 Accepted 100
6 1 5 252 82580 Accepted 100
7 1 5 256 82880 Accepted 100
8 1 5 256 82800 Accepted 100
9 1 5 248 78792 Accepted 100
10 1 5 12 17452 Accepted 100
11 2 3 5 32 18304 Accepted 100
12 2 3 5 32 18384 Accepted 100
13 2 3 5 28 18488 Accepted 100
14 2 3 5 12 17416 Accepted 100
15 2 3 5 12 17572 Accepted 100
16 2 3 5 16 17668 Accepted 100
17 2 3 5 16 17648 Accepted 100
18 2 3 5 16 17652 Accepted 100
19 2 3 5 16 17524 Accepted 100
20 2 3 5 12 17532 Accepted 100
21 2 3 5 12 17520 Accepted 100
22 2 3 5 28 18408 Accepted 100
23 2 3 5 28 18460 Accepted 100
24 2 3 5 28 18336 Accepted 100
25 2 3 5 28 18396 Accepted 100
26 3 5 32 18224 Accepted 100
27 3 5 32 18476 Accepted 100
28 3 5 28 18332 Accepted 100
29 3 5 12 17580 Accepted 100
30 3 5 12 17600 Accepted 100
31 3 5 12 17656 Accepted 100
32 3 5 16 17676 Accepted 100
33 3 5 12 17664 Accepted 100
34 3 5 16 17624 Accepted 100
35 3 5 12 17648 Accepted 100
36 3 5 12 17356 Accepted 100
37 3 5 28 18484 Accepted 100
38 3 5 28 18432 Accepted 100
39 3 5 28 18384 Accepted 100
40 3 5 28 18336 Accepted 100
41 3 5 12 17604 Accepted 100
42 3 5 12 17440 Accepted 100
43 3 5 12 17464 Accepted 100
44 4 5 12 17592 Accepted 100
45 4 5 620 65016 Accepted 100
46 4 5 624 65388 Accepted 100
47 4 5 628 65228 Accepted 100
48 4 5 600 65376 Accepted 100
49 4 5 600 65228 Accepted 100
50 4 5 608 65324 Accepted 100
51 4 5 532 61308 Accepted 100
52 4 5 496 56688 Accepted 100
53 4 5 488 55480 Accepted 100
54 4 5 296 82868 Accepted 100
55 4 5 440 45796 Accepted 100
56 4 5 508 58760 Accepted 100
57 4 5 448 50784 Accepted 100
58 4 5 524 58708 Accepted 100
59 4 5 440 50900 Accepted 100
60 5 640 65284 Accepted 100
61 5 644 65228 Accepted 100
62 5 648 65292 Accepted 100
63 5 636 65352 Accepted 100
64 5 608 65244 Accepted 100
65 5 632 65336 Accepted 100
66 5 624 65304 Accepted 100
67 5 512 57580 Accepted 100
68 5 544 59616 Accepted 100
69 5 472 51048 Accepted 100
70 5 456 51116 Accepted 100
71 5 500 54776 Accepted 100
72 5 460 45724 Accepted 100
73 5 464 45856 Accepted 100
74 5 544 59668 Accepted 100
75 5 440 51632 Accepted 100
76 5 536 58912 Accepted 100
77 5 448 51060 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.2 KB
Back to Top