func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int i, N, minim, maxim;     long long M;     scanf( %d %I64d , &N, &M);     maxim = 0;     if (2 * M < N)       minim = N - 2 * M;     else       minim = 0;     if (M == 0)       maxim = N;     else       for (i = 1; i <= N; ++i)         if (1LL * i * (i - 1) / 2 >= M) {           maxim = N - i;           break;         }     printf( %d %d n , minim, maxim);     return 0;   }   