题解 1303: 统计数字

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1303: 统计数字(map)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;map<int,int>&nbs……

题目 1303: 统计数字题解

摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; int a[500001],n,ans=1; int main……

1303: 统计数字

摘要:```cpp #include using namespace std; int a[500001],n,ans=1; void qs(int l,int r) { int m=a……

c语言,思路 易懂

摘要:解题思路:                1.先排序                2.比较相邻的元素是否相等,以下两种情况