https://www.luogu.com.cn/problem/P8723
洛谷 P8723 乘法表
string f(int x//10进制数值, int y//要转化为的进制数) {
string now, res;
while (x > 0) {
int add = x % y;
if (add >= 10) {
now += add - 10 + 'A';
} else
now += add + '0';
x /= y;
}
for (int i = 0; i <= now.size() / 2; i++) {
res += now[now.size() - i - 1];
}
return res;
}