Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5179
37748
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 0001.4 21520 1268 Accepted 100
1 5 0001.3 21520 1260 Accepted 100
2 5 0001.3 21520 1260 Accepted 100
3 1 5 0097.9 40144 37744 Accepted 100
4 1 5 0095.1 40144 37748 Accepted 100
5 1 5 0094.9 40144 37648 Accepted 100
6 1 5 0095.5 40148 37700 Accepted 100
7 1 5 0096.5 40140 37736 Accepted 100
8 1 5 0095.5 40148 37652 Accepted 100
9 1 5 0092.4 40148 37664 Accepted 100
10 1 5 0001.4 21520 1248 Accepted 100
11 2 3 5 0004.8 21520 1404 Accepted 100
12 2 3 5 0004.8 21520 1380 Accepted 100
13 2 3 5 0004.1 21520 1456 Accepted 100
14 2 3 5 0001.6 21520 1368 Accepted 100
15 2 3 5 0001.6 21520 1432 Accepted 100
16 2 3 5 0001.8 21520 1372 Accepted 100
17 2 3 5 0001.8 21520 1364 Accepted 100
18 2 3 5 0001.8 21520 1400 Accepted 100
19 2 3 5 0001.8 21520 1400 Accepted 100
20 2 3 5 0001.5 21520 1428 Accepted 100
21 2 3 5 0001.5 21520 1396 Accepted 100
22 2 3 5 0004.0 21520 1288 Accepted 100
23 2 3 5 0004.1 21520 1388 Accepted 100
24 2 3 5 0004.0 21520 1364 Accepted 100
25 2 3 5 0004.0 21520 1348 Accepted 100
26 3 5 0004.8 21520 1400 Accepted 100
27 3 5 0004.7 21520 1460 Accepted 100
28 3 5 0004.1 21520 1356 Accepted 100
29 3 5 0001.5 21520 1360 Accepted 100
30 3 5 0001.6 21520 1324 Accepted 100
31 3 5 0001.7 21520 1360 Accepted 100
32 3 5 0001.8 21520 1356 Accepted 100
33 3 5 0001.8 21520 1456 Accepted 100
34 3 5 0001.8 21520 1404 Accepted 100
35 3 5 0001.6 21520 1324 Accepted 100
36 3 5 0001.6 21520 1348 Accepted 100
37 3 5 0004.1 21520 1440 Accepted 100
38 3 5 0004.0 21520 1396 Accepted 100
39 3 5 0004.0 21520 1468 Accepted 100
40 3 5 0004.1 21520 1372 Accepted 100
41 3 5 0001.3 21520 1272 Accepted 100
42 3 5 0001.4 21520 1260 Accepted 100
43 3 5 0001.5 21520 1300 Accepted 100
44 4 5 0001.4 21520 1264 Accepted 100
45 4 5 0151.5 21520 20104 Accepted 100
46 4 5 0153.6 21520 20108 Accepted 100
47 4 5 0151.7 21520 20140 Accepted 100
48 4 5 0144.5 21520 19312 Accepted 100
49 4 5 0139.0 21520 19272 Accepted 100
50 4 5 0147.4 21520 19708 Accepted 100
51 4 5 0111.7 21520 17348 Accepted 100
52 4 5 0100.4 21520 15464 Accepted 100
53 4 5 0119.9 21520 18480 Accepted 100
54 4 5 0100.4 40144 37652 Accepted 100
55 4 5 0138.5 21520 20068 Accepted 100
56 4 5 0084.7 21520 15184 Accepted 100
57 4 5 0078.9 21520 15504 Accepted 100
58 4 5 0084.6 21520 15404 Accepted 100
59 4 5 0078.0 21520 15272 Accepted 100
60 5 0179.1 21520 20104 Accepted 100
61 5 0174.9 21520 20104 Accepted 100
62 5 0175.0 21520 20136 Accepted 100
63 5 0169.5 21520 19944 Accepted 100
64 5 0165.2 21520 19672 Accepted 100
65 5 0157.9 21520 19848 Accepted 100
66 5 0194.7 21520 19884 Accepted 100
67 5 0110.8 21520 15776 Accepted 100
68 5 0166.3 21520 19712 Accepted 100
69 5 0141.0 21520 18636 Accepted 100
70 5 0146.4 21520 18616 Accepted 100
71 5 0173.1 21520 20144 Accepted 100
72 5 0166.5 21520 20124 Accepted 100
73 5 0177.9 21520 20108 Accepted 100
74 5 0084.5 21520 15536 Accepted 100
75 5 0079.1 21520 15552 Accepted 100
76 5 0088.3 21520 15444 Accepted 100
77 5 0079.1 21520 15508 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.71 KB
Back to Top