criyle/codenet-compile-errors huggingface dataset:
Language: C++

int main(){
	a,b,
	cin>>a,>>b}


if (a>=9 ||b>=9){cout <<":("}
else {cout <<"Yay!"}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:9: error: 'a' was not declared in this scope
    2 |         a,b,
      |         ^
a.cc:2:11: error: 'b' was not declared in this scope
    2 |         a,b,
      |           ^
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin>>a,>>b}
      |         ^~~
a.cc:3:16: error: expected primary-expression before '>>' token
    3 |         cin>>a,>>b}
      |                ^~
a.cc: At global scope:
a.cc:6:1: error: expected unqualified-id before 'if'
    6 | if (a>=9 ||b>=9){cout <<":("}
      | ^~
a.cc:7:1: error: expected unqualified-id before 'else'
    7 | else {cout <<"Yay!"}
      | ^~~~
Language: C++

#include <bits/stdc++.h>
#include <cmath>
using namespace std;

int main() {
int A,B=0;
  string S="";
  cin>>a>>b;
	if(A<9&&B<9) cout<<"yay!"<<endl;
  else cout<<":("<<endl;
//  cout<<A<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'a' was not declared in this scope
    8 |   cin>>a>>b;
      |        ^
a.cc:8:11: error: 'b' was not declared in this scope
    8 |   cin>>a>>b;
      |           ^
Language: C++

#include <bits/stdc++.h>
#include <cmath>
using namespace std;

int main() {
int A,B=0;
  string S="";
  cin>>a>>b;
	if(a<9&&b<9) cout<<"yay!"<<endl;
  else cout<<":("<<endl;
//  cout<<A<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'a' was not declared in this scope
    8 |   cin>>a>>b;
      |        ^
a.cc:8:11: error: 'b' was not declared in this scope
    8 |   cin>>a>>b;
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b; cin >> a >> b;
  cout << ((A > 8 || B > 8) ? ":(" : "Yay!") << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: 'A' was not declared in this scope
    5 |   cout << ((A > 8 || B > 8) ? ":(" : "Yay!") << endl;
      |             ^
a.cc:5:22: error: 'B' was not declared in this scope
    5 |   cout << ((A > 8 || B > 8) ? ":(" : "Yay!") << endl;
      |                      ^
Language: C

#include "stdio.h"
int main(){
	int a, b;
	scanf("%d %d", a, b);
	if a <= 8 && b <= 8{
		printf("yay");
	}

	else{
		printf(":(");
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected '(' before 'a'
    5 |         if a <= 8 && b <= 8{
      |            ^
      |            (
Language: C++

if A<=8 and B<=8:
    print('Yay!')
else:
    print(':(')

Compiler output:
a.cc:2:11: warning: multi-character character constant [-Wmultichar]
    2 |     print('Yay!')
      |           ^~~~~~
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print(':(')
      |           ^~~~
a.cc:1:1: error: expected unqualified-id before 'if'
    1 | if A<=8 and B<=8:
      | ^~
Language: C

#include <stdio.h>


int main(){
	int a, b;
	scanf("%i %i", &a, &b);
	if(a+b>16)
		printf(":(\n");
	else{
		if((a-b==1) || (a-b==-1) || (a-b==0))
			printf("Yay!\n");

	
}


Compiler output:
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C++

#include <iostream>

int main(){
    int A,B;
    scanf("%d %d", &A, &B);
    
    if(A > 8 || B > 8){
        printf(":(");
    }else{
        printf("Yay!")
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before '}' token
   10 |         printf("Yay!")
      |                       ^
      |                       ;
   11 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main(){
    
    int a,b;

    scanf("%d %d", &a, &b);

    if((a > 8) || (b > 8)){
        print("Yay!\n");
    }else{
        print(":(\n");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   12 |         print("Yay!\n");
      |         ^~~~~
      |         rint
a.cc:14:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   14 |         print(":(\n");
      |         ^~~~~
      |         rint
Language: C

#include <stdio.h>

int main () {
	int x, y;

	scanf("%d %d", &x, &y);
	if ( (A + B) > 16) {
		printf (":(\n");
	}
	if(A > 8 || B > 8) {
		printf (":(\n");
	}
	else{
		printf("Yay!\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: 'A' undeclared (first use in this function)
    7 |         if ( (A + B) > 16) {
      |               ^
main.c:7:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:19: error: 'B' undeclared (first use in this function)
    7 |         if ( (A + B) > 16) {
      |                   ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  if(a<=8&&b<=8)cout<<"Yay!\n";
  else cout<<":(\n";

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected '}' at end of input
    7 |   else cout<<":(\n";
      |                     ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostream>
#include<algorithm>
#include <windows.h>
#undef min
#undef max

using namespace std ;

int main(){
int A , B; 
cin >> A >> B;
if (A<9 and B <9) cout<<"Yes"<<endl;
else cout << ":(" << endl ;
return 0;
}

Compiler output:
a.cc:3:10: fatal error: windows.h: No such file or directory
    3 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.
Language: C++

// include
// ------------------------------------------------
#include <bits/stdc++.h>
#include <vector>
#include <algorithm>
#include <math.h>

using namespace std;

// func
// ------------------------------------------------
int CalcSumOfDigit(int n);      // 各桁の和を計算する。

// define
// ------------------------------------------------
#define all(a)        (a).begin(),(a).end()
#define pb            push_back
#define sz(a)         int((a).size())
#define rep(i,n)      for(int(i)=0;(i)<(n);(i)++)
#define repe(i,n)     for(int(i)=0;(i)<=(n);(i)++)
#define vsort(v)      sort((v).begin(),(v).end())

// code
// ------------------------------------------------
int main() {
  int a,b;
  cin >> a >> b;

  if( a > 8 || b > 8) cout << "Yey!":
  else cout << ":(";


  return 0;
}

// funcの実体
// ------------------------------------------------
int CalcSumOfDigit(int n)
{
  int s = 0;
  while(n)
  {
    s += n % 10;
    n = n / 10;
  }
  return s;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:37: error: expected ';' before ':' token
   29 |   if( a > 8 || b > 8) cout << "Yey!":
      |                                     ^
      |                                     ;
Language: Java

import java.io,.*;
import java.util.*;
public class Main {
	public static void main(String[] args) {
  		Scanner sc = new Scanner(System.in);
      	int a = sc.nextInt();
      	int b = sc.nextInt();
      	if(a<=8 && b<=8)
          System.out.println("Yay!");
      else
        System.out.println(":(");
	}
}

Compiler output:
Main.java:1: error: ';' expected
import java.io,.*;
              ^
1 error
Language: C++

#include "../mycode.h"

using namespace std;

int A,B;
int N=16;

int main(){
    cin >> A >> B;
    if (A > 8 || B > 8){
        cout << ":(" << endl;
    }else{
        cout << "Yay!" << endl;
    }


}

Compiler output:
a.cc:1:10: fatal error: ../mycode.h: No such file or directory
    1 | #include "../mycode.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

include "../mycode.h"

using namespace std;

int A,B;
int N=16;

int main(){
    cin >> A >> B;
    if (A > 8 || B > 8){
        cout << ":)" << endl;
    }else{
        cout << "Yay!" << endl;
    }


}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include "../mycode.h"
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> A >> B;
      |     ^~~
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << ":)" << endl;
      |         ^~~~
a.cc:11:25: error: 'endl' was not declared in this scope
   11 |         cout << ":)" << endl;
      |                         ^~~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "Yay!" << endl;
      |         ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope
   13 |         cout << "Yay!" << endl;
      |                           ^~~~
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    if(a <= 8 && b<= 8){
      System.out.println("Yay!")+
    }else{
      System.out.println(":(");
    }
  }
}

Compiler output:
Main.java:9: error: illegal start of expression
    }else{
    ^
Main.java:8: error: not a statement
      System.out.println("Yay!")+
                                ^
2 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep1(i, n) for(int i = 1; i < n+1; i++)
#define sort(A) sort(A.begin(),A.end())
#define reverse(A) reverse(A.begin(),A.end());

typedef long long ll;

int main(){
  cin a,b;
  cin >> a >> b;
  if(a == b) cout << 'Yay!' << endl;
  else cout << ':(' << endl; 
}

Compiler output:
a.cc:13:22: warning: multi-character character constant [-Wmultichar]
   13 |   if(a == b) cout << 'Yay!' << endl;
      |                      ^~~~~~
a.cc:14:16: warning: multi-character character constant [-Wmultichar]
   14 |   else cout << ':(' << endl;
      |                ^~~~
a.cc: In function 'int main()':
a.cc:11:6: error: expected ';' before 'a'
   11 |   cin a,b;
      |      ^~
      |      ;
a.cc:12:10: error: 'a' was not declared in this scope
   12 |   cin >> a >> b;
      |          ^
a.cc:12:15: error: 'b' was not declared in this scope
   12 |   cin >> a >> b;
      |               ^
Language: C

#include<stdio.h>
int main(void){
int A, B;
scanf("%d%d",&A, &B);
if(A>=8 || B>=8) printf(":(\n",);
else printf("Yay!\n",);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:32: error: expected expression before ')' token
    5 | if(A>=8 || B>=8) printf(":(\n",);
      |                                ^
Language: C

#include<stdio.h>
int main(void){;
int A, B;
scanf("%d%d",&A, &B);
if(A>=8 || B>=8) printf(":(\n",);
else printf("Yay!\n",);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:32: error: expected expression before ')' token
    5 | if(A>=8 || B>=8) printf(":(\n",);
      |                                ^
Language: C++

#include<iostream>
#include<stdio.h>
//#include <bits/stdc++.h>
#include<vector>
#include<float.h>
#include<iomanip>
#include<algorithm>
#include<string>
#include<cstring>
#include<math.h>
#include<cmath>
#include<sstream>
#include<set>
#include<map>
#include<queue>
#include <cassert>
#include <cmath>
#include<cstdint>

#define INF 1e9
#define rep(i,n)for(int i=0;(i)<(int)(n);i++)
#define REP(i,a,b)for(int i=(int)(a);(i)<=(int)(b);i++)
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define vec(type,n) vector<type>(n)
#define vvec(m,n) vector<vector<int>> (int(m),vector<int>(n))
#define ALL(a)  (a).begin(),(a).end()

using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using P = pair<int,int>;

vector<int>bitSearch(int bit,int n){
    vector<int>S;
    rep(i,n)if(bit&(1<<i))S.push_back(i);
    return S;
}



int main(){
    int a,b;cin>>a>>b;
    if(a+b>14 && abs(a-b)<2)cout<<"Yay!";
    else if(a+b<15)cout<<"Yay!";
    else cout<<":("
}



Compiler output:
a.cc: In function 'int main()':
a.cc:45:20: error: expected ';' before '}' token
   45 |     else cout<<":("
      |                    ^
      |                    ;
   46 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    cin >> a >> b;
    if( a>8 || b>8 ) cout << :"()"<< endl;
    else cout << "Yay!" << endl;
    return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: expected primary-expression before ':' token
    7 |     if( a>8 || b>8 ) cout << :"()"<< endl;
      |                              ^
Language: C++

#include <iostream>
#include<cmath>
using namespace std;
  
int main(){
    int D,N;
    cin >> D>>N;
    if (D>=1){
        cout << (int pow(100,D))*N<<endl;
    }
        else{
        cout << N <<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected primary-expression before 'int'
    9 |         cout << (int pow(100,D))*N<<endl;
      |                  ^~~
a.cc:9:18: error: expected ')' before 'int'
    9 |         cout << (int pow(100,D))*N<<endl;
      |                 ~^~~
      |                  )
Language: C++

S = input()
A,B = S.split()

A = int(A)
B = int(B)

if A<=8 and B <=8:
    print("Yay!")
elif A>8 or B>8:
    print(":(")


Compiler output:
a.cc:1:1: error: 'S' does not name a type
    1 | S = input()
      | ^
Language: C++

using namespace std;
int main(void){
    int a,b;
    cin >> a >> b;
    if(a<=8 && b<=8){
        cout << "Yay!" << endl;
    }
    else{
        cout << ":(" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:6:9: error: 'cout' was not declared in this scope
    6 |         cout << "Yay!" << endl;
      |         ^~~~
a.cc:6:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:27: error: 'endl' was not declared in this scope
    6 |         cout << "Yay!" << endl;
      |                           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << ":(" << endl;
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:25: error: 'endl' was not declared in this scope
    9 |         cout << ":(" << endl;
      |                         ^~~~
a.cc:9:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

import java.util.*;

class Main{
  Scanner sc=new Scanner(System.in);
  int A=sc.nextInt();
  int B=sc.nextInt();
  
  if(A<=8&&B<=8){
    System.out.println("Yay!");
  }else{
    System.out.println(":(");

  }
}

Compiler output:
Main.java:8: error: illegal start of type
  if(A<=8&&B<=8){
  ^
Main.java:8: error: <identifier> expected
  if(A<=8&&B<=8){
      ^
Main.java:8: error: <identifier> expected
  if(A<=8&&B<=8){
            ^
Main.java:10: error: illegal start of type
  }else{
   ^
4 errors
Language: C++

#include <iostream>
#include <iomanip>
#include <utility>
#include <cmath>
#include <random>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <string>
#include <algorithm>
using namespace std;

#define rep(i,n) for(int i = 0; i<n; ++i)
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
typedef long long ll;

int main(){
    int a,v; cin >> a >> v;
    cout << ((a<=8&&b<=8) ? "Yay!" : ":(") << endl;;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:21: error: 'b' was not declared in this scope
   22 |     cout << ((a<=8&&b<=8) ? "Yay!" : ":(") << endl;;
      |                     ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
  int A, B;
  
  cin >> A >> B;
  
  bool ans = A <= 8 && B <== 8;
  
  cout << ans << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: expected primary-expression before '=' token
   10 |   bool ans = A <= 8 && B <== 8;
      |                            ^
Language: C++

lude <math.h>
using namespace std;
#define rep(i,n) for(ll i=0;i<n;i++)
#define repl(i,l,r) for(ll i=(l);i<(r);i++)
#define per(i,n) for(ll i=n-1;i>=0;i--)
#define lper(i,r,l) for(ll i=r-1;i>=l;i--)
#define fi first
#define se second
#define mp make_pair
#define all(x) (x).begin(),(x).end()
#define CST(x) cout<<fixed<<setprecision(x)
using ll=long long;
using vl=vector<ll>;
using vvl=vector<vector<ll>>;
using pl=pair<ll,ll>;
const ll MOD=1000000007;
const ll MOD9=998244353;
const int inf=1e9;
const ll INF=4e18;
const ll dy[4]={1,0,-1,0};
const ll dx[4]={0,-1,0,1};
int main() {
  int A;
  int B;
  cin >>A>>B;
  if((A<=8) &&(B<=8)) {
cout << "Yay!" << endl;
  }
else {
cout << ":(" << endl;
}
}


Compiler output:
a.cc:1:1: error: 'lude' does not name a type
    1 | lude <math.h>
      | ^~~~
a.cc:13:10: error: 'vector' does not name a type
   13 | using vl=vector<ll>;
      |          ^~~~~~
a.cc:14:11: error: 'vector' does not name a type
   14 | using vvl=vector<vector<ll>>;
      |           ^~~~~~
a.cc:15:10: error: 'pair' does not name a type
   15 | using pl=pair<ll,ll>;
      |          ^~~~
a.cc: In function 'int main()':
a.cc:25:3: error: 'cin' was not declared in this scope
   25 |   cin >>A>>B;
      |   ^~~
a.cc:27:1: error: 'cout' was not declared in this scope
   27 | cout << "Yay!" << endl;
      | ^~~~
a.cc:27:19: error: 'endl' was not declared in this scope
   27 | cout << "Yay!" << endl;
      |                   ^~~~
a.cc:30:1: error: 'cout' was not declared in this scope
   30 | cout << ":(" << endl;
      | ^~~~
a.cc:30:17: error: 'endl' was not declared in this scope
   30 | cout << ":(" << endl;
      |                 ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() 
{
    int a, b;
    cin >> a >> b;
    if(a<9&&b<9)
        cout << "Yay!";
    else
        cout<<":("
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected ';' before '}' token
   10 |         cout<<":("
      |                   ^
      |                   ;
   11 | }
      | ~
Language: C++

#include<bits/stdc++.h> 
using namespase std;
int main()
{
    int a,b;
	scanf("%d%d",&a,&b);
	if(a<9&&b<9)
	    printf("Yay!");
	else
	    printf(":(");
	return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
Language: C++

#include <bits / stdc ++。h>
＃为（int i = 0; i <（n）; ++ i）定义rep（i，n）
使用命名空间std;
使用ll = long long;

int main（）{
    整数a，b;
    cin >> a >> b;
    if（a <9 && b <9）cout <<“是的！” << endl;
    否则cout <<“ ::” << endl;
    返回0;
}

Compiler output:
a.cc:1:10: fatal error: bits / stdc ++。h: No such file or directory
    1 | #include <bits / stdc ++。h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h> 
using namespase std;
int a,b;
int main()
{
	scanf("%d%d",&a,&b);
	if(a<=5&&b<=5)
	    printf("Yay!");
	else
	    printf(":(");
	return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
Language: C++

#include<bits/stdc++.h> 
using namespase std;
int a,b;
int main()
{
	scanf("%d%d",&a,&b);
	if(a<=5&&b<=5)
	    printf("Yay!");
	else
	    printf(":(");
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
Language: C++

#include<bits/stdc++.h> 
using namespase std;
int a,b;
int main();
{
	scanf("%d%d",&a,&b);
	if(a<=5&&b<=5)
	    printf("Yay!");
	else
	    printf(":(");
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc:5:1: error: expected unqualified-id before '{' token
    5 | {
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,p=8;
  cin>>a>>b;
  if(a>p || b>p)
    cout<<":(";
  else
    cout<<"Yay!";

Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: expected '}' at end of input
   10 |     cout<<"Yay!";
      |                  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
	int a, b;
    cin >> a >> b;
  
	if(a && b -= 8){
    cout << "Yay!";
    }else{
    cout << ":(";
    }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: lvalue required as left operand of assignment
    8 |         if(a && b -= 8){
      |            ~~^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
	int a, b;
    cin >> a >> b;
  
	if(a && b -= 8){
    cout << "Yay!";
    }else{
    cout << ":("
    }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: lvalue required as left operand of assignment
    8 |         if(a && b -= 8){
      |            ~~^~~~
a.cc:11:17: error: expected ';' before '}' token
   11 |     cout << ":("
      |                 ^
      |                 ;
   12 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
  cin>>a>>b;
  if(a<=8&&b<<=8) cout << "Yay!";
  else cout << ":(";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: lvalue required as left operand of assignment
    6 |   if(a<=8&&b<<=8) cout << "Yay!";
      |      ~~~~^~~
Language: C

#include <bits/stdc++.h>
#define rep(i,n) for(int64_t i=0;i < (int64_t)(n);i++)
using namespace std;
//////全探索したいときに開けよ////////
vector<vector<int>> fspattern;
vector<int> fspattern_draft;
int fspcnt = 0;

void setfspattern_core(int floor,int number,int degree){
  if(floor==degree){
    fspattern.at(fspcnt) = fspattern_draft;
    fspcnt++;
  }else{
    rep(i,number){
      fspattern_draft.at(floor) = i;
      setfspattern_core(floor+1,number,degree);
    }
  }
}

void setfspattern(int number,int degree){
  int64_t array_num = 1;
  rep(i,degree){
    array_num *= number;
  }
  fspattern = vector<vector<int>>(array_num,vector<int>(degree));
  fspattern_draft = vector<int>(degree);
  setfspattern_core(0,number,degree);
}

//////nCrのmodを求めたいときに開けよ/////////
//int64_t univMod = 1000000007;
//int64_t factnum = 100000
//vector<int64_t> modfact(factnum);
//vector<int64_t> modinvfact(factnum);

/*void setmodfact(){
  for(int i=0;i<factnum;i++){
    if(i == 0){
      modfact.at(i) = 1;
    }else{
      modfact.at(i) = (modfact.at(i-1)*i)%univMod;
    }
  }
}

int64_t calcmodpower(int64_t a,int64_t n){
  int64_t res = 1;
  while(n != 0){
    if(n & 1){
      res = (res * a) % univMod;
    }
    a = (a*a) % univMod;
    n = n >> 1;
  }
  return res;
}

int64_t calcinverse(int64_t n){
	return calcmodpower(n,univMod-2);
}

void setmodinvfact(){
  for(int i=0;i<factnum;i++){
    if(i==0){
      modinvfact.at(i) = 1;
    }else{
      modinvfact.at(i) = calcmodpower(modfact.at(i),univMod-2);
    }
  }
}*/


/*
int64_t calcGCD(int64_t a,int64_t b){
	int64_t p = a;
	int64_t q = b;
	int64_t c = a%b;
	while(c != 0){
		p = q;
		q = c;
		c = p%q;
	}
	return q;
}
*/

int main(){
  int a,b;
  cin >> a >> b;
  if(a > 8 || b > 8){
    cout << ":(" << endl;
  }else{
    cout << "Yay!" << endl;
  }
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bts/stdc++.h> 
using namespace std;
int a,b;
int main()
{
	cin>>a>>b;
    	if(max(a,b)<=8)
    cout<<"Yay!";
	else
	cout<<":（";
	
	return 0;
}

Compiler output:
a.cc:1:9: fatal error: bts/stdc++.h: No such file or directory
    1 | #include<bts/stdc++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bs/stdc++.h> 
using namespace std;
int a,b;
int main()
{
	cin>>a>>b;
    	if(max(a,b)<=8)
    cout<<"Yay!";
	else
	cout<<":（";
	
	return 0;
}

Compiler output:
a.cc:1:9: fatal error: bs/stdc++.h: No such file or directory
    1 | #include<bs/stdc++.h>
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int A,B;
  cin>>A>>B;
  if(A<=8&&B<=8){
    cout<<"Yay!"<<endl;
  }else{
    cout<<":("<<endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:4: error: expected '}' at end of input
   11 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: Java

#include <bits/stdc++.h>
using namespace std;

int main(){
  int a = 0;
  int b = 0;
  cin >> a >> b;
  if(a < 9 && b < 9){
    cout << "Yay!" << endl;
  }else{
    cout << ":(" << endl;
  }
}           

Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:7: error: not a statement
  cin >> a >> b;
           ^
Main.java:9: error: not a statement
    cout << "Yay!" << endl;
                   ^
Main.java:11: error: not a statement
    cout << ":(" << endl;
                 ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: C++

#include <algorithm>
#include <iostream>
#include <vector>
#include <map>
#include <cstdio>
#include <string>
#include <cmath>
#include <queue>
#include <tuple>
#include <set>
#include <assert.h>
#include <sstream>
#include <string>
//#include <bits/stdc++.h>
#define maxs(x,y) x = max(x,y)
#define mins(x,y) x = min(x,y)
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define repr(i, n) for (int i = (n) - 1; i >= 0; i--)
#define FOR(i,i0,n) for(int (i)=(i0);(i)<(n);(i)++)
#define FORR(i,i0,n) for(int (i)=(n)-1; (i)>=(i0);(i)--)
#define SORT(x) sort(x.begin(),x.end())
#define SORTR(x) sort(x.begin(),x.end(),greater <>())
#define rn return
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define mt make_tuple
using namespace std;
using ll = long long;
typedef std::pair<int,int> P;
#include <boost/multiprecision/cpp_int.hpp>

using bint = boost::multiprecision::cpp_int;
 
 
 

const int mod = 1000000007;
struct mint {
    ll x; // typedef long long ll;
    mint(ll x=0):x((x%mod+mod)%mod){}
    
    mint& operator+=(const mint a) {
        if ((x += a.x) >= mod) x -= mod;
        return *this;
    }
    
    mint& operator-=(const mint a) {
        if ((x += mod-a.x) >= mod) x -= mod;
        return *this;
    }
    mint& operator*=(const mint a) {
        (x *= a.x) %= mod;
        return *this;
    }
    mint operator+(const mint a) const {
        mint res(*this);
        return res+=a;
    }
    mint operator-(const mint a) const {
        mint res(*this);
        return res-=a;
    }
    mint operator*(const mint a) const {
        mint res(*this);
        return res*=a;
    }
    mint pow(ll t) const {
        if (!t) return 1;
        mint a = pow(t>>1);
        a *= a;
        if (t&1) a *= *this;
        return a;
    }
    
    // for prime mod
    mint inv() const {
        return pow(mod-2);
    }
    mint& operator/=(const mint a) {
        return (*this) *= a.inv();
    }
    mint operator/(const mint a) const {
        mint res(*this);
        return res/=a;
    }
;

struct combination {
    vector<mint> fact, ifact;
    combination(int n):fact(n+1),ifact(n+1) {
        assert(n < mod);
        fact[0] = 1;
        for (int i = 1; i <= n; ++i) fact[i] = fact[i-1]*i;
        ifact[n] = fact[n].inv();
        for (int i = n; i >= 1; --i) ifact[i-1] = ifact[i]*i;
    }
    mint operator()(int n, int k) {
        if (k < 0 || k > n) return 0;
        return fact[n]*ifact[k]*ifact[n-k];
    }
};
 
 
 
int main(){
    int a,b;
    cin>> a >> b;
    int m = max(a,b);
    cout << (m <= 8? "Yay!": ":(");
}

Compiler output:
a.cc:33:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
   33 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.Scanner;

public class test1 {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String str = scan.nextLine();
    String[] datas = str.split(" ");
    int a_i = Integer.parseInt(datas[0]);
    int b_i = Integer.parseInt(datas[1]);
    if (a_i <= 8 && b_i <= 8) {
      System.out.println("Yay!");
    } else {
      System.out.println(":(");
    }
  }
}

Compiler output:
Main.java:3: error: class test1 is public, should be declared in a file named test1.java
public class test1 {
       ^
1 error
Language: C++

n = int(input())
a = [int(i) for i in input().split()]
ans = 0
for i in range(n):
	while a[i]%2 == 0:
		a[i] /= 2
		ans += 1
print(ans)


Compiler output:
a.cc:1:1: error: 'n' does not name a type
    1 | n = int(input())
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

typedef long long int ll;

int main()
{
    ll a,b;
    cin >> a>>b;
  if(a <= 8&&b<=8){
  cout<<"Yar!";
  }
  else{
  cout<<":(;"}

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected ';' before '}' token
   14 |   cout<<":(;"}
      |              ^
      |              ;
Language: C++

#include<bits/stdc++.h>
using namespace std;

typedef long long int ll;

int main()
{
    ll a,b;
    cin >> a>>b;
  if(a <= 8&&b<=8){
  cout<<"Yar!";
  }
  else{
  cout<<":(;}

    return 0;
}


Compiler output:
a.cc:14:9: warning: missing terminating " character
   14 |   cout<<":(;}
      |         ^
a.cc:14:9: error: missing terminating " character
   14 |   cout<<":(;}
      |         ^~~~~
a.cc: In function 'int main()':
a.cc:16:5: error: expected primary-expression before 'return'
   16 |     return 0;
      |     ^~~~~~
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:7:1: note: to match this '{'
    7 | {
      | ^
Language: C++

#include <iostream>

using namespace std;

int main(){
    int d;
    int n;
    cin >> d >> n;
    int s = 1;
    for(int i = 0; i < d; i++)s *= 100;{
        if(){
            cout << s * n << endl;
        }
        else{
            cout << s * 101 << endl;
        }
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:12: error: expected primary-expression before ')' token
   11 |         if(){
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main(){
    int d;
    int n;
    cin >> d >> n;
    int s = 1;
    for(int i = 0; i < d; i++){
        s *= 100;
        if(){
            cout << s * n << endl;
        }
        else{
            cout << s * 101 << endl;
        }
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:12: error: expected primary-expression before ')' token
   12 |         if(){
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i=0; i<(n); i++)
int main()
{
    int a, b;
    cin >> a >> b;
	
  	if(a <= 8 && b <= 8){
      cout << "Yay!" << endl;
    }
  	else){
      cout << ":(" << endl;
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: expected primary-expression before ')' token
   12 |         else){
      |             ^
Language: C++

#include<bits/stc++.h>
using namespace std;

int main(){
  int a,b;
  cin >> a >> b;
  
  if(a+b<=16){
    cout << "Yay!" << endl;
  }
  else
    cout << ":("<< endl;
  return 0;
}
  

Compiler output:
a.cc:1:9: fatal error: bits/stc++.h: No such file or directory
    1 | #include<bits/stc++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#pragma GCC optimize("Ofast")
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
using datas=pair<ll,ll>;
using ddatas=pair<double,double>;
using tdata=pair<ll,datas>;
using vec=vector<ll>;
using mat=vector<vec>;
using pvec=vector<datas>;
using pmat=vector<pvec>;
#define For(i,a,b) for(i=a;i<(ll)b;i++)
#define bFor(i,a,b) for(i=a;i>=(ll)b;i--)
#define rep(i,N) For(i,0,N)
#define rep1(i,N) For(i,1,N)
#define brep(i,N) bFor(i,N-1,0)
#define all(v) (v).begin(),(v).end()
#define allr(v) (v).rbegin(),(v).rend()
#define vsort(v) sort(all(v))
#define vrsort(v) sort(allr(v))
#define endl "\n"
#define pb push_back
#define print(x) cout<<x<<endl;
#define printyes cout<<"Yes"<<endl
#define printno cout<<"No"<<endl
#define output(v) do{bool f=0;for(auto outi:v){cout<<(f?" ":"")<<outi;f=1;}cout<<endl;}while(0)
const ll mod=1000000007;
const ll inf=1LL<<60;
const double PI = acos(-1);
const double eps = 1e-9;
template<class T> inline bool chmax(T& a,T b){bool x=a<b;if(x)a=b;return x;} 
template<class T> inline bool chmin(T& a,T b){bool x=a>b;if(x)a=b;return x;} 

void startupcpp(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout<<fixed<<setprecision(15);
}

double distance(ddatas& x,ddatas& y){
  double a=x.first-y.first,b=x.second-y.second;
  return sqrt(a*a+b*b);
}

ll modinv(ll a) {
  ll b=mod,u=1,v=0,t;
  while(b){
    t=a/b;
    a-=t*b; swap(a,b);
    u-=t*v; swap(u,v);
  }
  return (u+mod)%mod;
}

ll moddevide(ll a,ll b){return (a*modinv(b))%mod;}

vec modncrlistp,modncrlistm;

ll modncr(ll n,ll r){
  ll i,size=modncrlistp.size();
  if(size<=n){
    modncrlistp.resize(n+1);
    modncrlistm.resize(n+1);
    if(!size){
      modncrlistp[0]=modncrlistm[0]=1;
      size++;
    }
    For(i,size,n+1){
      modncrlistp[i]=modncrlistp[i-1]*i%mod;
      modncrlistm[i]=modinv(modncrlistp[i]);
    }
  }
  return modncrlistp[n]*modncrlistm[r]%mod*modncrlistm[n-r]%mod;
}

ll modpow(ll a,ll n){
  ll res=1;
  while(n){
    if(n&1)res=res*a%mod;
    a=a*a%mod;
    n>>=1;
  }
  return res;
}

ll gcd(ll a,ll b){if(!b)return a;return (a%b==0)?b:gcd(b,a%b);}
ll lcm(ll a,ll b){return a/gcd(a,b)*b;}

ll countdigits(ll n){
  ll ans=0;
  while(n){n/=10;ans++;}
  return ans;
}

ll sumdigits(ll n){
  ll ans=0;
  while(n){ans+=n%10;n/=10;}
  return ans;
}
void judgement(int a){
  if(a){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
  if(a){
    cout<<"YES"<<endl;
  }else{
    cout<<"NO"<<endl;
  }
}

int main(){
  ll i,A,B,ans;
  cin>>A>>B;
  if(A<=8&&B<=8)print("Yay!");
  else print(":(");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:117:3: error: 'else' without a previous 'if'
  117 |   else print(":(");
      |   ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin >> a >> b;
  if(a <= 8 && b <= 8){
    cout << "Yay!" << endl;
  }
  else(){
    cout << ":(" << endl;
  }      
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: expected primary-expression before ')' token
   10 |   else(){
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int a,b;
  cin >> a >> b;
  if(a<=8 %% b<=8){
    cout << "Yay!" << endl;
  }else{
    cout << ":(" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected primary-expression before '%' token
    7 |   if(a<=8 %% b<=8){
      |            ^
Language: Java

import java.util.Scanner;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int A = sc.nextInt();
   int B = sc.nextInt();
   
   if(A<=8&&B<=8) System.out.println("Yay!");
   else System.out.println(":(")
 }
}

Compiler output:
Main.java:9: error: ';' expected
   else System.out.println(":(")
                                ^
1 error
Language: C++

// A - Happy Birthday!
#include <bits/stdc++.h>
using namespace std;

int main(){
	int A,B; cin>>A>>B;
	bool ans = true;
	if(A>8) ans = false;
	if(B>8) ans = false;
	ote(ans?"Yay!":":(");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'ote' was not declared in this scope
   10 |         ote(ans?"Yay!":":(");
      |         ^~~
Language: C++

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<n;++i)
#include<string>
using namespace std;
typedef long long ll;
//max=({});

int main() {
	int a, b;
	cin >> a >> b;
	if (a <= 8 && b <= 8)puts("Yay!");
	else puts(":(")
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:24: error: expected ';' before 'return'
   12 |         else puts(":(")
      |                        ^
      |                        ;
   13 |         return 0;
      |         ~~~~~~
Language: C++

#include<iostream>

main(){
int a,b;cin<<a<<b;
cout<<(a<9 and b<9 ? "Yay!" : ":(");}


Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | int a,b;cin<<a<<b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout<<(a<9 and b<9 ? "Yay!" : ":(");}
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include<stdio.h>
#include<stdlib.h>
	int main(){
      int A, B;
      scanf("%d %d", &A, &B);
      if(abs(A - B) <= 1)　{printf("Yay!");}
      else　{printf(":(");}
      return 0;
    }


Compiler output:
main.c: In function 'main':
main.c:6:26: error: stray '\343' in program
    6 |       if(abs(A - B) <= 1)<U+3000>{printf("Yay!");}
      |                          ^~~~~~~~
main.c:7:11: error: stray '\343' in program
    7 |       else<U+3000>{printf(":(");}
      |           ^~~~~~~~
Language: C++

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

    string ans = ":(";

    if(A <= 8 && B <= 8) {
        ans = "Yay!"
    }

    cout << ans << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: expected ';' before '}' token
   11 |         ans = "Yay!"
      |                     ^
      |                     ;
   12 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b;cin>>a>>b;
  	if(a>8||b>8) cout<<":(";
  	else cout<<"Yay!"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:26: error: expected ';' before '}' token
    6 |         else cout<<"Yay!"
      |                          ^
      |                          ;
    7 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
    fastio
    int a, b;
    cin >> a >> b;
    if(a>8 || b > 8)
        cout<<":("<<endl;
    else
        cout<<"Yay!"<<endl;
    
	return 0;
}






Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'fastio' was not declared in this scope
    5 |     fastio
      |     ^~~~~~
a.cc:7:12: error: 'a' was not declared in this scope
    7 |     cin >> a >> b;
      |            ^
a.cc:7:17: error: 'b' was not declared in this scope
    7 |     cin >> a >> b;
      |                 ^
Language: Java

import java.util.*;
public class HappyBirthday{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		if(a<=8&&b<=8)
			System.out.println("Yay!");
		else System.out.println(":(");
	}
}

Compiler output:
Main.java:2: error: class HappyBirthday is public, should be declared in a file named HappyBirthday.java
public class HappyBirthday{
       ^
1 error
Language: C++

#include <iostream>
using namespace std;

int main() {
	int a,b;
	cin>>a>>b;
	if(a<9 && b<9)
	cout<<"Yay!
"<<endl;
      else cout<<":(
"<<endl;
	// your code goes here
	return 0;
}

Compiler output:
a.cc:8:15: warning: missing terminating " character
    8 |         cout<<"Yay!
      |               ^
a.cc:8:15: error: missing terminating " character
    8 |         cout<<"Yay!
      |               ^~~~~
a.cc:9:1: warning: missing terminating " character
    9 | "<<endl;
      | ^
a.cc:9:1: error: missing terminating " character
    9 | "<<endl;
      | ^~~~~~~~
a.cc:10:18: warning: missing terminating " character
   10 |       else cout<<":(
      |                  ^
a.cc:10:18: error: missing terminating " character
   10 |       else cout<<":(
      |                  ^~~
a.cc:11:1: warning: missing terminating " character
   11 | "<<endl;
      | ^
a.cc:11:1: error: missing terminating " character
   11 | "<<endl;
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:10:7: error: expected primary-expression before 'else'
   10 |       else cout<<":(
      |       ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(void) {
    int a, b;

    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> a >> b;
    cout << (a <= 8 && b <= 8? "Yay!" : ":(") << "\n;
    return 0;
}

Compiler output:
a.cc:10:50: warning: missing terminating " character
   10 |     cout << (a <= 8 && b <= 8? "Yay!" : ":(") << "\n;
      |                                                  ^
a.cc:10:50: error: missing terminating " character
   10 |     cout << (a <= 8 && b <= 8? "Yay!" : ":(") << "\n;
      |                                                  ^~~~
a.cc: In function 'int main()':
a.cc:11:5: error: expected primary-expression before 'return'
   11 |     return 0;
      |     ^~~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  if(a<=8&&b<=8){
    cout<<"Yay!";
    else
      cout<<":(";
    return 0;
  }
    

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected '}' before 'else'
    8 |     else
      |     ^~~~
a.cc:6:17: note: to match this '{'
    6 |   if(a<=8&&b<=8){
      |                 ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int A, B;
  cin >> A, B;
  if(A <= 8 && B <= 8)
    cout << "Yay!" << endl;
  else
    cout << ":(" << endl;
  returm 0;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'returm' was not declared in this scope
   11 |   returm 0;
      |   ^~~~~~
Language: C++

#incude <iostream>
using namespace std;
int main()
{
  int a,b;
  cin >> a >> b;
  if(a <= 8 && b <= 8)
  {
    cout << "Yay!";
  }
  else
  {
    cout << ":(";
  }
  
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude <iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incude <iostream>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Yay!";
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << ":(";
      |     ^~~~
a.cc:13:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int A,B;
  cin >>A >>B;
  if(A>8){
    cout <<":(" endl;
    return 0;
  }
  if(B>8){
    cout <<":(" endl;
    return 0;
  }
  cout <<"Yey!" <<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ';' before 'endl'
    8 |     cout <<":(" endl;
      |                ^~~~~
      |                ;
a.cc:12:16: error: expected ';' before 'endl'
   12 |     cout <<":(" endl;
      |                ^~~~~
      |                ;
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a,b,c;
 cin >> a >> b >> c;
  if(a > 8 || b > 8){
    cout << ":(";
  }else{
    cout << "Yay!"
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: expected ';' before '}' token
    9 |     cout << "Yay!"
      |                   ^
      |                   ;
   10 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define YES cout<<"YES"<<endl
#define NO cout<<"NO"<<endl
#define Yes cout<<"Yes"<<endl
#define No cout<<"No"<<endl
#define ANS cout << ans << endl
#define all(a) a.begin(),a.end()
#define SORT(a) sort(all(a))
#define REVERSE(a) reverse(all(a))
#define int long long
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define VIin(a) for(int i=0; i<a.size(); i++) cin >> a[i]
#define OUT(a) cout << a << endl
typedef vector<int> VI;
typedef vector<VI> VVI;
const int MOD=1e9+7;
const long long INF = 1LL << 60;
/*最大公約数*/int gcd(int x, int y) { return y ? gcd(y,x%y) : x;}
/*最小公倍数*/int lcm(int a, int b) { int g = gcd(a, b); return a / g * b; }
/*素数判定*/int isPrime(int n){if(n<2){return 0;}for(int i=2; i*i<=n; i++){if(n%i==0){return 0;}}return 1;}
/*約数列挙*/vector<int> getDivisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
//----------------------------------------------
signed main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int a,b; cin >> a >> b;
    if(a > 8 || b > 8) OUT(":(");
    else OUT("Yay!")

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:5: error: expected ';' before 'return'
   33 |     return 0;
      |     ^~~~~~
Language: C++

#include<iostream>

using namespace std;
#define rep(i,n) for(int i = 0; i<(int)(n);i++)
#define rep1(i,n) for(int i = 1; i<(int)(n); i++)

int main (void){

    int a,b;
    int flag = 0;
    int temp = 0; //check
    cin  >> a>>b;

    if((a+ b)>16){
        cout<<":(";
        return 0;
    }

    int array[16];

    rep(i,16){
        array[i] = 0;
    }

    if(a < b){
        int c = a;
        a = b;
        b = c;
    }
    int m = (a-b) * 2a;

    if((16 -(a - b)) < m){
        
        cout<<":(";
        return 0;
    }

    int n = a+b;
   
   /*
    rep(i,n){
        if((i % 2) == 0 && a > 0){          //A
            array[i] = 1;
            if(array[i] == temp){
                flag = 1;
               // cout<<i <<"abreak"<<endl;
                break;
            }
            temp = array[i];
            a--;
            //cout<<"a:"<<a<<endl;

        }else if((i % 2 ) == 1 && b > 0){   //B
            array[i] = -1;
            if(array[i] == temp){
                flag = 1;    
               // cout<<i<< "bbreak"<<endl;
                break;
            }
            temp = array[i];
            b--;
          //  cout<<"b:"<<b<<endl;
        }else if((i % 2) == 1 && b <= 0){
            array[i] = 0;
            // cout<< "kittaa";
        }
        
    }
    */

    if(flag == 1){
        cout << ":(";
    }else cout<<"Yay!";

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:30:21: error: unable to find numeric literal operator 'operator""a'
   30 |     int m = (a-b) * 2a;
      |                     ^~