Created
July 24, 2022 14:42
-
-
Save modos/6312df85afbebabff9bedf84d4987b0d to your computer and use it in GitHub Desktop.
مساحت پیچیده
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main() | |
{ | |
double a; | |
cin >> a; | |
printf("%.15lf", a*a * (1 + (M_PI / 3) - sqrt(3))); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment