Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main()
- {
- ios_base::sync_with_stdio(false);
- cin.tie(NULL);
- cout.tie(NULL);
- string s = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679";
- int n;
- cin>>n;
- cout<<s.substr(0, n+2)<<"\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment