题解 | #kiki算数#
kiki算数
http://www.nowcoder.com/practice/bcaf710fb58a44e1b678a890e6e90d7c
#include<stdio.h>
int main()
{
int a,b,sum;
scanf("%d\t%d",&a,&b);
if(a/100!=0)
{
a=a%100;
}
else if(b/100!=0)
{
b=b%100;
}
sum=a+b;
if(sum/100!=0)
{
sum=sum%100;
printf("%d",sum);
}
else
{
printf("%d",sum);
}
return 0;
}