摘要:
题解: 利用快速排序的思想来寻找第k小的数,可以避免很多不必要的操作 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 5000005, M = 5e6 + 5; 4 int x[N], k; 5 inline int 阅读全文
posted @ 2023-08-18 17:27
上原歩夢
阅读(39)
评论(0)
推荐(0)
摘要:
题解: 这道题最大的坑:32 和 321,32321 > 32132 1 #include <bits/stdc++.h> 2 using namespace std; 3 string a[25]; 4 bool cmp(const string &a, const string &b) 5 { 阅读全文
posted @ 2023-08-18 17:23
上原歩夢
阅读(25)
评论(0)
推荐(0)