2 solutions

  • 0
    @ 2025-3-8 14:58:08

    #include<bits/stdc++.h> using namespace std; int main() { double r; cin>>r; double d=2r; double c=23.14159r; double s=3.14159r*r; cout<<fixed<<setprecision(4)<<d<<" "<<c<<" "<<s; return 0; }

    Information

    ID
    844
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    259
    Accepted
    72
    Uploaded By