题解 | #进制A+B#
进制A+B
https://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
#include <stdio.h> int main(void) { int a,b; scanf("%x",&a); scanf("%o",&b); printf("%d\n",a+b); return 0; }
进制A+B
https://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
#include <stdio.h> int main(void) { int a,b; scanf("%x",&a); scanf("%o",&b); printf("%d\n",a+b); return 0; }
相关推荐