4 solutions

  • 1
    @ 2025-12-3 17:12:32

    #include<bits/stdc++.h> using namespace std; int main(){ double p; int q,a,b,c,d; cin>>p; q=(p*10); a=q/1000; b=q/100%10; c=q/10 % 10; d=q%10; cout<<d<<"."<<c<<b<<a<<endl; return 0; }

    Information

    ID
    1326
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    188
    Accepted
    82
    Uploaded By