1086 就不告诉你 (15 分)

#include <bits/stdc++.h>
#define ll long long
using namespace std;
string stream1(ll i)
{
    stringstream stream;
    stream<<i;
    return stream.str();
}//int数字转字符串
int main()
{
    int a,b;
    scanf("%d %d",&a,&b);
    ll c = a*b;
    string s =stream1(c);
    reverse(s.begin(),s.end());
    cout<<stoi(s)<<endl;
    return 0;
}
原文地址:https://www.cnblogs.com/tonyyy/p/10459900.html