如果这样呢?
#include <stdio.h>
main()
{int a,b,c,d;
scanf("%d,%d",&a,&b);
c=a*a+b*b;
d=a+b;
if(c>100)
printf("jie guo shi (c-c%100)/100");
else
printf("jie guo shi %d\n",d);
}
#include <stdio.h>
main()
{int a,b,c,d;
scanf("%d,%d",&a,&b);
c=a*a+b*b;
d=a+b;
if(c>100)
printf("jie guo shi (c-c%100)/100");
else
printf("jie guo shi %d\n",d);
}