Advertisement
AquaBlitz11

TASK_066 - AquaBlitz11's Solution

Mar 5th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int n;
  7.     scanf("%d", &n);
  8.     double ans = ((n-2)*180.0) / n;
  9.     printf("%.6f\n", ans);
  10.    
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement