A.
/*从大往小依次除*/#include #include #include #include #include #include
B.
/*发现每个路口何时进去是能算出来的 所以O1扫一遍即可 */#include #include #include #include #include #include
C.
D.
/*贪心的写法 每次 选择最靠左的一个不连续的 将右边的贪心移动过来 */#include #include #include #include #include #include