NYOJ:16进制的简单运算

#include <stdio.h>int main(){    int T;    scanf("%d",&T);    while(T--)    {        int a,b;        char x;        scanf("%x%c%x",&a,&x,&b);        if(x=='+')            printf("%o\n",a+b);        if
相关文章
相关标签/搜索