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