HUST Online Judge WebBoard
Problem 4141 >> 编译错误
201803010212 @ 2019-05-22 09:31:42
[ Quote ] [ Edit ] [ Delete ] 1#
#include<stdio.h>
#include<string.h>
int main()
{
char a[10000];
int i,j,m,t=0;
for(i=1;;i++)
{
scanf("%s",a);
if(a[0]=='\n ')
break;
m=strlen(a);
printf("Case #%d:\n",i);
for(j=0;j<m;j++)
{

if(a[j]>='A'&&a[j]<='Z')
{
printf("%c",a[j]);
t++;
}
}
if(t==0)
printf("NO\n\n");
else
{
printf("\n\n");
t=0;
}
}
return 0;
}