Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int x;
	cin >> x;

	for(int i0=0;i0<x/100;i0++){
		if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
		for(int i1=0;i1<x/100;i1++){
			if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
			for(int i2=0;i2<x/100;i2++){
				for(int i3=0;i3<x/100;i3++){
					if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
					for(int i4=0;i4<x/100;i4++){
						if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
						for(int i5=0;i5<x/100;i5++){
							if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
							if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5==x){
								cout << 1 << endl;
								return 0;
							}
						}
					}
				}
			}
		}
	}
	cout << 0 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:31: error: 'i1' was not declared in this scope; did you mean 'i0'?
    9 |                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                               ^~
      |                               i0
a.cc:9:38: error: 'i2' was not declared in this scope; did you mean 'i0'?
    9 |                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                      ^~
      |                                      i0
a.cc:9:45: error: 'i3' was not declared in this scope; did you mean 'i0'?
    9 |                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                             ^~
      |                                             i0
a.cc:9:52: error: 'i4' was not declared in this scope; did you mean 'i0'?
    9 |                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                    ^~
      |                                                    i0
a.cc:9:59: error: 'i5' was not declared in this scope; did you mean 'i0'?
    9 |                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                           ^~
      |                                                           i0
a.cc:11:46: error: 'i2' was not declared in this scope; did you mean 'i1'?
   11 |                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                              ^~
      |                                              i1
a.cc:11:53: error: 'i3' was not declared in this scope; did you mean 'i1'?
   11 |                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                     ^~
      |                                                     i1
a.cc:11:60: error: 'i4' was not declared in this scope; did you mean 'i1'?
   11 |                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                            ^~
      |                                                            i1
a.cc:11:67: error: 'i5' was not declared in this scope; did you mean 'i1'?
   11 |                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                                   ^~
      |                                                                   i1
a.cc:14:76: error: 'i4' was not declared in this scope; did you mean 'i3'?
   14 |                                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                                            ^~
      |                                                                            i3
a.cc:14:83: error: 'i5' was not declared in this scope; did you mean 'i3'?
   14 |                                         if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                                                   ^~
      |                                                                                   i3
a.cc:16:91: error: 'i5' was not declared in this scope; did you mean 'i4'?
   16 |                                                 if(100*i0+101*i1+102*i2+103*i3+104*i4+105*i5>x) break;
      |                                                                                           ^~
      |                                                                                           i4