Language: C++

#include<bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define pb push_back
int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};
 
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)

int main(void){
    ll a,b,c,d,e,f;
    scanf("%lld%lld%lld",&a,&b,&c);

    ll count = 0;

    while(count < 100000000){
        if(a % 2 || b % 2 || c % 2){
            printf("%lld\n",count);#include<bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define pb push_back
int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};
 
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)

int main(void){
    ll a,b,c,d,e,f;
    scanf("%lld%lld%lld",&a,&b,&c);

    ll count = 0;

    while(count < 100000000){
        if(a % 2 || b % 2 || c % 2){
            printf("%lld\n",count);
            return 0;
        }
        count++;

        d = a / 2;e = b / 2;f = c / 2;
        a = e + f;b = f + d;c = d + e;
    }
    printf("-1\n");
    return 0;
}
#include<bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define pb push_back
int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};
 
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)

int main(void){
    ll a,b,c,d,e,f;
    scanf("%lld%lld%lld",&a,&b,&c);

    ll count = 0;

    while(count < 100000000){
        if(a % 2 || b % 2 || c % 2){
            printf("%lld\n",count);
            return 0;
        }
        count++;

        d = a / 2;e = b / 2;f = c / 2;
        a = e + f;b = f + d;c = d + e;
    }
    printf("-1\n");
    return 0;
}

            return 0;#include<bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define pb push_back
int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};
 
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)

int main(void){
    ll a,b,c,d,e,f;
    scanf("%lld%lld%lld",&a,&b,&c);

    ll count = 0;

    while(count < 100000000){
        if(a % 2 || b % 2 || c % 2){
            printf("%lld\n",count);
            return 0;
        }
        count++;
#include<bits/stdc++.h>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
#define pb push_back
int dy[]={0, 0, 1, -1, 0};
int dx[]={1, -1, 0, 0, 0};
 
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) for (int i=(n)-1;i>=0;i--)

int main(void){
    ll a,b,c,d,e,f;
    scanf("%lld%lld%lld",&a,&b,&c);

    ll count = 0;

    while(count < 500000000){
        if(a % 2 || b % 2 || c % 2){
            printf("%lld\n",count);
            return 0;
        }
        count++;

        d = a / 2;e = b / 2;f = c / 2;
        a = e + f;b = f + d;c = d + e;
    }
    printf("-1\n");
    return 0;
}

        d = a / 2;e = b / 2;f = c / 2;
        a = e + f;b = f + d;c = d + e;
    }
    printf("-1\n");
    return 0;
}

        }
        count++;

        d = a / 2;e = b / 2;f = c / 2;
        a = e + f;b = f + d;c = d + e;
    }
    printf("-1\n");
    return 0;
}


Compiler output:
a.cc:22:36: error: stray '#' in program
   22 |             printf("%lld\n",count);#include<bits/stdc++.h>
      |                                    ^
a.cc:87:22: error: stray '#' in program
   87 |             return 0;#include<bits/stdc++.h>
      |                      ^
a.cc: In function 'int main()':
a.cc:22:37: error: 'include' was not declared in this scope
   22 |             printf("%lld\n",count);#include<bits/stdc++.h>
      |                                     ^~~~~~~
a.cc:22:45: error: 'bits' was not declared in this scope
   22 |             printf("%lld\n",count);#include<bits/stdc++.h>
      |                                             ^~~~
a.cc:22:50: error: 'stdc' was not declared in this scope; did you mean 'std'?
   22 |             printf("%lld\n",count);#include<bits/stdc++.h>
      |                                                  ^~~~
      |                                                  std
a.cc:23:1: error: expected primary-expression before 'typedef'
   23 | typedef long long ll;
      | ^~~~~~~
a.cc:35:15: error: a function-definition is not allowed here before '{' token
   35 | int main(void){
      |               ^
a.cc:59:5: error: redeclaration of 'int dy []'
   59 | int dy[]={0, 0, 1, -1, 0};
      |     ^~
a.cc:27:5: note: 'int dy [5]' previously declared here
   27 | int dy[]={0, 0, 1, -1, 0};
      |     ^~
a.cc:60:5: error: redeclaration of 'int dx []'
   60 | int dx[]={1, -1, 0, 0, 0};
      |     ^~
a.cc:28:5: note: 'int dx [5]' previously declared here
   28 | int dx[]={1, -1, 0, 0, 0};
      |     ^~
a.cc:67:15: error: a function-definition is not allowed here before '{' token
   67 | int main(void){
      |               ^
a.cc:88:1: error: expected primary-expression before 'typedef'
   88 | typedef long long ll;
      | ^~~~~~~
a.cc:92:5: error: redeclaration of 'int dy []'
   92 | int dy[]={0, 0, 1, -1, 0};
      |     ^~
a.cc:27:5: note: 'int dy [5]' previously declared here
   27 | int dy[]={0, 0, 1, -1, 0};
      |     ^~
a.cc:93:5: error: redeclaration of 'int dx []'
   93 | int dx[]={1, -1, 0, 0, 0};
      |     ^~
a.cc:28:5: note: 'int dx [5]' previously declared here
   28 | int dx[]={1, -1, 0, 0, 0};
      |     ^~
a.cc:100:15: error: a function-definition is not allowed here before '{' token
  100 | int main(void){
      |               ^