emm
查看原帖
emm
1419307
k115414_楼主2024/12/17 21:38
#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,q,wei=0,best=0;
    cin>>a;
    for(int i=1;i<=a;i++){
    	cin>>q;
    	wei=0;
    	while(q<=0){
    		q/10;
    		wei++;
		}
		if(best<wei){
			best=wei;
		}
	}
	cout<<best;
    return 0;
}
2024/12/17 21:38
加载中...