1、
string s = to_string(a * b); //int 转string
reverse(s.begin(), s.end());
printf("%d", stoi(s));//string转int
string int
猜你喜欢
转载自blog.csdn.net/weixin_43719397/article/details/84475345
今日推荐
周排行