以下N行每行一個整數(shù)Ai。
對于40%的數(shù)據(jù),1 <= K <= N <= 100
對于60%的數(shù)據(jù),1 <= K <= 1000
對于100%的數(shù)據(jù),1 <= K <= N <= 100000 -100000 <= Ai <= 100000
5 3 -100000 -10000 2 100000 10000
999100009
2018年真題精選
2194,2276,2277,2279,2280,2281,2282,2283,2284,2285,2286,2287,
2288,2291,2292,2294,2296
2194,2276,2277,2279,2280,2281,2282,2283,2284,2285,2286,2287,
2288,2291,2292,2294,2296