Ŀ

գҪıйص䡣
һ repeat (0<repeat<10) repeat 㣺
ʮơ˽ƺʮʽÿʮơ˽ƺʮʽ
ʾ˵
룺
1          (repeat=1)
31 11 1a   (ʮ31˽11ʮ1a)

The decimal is 31, the octal is 37, the hexadecimal is 1f.  (ʮ31ʮơ˽ƺʮʽ31, 37, 1f)
The decimal is 9, the octal is 11, the hexadecimal is 9.   ˽11ʮơ˽ƺʮʽ9, 11, 9)
The decimal is 26, the octal is 32, the hexadecimal is 1a. ʮ1aʮơ˽ƺʮʽ26, 32, 1a)



#include <stdio.h>
int main(void)
{
    int decimal, octal, hexadecimal;
    int repeat, ri;

    scanf("%d", &repeat);
    for(ri = 1; ri <= repeat; ri++){
        scanf("%d%o%x", &decimal, &octal, &hexadecimal);
/*---------*/
    }
}

