本题测试数据和题意不匹配 2020.10.17记录,后续牛客会不会改测试数据不知道 一、用哈希进行排序 #include<bits/stdc++.h> using namespace std; int _hash[5000+5]; int main() { int n,m; while( ~scanf("%d%d",&n,&m) ) { memset(_hash,0,sizeof(_hash)); for(int i=0 ;i<n; ++i) { int temp; scanf("%d",&temp); _hash[temp]++; } for(int...