0
已解决
张百川
新手光能
新手光能
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<ctime>
- #include<cstring>
- #include<string>
- using namespace std;
- int main()
- {
- int n,minn=10000;
- string a;
- cin>>n;
- for(int i=1;i<=n;i++)
- {
- cin>>a;
- cout<<a<<endl;
- if(a.size()<minn)
- {
- minn=a.size();
- }
- }
- cout<<minn;
- return 0;
- }