帮帮
查看原帖
帮帮
1356594
zhenghaoHoney楼主2024/9/25 19:35
#include<iostream>
#include<cmath>
#include<string>
#include<cstring>
#include<algorithm>

using namespace std;

int  a,b=0,c,c2,n,a2[205],m=1;
int main(){ 
	while(cin>>a)
	{
		n++;
		if(a==b)
		{
			c++;
		}
		else
		{
			a2[m]==c;
			c2++;
			c==0;
		}
	}
	a2[0]=sqrt(n);
	for(int i=0;i<sqrt(0);i++)
	{
		cout<<a2[i];
	}
	return 0;
}
2024/9/25 19:35
加载中...