Language: C++

v#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ldb = long double;
using pa = pair < ll, ll >;
using vec = vector < ll >;
#define pb push_back
#define po pop_back
#define mp make_pair
#define mt make_tuple
#define F  first
#define S  second
#define f(i,x,n) for(ll i=x;i<n;i++) 
#define unique_sort(x) sort(all(x)), x.resize(distance(x.begin(), unique(all(x))))
#define all(c) c.begin(),c.end()
#define str string
#define edl "\n"
#define add insert
#define cot continue
#define fast() ios_base::sync_with_stdio(false);cin.tie(NULL)
const int MOD = 1e9 + 7, INF = INT_MAX, N = 1e5 + 10;
const double PI = acos(-1);
const ll LINF = LLONG_MAX;

vec q(300001,0);
int main() 
{

 fast();
  

  ll a,b;
  cin>>a>>b;
  if(b==1)
  {
    cout<<0;
    return 0;
  }
  a--;
  ll s=1;
  f(i,1,10001)
  {
      s+=a;
   
      if(s>=b)
      {
        cout<<i<<edl;
        return 0;
      }
  }
  

 
  cerr << "Time taken: " << int((clock() * 1000.) / CLOCKS_PER_SEC) << "ms\n";
    return 0;
}
 


Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | v#include <bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'v' does not name a type
    1 | v#include <bits/stdc++.h>
      | ^
a.cc:5:12: error: 'pair' does not name a type
    5 | using pa = pair < ll, ll >;
      |            ^~~~
a.cc:6:13: error: 'vector' does not name a type
    6 | using vec = vector < ll >;
      |             ^~~~~~
a.cc:21:32: error: 'INT_MAX' was not declared in this scope
   21 | const int MOD = 1e9 + 7, INF = INT_MAX, N = 1e5 + 10;
      |                                ^~~~~~~
a.cc:1:1: note: 'INT_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
  +++ |+#include <climits>
    1 | v#include <bits/stdc++.h>
a.cc:22:19: error: 'acos' was not declared in this scope
   22 | const double PI = acos(-1);
      |                   ^~~~
a.cc:23:17: error: 'LLONG_MAX' was not declared in this scope
   23 | const ll LINF = LLONG_MAX;
      |                 ^~~~~~~~~
a.cc:23:17: note: 'LLONG_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
a.cc:25:1: error: 'vec' does not name a type
   25 | vec q(300001,0);
      | ^~~
a.cc: In function 'int main()':
a.cc:20:16: error: 'ios_base' has not been declared
   20 | #define fast() ios_base::sync_with_stdio(false);cin.tie(NULL)
      |                ^~~~~~~~
a.cc:29:2: note: in expansion of macro 'fast'
   29 |  fast();
      |  ^~~~
a.cc:20:49: error: 'cin' was not declared in this scope
   20 | #define fast() ios_base::sync_with_stdio(false);cin.tie(NULL)
      |                                                 ^~~
a.cc:29:2: note: in expansion of macro 'fast'
   29 |  fast();
      |  ^~~~
a.cc:20:57: error: 'NULL' was not declared in this scope
   20 | #define fast() ios_base::sync_with_stdio(false);cin.tie(NULL)
      |                                                         ^~~~
a.cc:29:2: note: in expansion of macro 'fast'
   29 |  fast();
      |  ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | v#include <bits/stdc++.h>
a.cc:36:5: error: 'cout' was not declared in this scope; did you mean 'cot'?
   36 |     cout<<0;
      |     ^~~~
      |     cot
a.cc:47:9: error: 'cout' was not declared in this scope; did you mean 'cot'?
   47 |         cout<<i<<edl;
      |         ^~~~
      |         cot
a.cc:54:3: error: 'cerr' was not declared in this scope
   54 |   cerr << "Time taken: " << int((clock() * 1000.) / CLOCKS_PER_SEC) << "ms\n";
      |   ^~~~
a.cc:54:34: error: 'clock' was not declared in this scope
   54 |   cerr << "Time taken: " << int((clock() * 1000.) / CLOCKS_PER_SEC) << "ms\n";
      |                                  ^~~~~
a.cc:1:1: note: 'clock' is defined in header '<ctime>'; this is probably fixable by adding '#include <ctime>'
  +++ |+#include <ctime>
    1 | v#include <bits/stdc++.h>
a.cc:54:53: error: 'CLOCKS_PER_SEC' was not declared in this scope
   54 |   cerr << "Time taken: " << int((clock() * 1000.) / CLOCKS_PER_SEC) << "ms\n";
      |                                                     ^~~~~~~~~~~~~~