用桶的思想就好了,太简单了,上代码:
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, a[105], t[1005] = {
用桶的思想就好了,太简单了,上代码:
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, a[105], t[1005] = {