#17过不去
查看原帖
#17过不去
715774
Little_Andyyu楼主2022/5/25 20:51
#include<string.h>
#include<ctype.h>
#include<stdio.h>
char a[5];
int main()
{
	int x=0;
	gets(a);
	x=strlen(a);
	for(int i=0;i<=x-1;i++)//
	{
	   if(isalnum(a[i]))
	   x+=0;
	   else x-=1;
	}
	printf("%d",x);
	return 0;
}
2022/5/25 20:51
加载中...