Output Limit Exceeded (OLE) :
Your program tried to write too much information. This usually occurs if it goes into a infinite loop.
不知道你的代码是否改过、没做修改直接贴上去就ac了;
已AC。
#include
#include
void main()
{
char a[1000];
int n,flge,i;
scanf("%d",&n);
getchar();
while(n--)
{
flge=i=0;
gets(a);
while(a[i++]!='\0')
{
if(a[i]<0)
{
flge++;
i++;
}
}
printf("%d\n",flge);
}
}