#include <vector> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param a int整型vector * @param n int整型 * @param K int整型 * @return int整型 */ // int partion(vector<int>& a, int low, int high) { // int temp = a[low]; // while (low < high) { // while (low <...