Language: C++

//
//  supercon.cpp
//
//
//  Created by Fourier Shuzaei on 2018/06/02.
//

#include "bits/stdc++.h"
using namespace std;
#define ri(a,b,c) for(int a=(b);a<(c);++a)
#define ll long long
#define rll(a,b,c) for(ll a=(b);a<(c);++a)

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
  cin>>n>>k;
  ri(i,0,n){
    cin>>a;
    if(a==1)b=i;
  }
  














    cout<<n/(k-1)<<"\n";
}



Compiler output:
a.cc: In function 'int main()':
a.cc:18:11: error: 'b' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |           ^
a.cc:18:13: error: 'c' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |             ^
a.cc:18:15: error: 'd' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |               ^
a.cc:18:17: error: 'e' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                 ^
a.cc:18:19: error: 'f' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                   ^
a.cc:18:21: error: 'g' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                     ^
a.cc:18:23: error: 'h' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                       ^
a.cc:18:25: error: 'i' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                         ^
a.cc:18:27: error: 'j' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                           ^
a.cc:18:29: error: 'k' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                             ^
a.cc:18:31: error: 'l' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                               ^
a.cc:18:33: error: 'm' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                 ^
a.cc:18:35: error: 'n' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                   ^
a.cc:18:37: error: 'o' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                     ^
a.cc:18:39: error: 'p' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                       ^
a.cc:18:41: error: 'q' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                         ^
a.cc:18:43: error: 'r' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                           ^
a.cc:18:45: error: 's' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                             ^
a.cc:18:47: error: 't' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                               ^
a.cc:18:49: error: 'u' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                 ^
a.cc:18:51: error: 'v' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                   ^
a.cc:18:53: error: 'w' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                     ^
a.cc:18:55: error: 'x' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                       ^
a.cc:18:57: error: 'y' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                         ^
a.cc:18:59: error: 'z' was not declared in this scope
   18 |     int a;b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
      |                                                           ^