Case后面有空格
AC答案:
#include
using namespace std;
int main()
{
// freopen("in.txt","r",stdin);
int n,m,t;
scanf("%d",&t);
while(t--)
{
int kcase=0;
while(scanf("%d%d",&n,&m)!=EOF && n!=0)
{
kcase++;
int a,b,dig=0;
for(a=1; a
double temp=(double)(a*a+b*b+m)/(a*b);
if((temp-(int)temp)==0)
dig++;
}
cout<<"Case "<
if(t)
cout<
return 0;
}