Guest User

Untitled

a guest
Sep 8th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <algorithm>
  2. #include <cmath>
  3. #include <iostream>
  4. using namespace std;
  5. long long n,cnt,f[10];
  6. int main()
  7. {
  8.     n = 999999999999999956LL;
  9.     for (int i = 0; i < 10; ++i) {
  10.         (long long)(upper_bound(f+1,f+cnt+1,n)-f-1);
  11.         cout << (long long)sqrt(n) << endl;
  12.         cout << (long long)sqrt(n) << endl;
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment