#include
int fun()
{
char a;
int n = 0;
a = getchar();
while(a !='@' )
{
n++;
a = getchar();
}
return n;
}
void main()
{
int x;
x = fun();
printf("%d",x);
}
欢迎分享,转载请注明来源:内存溢出
#include
int fun()
{
char a;
int n = 0;
a = getchar();
while(a !='@' )
{
n++;
a = getchar();
}
return n;
}
void main()
{
int x;
x = fun();
printf("%d",x);
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)