题解 | #进制A+B#
进制A+B
http://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
int main()
{
int a =0;
int b =0;
scanf("%x %o",&a,&b);
printf ("%d",a+b);
return 0;
}
进制A+B
http://www.nowcoder.com/practice/6187581174ac48278ca3bccf8d534897
int main()
{
int a =0;
int b =0;
scanf("%x %o",&a,&b);
printf ("%d",a+b);
return 0;
}
相关推荐