aboutsummaryrefslogtreecommitdiff
path: root/UVA/PIDigits/main.cpp
blob: 511c72a2178223f0ed3ff46bfb2bfc2b1f2ebde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<bits/stdc++.h>
#include <iomanip>

using namespace std;

typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;

#define INF 1000000000

int main () {
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
  int n;
  cin >> n;
  double PI = acos(-1);
  cout << setprecision(n + 1) << PI << '\n';
}