Advertisement
a53

Becuri

a53
Jan 23rd, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <fstream>
  2. #include <cmath>
  3. using namespace std;
  4. ifstream fin("becuri.in");
  5. ofstream fout("becuri.out");
  6.  
  7. int main()
  8. {
  9. int n;
  10. fin>>n;
  11. fout<<(int)sqrt(n);
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement