5 solutions

  • 1
    @ 2025-10-12 16:14:12
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        double n;
        cin>>n;
        printf("%.4lf ",2*n);
    	printf("%.4lf ",2*3.14159*n);
    	printf("%.4lf ",3.14159*n*n);
        return 0;
    }
    
    

    Information

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