蒟蒻求助
查看原帖
蒟蒻求助
340573
QHWLL楼主2020/5/2 21:39
#include <iostream>
using namespace std;
int main()
{
    float a,b,c,d,e;
    cin>>a;
    b=a/100;
    c=a%100/10;
    d=a%100%10/1;
    e=a%100%10%1;
    a=e*10*100+d*10+c+b/10;
    cout<<a;
    return 0;
}
2020/5/2 21:39
加载中...