题解 | #kiki算数#
kiki算数
http://www.nowcoder.com/practice/bcaf710fb58a44e1b678a890e6e90d7c
int main()
{
int a,b;
scanf("%d%d",&a,&b);
if(a+b>100)
{
int num=a+b;
printf("%d",num%100);
}
else if(a+b == 100)
{
printf("0");
}
else if(a+b<100)
{
printf("%d",a+b);
}
return 0;}
CVTE公司福利 685人发布