5 solutions

  • 0
    @ 2022-11-26 13:01:09
    #include<iomanip>
    #include<math.h>
    
    #define PI acos(-1)
    
    using namespace std;
    
    int main(){
    	int r;
    	cin >> r;
    	cout << setiosflags(ios::fixed)<<setprecision(7) << PI * r * r << endl;
    }
    

    Information

    ID
    36
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    7
    Tags
    # Submissions
    1971
    Accepted
    383
    Uploaded By