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