criyle/codenet-compile-errors huggingface dataset:
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(), b = nextInt();
    if(a <= 8 && b <= 8)
      System.out.println("Yay!");
    else
      System.out.println(":(");
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    int a = sc.nextInt(), b = nextInt();
                              ^
  symbol:   method nextInt()
  location: class Main
1 error
Language: C++

#include <iostream>

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:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << (a <= 8 && b <= 8 ? "Yay!" : ":(") << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:49: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout << (a <= 8 && b <= 8 ? "Yay!" : ":(") << endl;
      |                                                 ^~~~
      |                                                 std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

int main(void)
{
    int A,B;

    scanf("%d%d",&A,&B);

    if((A<=8)&&(B<=8))
        printf("Yey!\n");
    else 
        printf(":(\n");
            
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'scanf' was not declared in this scope
    5 |     scanf("%d%d",&A,&B);
      |     ^~~~~
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("Yey!\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:10:9: error: 'printf' was not declared in this scope
   10 |         printf(":(\n");
      |         ^~~~~~
a.cc:10:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <stdio.h>

int main()
{
  int a,b;
  scan("%d %d",&a,&b);
  if(a+b<=16)
  {
    if(a>8||b>8)
      printf(":(\n");
    else
      printf("Yey!\n");
  }
  else
    printf(":(\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'scan' was not declared in this scope; did you mean 'scanf'?
    6 |   scan("%d %d",&a,&b);
      |   ^~~~
      |   scanf
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>

using namespace std;
using namespace __gnu_pbds;
 
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;

#define FOR(i, a, b) for (int i=a; i<(b); i++)
#define F0R(i, a) for (int i=0; i<(a); i++)
#define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()

const int MOD = 1000000007;
const ll INF = 1e18;
const int MX = 100001;

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);  gets
    int x,y;
    cin>>x>>y;
    if (x <=8 && y<=8)
    
    	cout<<"Yay!";
    
    else
    	cout<<":(";
    
    	
    

}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:48: error: 'gets' was not declared in this scope; did you mean 'getw'?
   44 |     ios_base::sync_with_stdio(0); cin.tie(0);  gets
      |                                                ^~~~
      |                                                getw
a.cc:46:10: error: 'x' was not declared in this scope
   46 |     cin>>x>>y;
      |          ^
a.cc:46:13: error: 'y' was not declared in this scope; did you mean 'yn'?
   46 |     cin>>x>>y;
      |             ^
      |             yn
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>

using namespace std;
using namespace __gnu_pbds;
 
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;

#define FOR(i, a, b) for (int i=a; i<(b); i++)
#define F0R(i, a) for (int i=0; i<(a); i++)
#define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()

const int MOD = 1000000007;
const ll INF = 1e18;
const int MX = 100001;

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);  gets
    int x,y;
    cin>>x>>y;
    if (x <=8 && y<=8)
    
    	gets("Yay!");
    
    else
    	gets(":(");
    
    	
    

}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:48: error: 'gets' was not declared in this scope; did you mean 'getw'?
   44 |     ios_base::sync_with_stdio(0); cin.tie(0);  gets
      |                                                ^~~~
      |                                                getw
a.cc:46:10: error: 'x' was not declared in this scope
   46 |     cin>>x>>y;
      |          ^
a.cc:46:13: error: 'y' was not declared in this scope; did you mean 'yn'?
   46 |     cin>>x>>y;
      |             ^
      |             yn
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>

using namespace std;
using namespace __gnu_pbds;
 
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;

#define FOR(i, a, b) for (int i=a; i<(b); i++)
#define F0R(i, a) for (int i=0; i<(a); i++)
#define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()

const int MOD = 1000000007;
const ll INF = 1e18;
const int MX = 100001;

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);  gets
    int x,y;
    cin>>x>>y;
    if (x <=8 && y<=8)
    {
    	cout<<"Yay!";
    
    else
    	cout<<":(";
    
    }	
    

}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:48: error: 'gets' was not declared in this scope; did you mean 'getw'?
   44 |     ios_base::sync_with_stdio(0); cin.tie(0);  gets
      |                                                ^~~~
      |                                                getw
a.cc:46:10: error: 'x' was not declared in this scope
   46 |     cin>>x>>y;
      |          ^
a.cc:46:13: error: 'y' was not declared in this scope; did you mean 'yn'?
   46 |     cin>>x>>y;
      |             ^
      |             yn
a.cc:51:5: error: expected '}' before 'else'
   51 |     else
      |     ^~~~
a.cc:48:5: note: to match this '{'
   48 |     {
      |     ^
a.cc: At global scope:
a.cc:57:1: error: expected declaration before '}' token
   57 | }
      | ^
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>

using namespace std;
using namespace __gnu_pbds;
 
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;

#define FOR(i, a, b) for (int i=a; i<(b); i++)
#define F0R(i, a) for (int i=0; i<(a); i++)
#define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()

const int MOD = 1000000007;
const ll INF = 1e18;
const int MX = 100001;

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);  gets
    int x,y;
    if (x <=8 && y<=8)
    {
    	cout<<"Yay!";
    }
    else
    	cout<<":(";
    
    	
    

}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:48: error: 'gets' was not declared in this scope; did you mean 'getw'?
   44 |     ios_base::sync_with_stdio(0); cin.tie(0);  gets
      |                                                ^~~~
      |                                                getw
a.cc:46:9: error: 'x' was not declared in this scope
   46 |     if (x <=8 && y<=8)
      |         ^
a.cc:46:18: error: 'y' was not declared in this scope; did you mean 'yn'?
   46 |     if (x <=8 && y<=8)
      |                  ^
      |                  yn
Language: C++

A = input('A:')
B = input('B:')
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:11: warning: multi-character character constant [-Wmultichar]
    1 | A = input('A:')
      |           ^~~~
a.cc:2:11: warning: multi-character character constant [-Wmultichar]
    2 | B = input('B:')
      |           ^~~~
a.cc:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('Yay!')
      |           ^~~~~~
a.cc:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print(':(')
      |           ^~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A = input('A:')
      | ^
Language: C++

#include <stdio.h>
#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:8:15: error: expected initializer before 'B'
    8 |         int A B;
      |               ^
a.cc:10:16: error: 'A' was not declared in this scope
   10 |         cin >> A >> B;
      |                ^
a.cc:10:21: error: 'B' was not declared in this scope
   10 |         cin >> A >> B;
      |                     ^
Language: C++

#include "bits/stdc++.h"

using namespace std;

#define ll long long
#define vi  vector<int>
#define vvi vector<vi>
#define pi  pair<int,int>
#define mp  make_pair
#define pb  push_back
#define MOD 1e9 + 7
#define PAI  3.1415
#define all(x) (x).begin(),(x).end()
#define chmax(x,y) x = max(x,y)
#define chmin(x,y) x = min(x,y)
#define pr(x) cout << x << endl
#define Endl endl
#define rep(i,n) for(int i = 0 ; i < n; i++)

const int dx[4] = {1,0,-1,0};
const int dy[4] = {0,1,0,-1};
const int ddx[8] = {-1,0,1,-1,1,-1,0,1};
const int ddy[8] = {-1,-1,-1,0,0,1,1,1};
const int inf = 99999999;
const ll linf = 1LL << 62;

ll gcd(ll a,ll b){
  if(a < b)swap(a , b);
  if(a % b == 0) return b;
  else gcd(b, a%b);
}

ll lcm(ll a,ll b){
  if(a < b)swap(a , b);
  return (a/gcd(a , b))*b;
}

struct UnionFind {
  vi par; //par[i] : iの親番号（例）par[3] = 2 : 3の親は2

  UnionFind(int N) : par(N) { //最初は全てが根として初期化
    rep(i,N) par[i] = i;
  }

  int root(int x){ //データxが属する木の根を再帰で得る : root(x) = {xの木の根}
    if(par[x] == x)return x;
    return par[x] = root(par[x]);
  }

  void unite(int x, int y){ //xとyの木を併合
    int rx = root(x); //xの根をrx
    int ry = root(y); //yの根をry
    if(rx == ry)return; //xとyの根が同じ
    par[rx] = ry; //xとyの根が同じでない時、xの根rxをyの根にryにつける。
  }

  bool same(int x, int y){//2つのデータx，yが属する木が同じならtrueを返す
    int rx = root(x);
    int ry = root(y);
    return rx == ry;
  }
};


int main(){

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


  return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:68:10: error: expected primary-expression before '=' token
   68 |   if(a < = 8 && b <= 8)cout << "Yay!" << endl;
      |          ^
a.cc:69:8: error: expected primary-expression before '<<' token
   69 |   else << ";(" << endl;
      |        ^~
a.cc: In function 'long long int gcd(long long int, long long int)':
a.cc:30:11: warning: control reaches end of non-void function [-Wreturn-type]
   30 |   else gcd(b, a%b);
      |        ~~~^~~~~~~~
Language: C++

#define _CRT_SECURE_NO_WARNINGS

#include<iostream>
#include<string>
#include<vector>
#include<list>
#include<stack>
#include<queue>
#include<map>
#include<tuple>
#include<algorithm>
#include<numeric>
#include<math.h>

#define REPS(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) for (int i = 0; i < (n); i++)

using namespace std;

using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;

const int mod = 1e9 + 7;
const long double pi = 3.141592653589793238462643383279502884197;
const long double eps = 1e-7;

int main() {
	int A, B;
	cin >> A >> B;
	if (A <= 8 && B <= 8) {
		cout << "Yes";
	}
	else {
		cout << ":("
	}
	system("pause");
	return 0;
}

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

#include <cstdio>

int main()
{
    int a, b;
    scanf("%d%d", &a, &b);
    puts(a > 8 || b > 8 ? ":(" : "Yay!");
}


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

#include<stdio.h>
int main(){
int i,j,N,ans;
scanf("%d",&N);
int a[N],b[N];

for(i=0;i<N;i++){
scanf("%d",&a[i]);
}

for(i=0;i<N;i++){
for(j=0;a[i]%2==0;j++)
a[i]=a[i]/2;
}
b[N]=j;

for(I=0;i<N;i++){
ans=ans+b[i];
}
printf("%d",ans);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:5: error: 'I' undeclared (first use in this function)
   17 | for(I=0;i<N;i++){
      |     ^
main.c:17:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main(int argc, char const* argv[])
{
	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(int, const char**)':
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <bitset>
#include <set>
#include <queue>

#define rep(i,n) for(int i=0;i<n;i++)
#define REP(i,b,n) for(int i=b;i<n;i++)

int x, y;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   16 |   cin >> x >> y;
      |   ^~~
      |   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:18:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 | cout << "Yay!" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:18:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 | cout << "Yay!" << endl;
      |                   ^~~~
      |                   std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:20:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 | cout << ":(" << endl;}}
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   20 | cout << ":(" << endl;}}
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
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
  }
  
}

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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before ')' token
    7 | cout<<(A<=8)&&(B<=8))?"yes!":":("<<endl;
      |                     ^
      |                     ;
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;
    }
    return 0;


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

import java.util.*;


public class At1 {
    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:4: error: class At1 is public, should be declared in a file named At1.java
public class At1 {
       ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main()｛
int a,b;
cin＞＞a;
cin＞＞b;
if(a＞8｜｜b＞8)｛
cout＜＜":(";
 ｝
else｛
cout＜＜"Yay!";
｝
｝

Compiler output:
a.cc:3:11: error: expected initializer before '\U0000ff5b'
    3 | int main()｛
      |           ^~
a.cc:5:1: error: 'cin\U0000ff1e\U0000ff1ea' does not name a type
    5 | cin＞＞a;
      | ^~~~~~~~
a.cc:6:1: error: 'cin\U0000ff1e\U0000ff1eb' does not name a type
    6 | cin＞＞b;
      | ^~~~~~~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(a＞8｜｜b＞8)｛
      | ^~
a.cc:9:2: error: '\U0000ff5d' does not name a type
    9 |  ｝
      |  ^~
a.cc:12:1: error: '\U0000ff5d' does not name a type
   12 | ｝
      | ^~
Language: C

use std::io::{self};
use std::iter::FromIterator;

fn main(){
    let a = read_arr();
    if a.get(0) <= Some(&8) && a.get(1) <= Some(&8) {
        println!("Yay!");
    } else {
        println!(":(");
    }
}

fn read_arr() -> Vec<i32>{
    let mut s = String::new();
    io::stdin().read_line(&mut s).ok();
    let splited = s.split(" ").map(|x| x.trim().parse::<i32>().unwrap());
    Vec::from_iter(splited)
}


Compiler output:
main.c:1:1: error: unknown type name 'use'
    1 | use std::io::{self};
      | ^~~
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
    1 | use std::io::{self};
      |        ^~
main.c:2:1: error: unknown type name 'use'
    2 | use std::iter::FromIterator;
      | ^~~
main.c:2:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
    2 | use std::iter::FromIterator;
      |        ^~
main.c:4:1: error: unknown type name 'fn'
    4 | fn main(){
      | ^~
main.c: In function 'main':
main.c:5:5: error: unknown type name 'let'
    5 |     let a = read_arr();
      |     ^~~
main.c:5:13: error: implicit declaration of function 'read_arr' [-Wimplicit-function-declaration]
    5 |     let a = read_arr();
      |             ^~~~~~~~
main.c:6:8: error: expected '(' before 'a'
    6 |     if a.get(0) <= Some(&8) && a.get(1) <= Some(&8) {
      |        ^
      |        (
main.c:6:9: error: request for member 'get' in something not a structure or union
    6 |     if a.get(0) <= Some(&8) && a.get(1) <= Some(&8) {
      |         ^
main.c: At top level:
main.c:13:1: error: unknown type name 'fn'
   13 | fn read_arr() -> Vec<i32>{
      | ^~
main.c: In function 'read_arr':
main.c:13:15: error: expected declaration specifiers before '->' token
   13 | fn read_arr() -> Vec<i32>{
      |               ^~
main.c:19: error: expected '{' at end of input
Language: Java

import java.io.PrintWriter;
import java.io.StreamTokenizer;

import static java.lang.Math.max;

class abc100_a {
    static StreamTokenizer in = new StreamTokenizer(System.in);
    static PrintWriter out = new PrintWriter(System.out);
    static final int getInt()throws Exception{
        in.nextToken();
        return (int)in.nval;
    }
    public static void main(String[] args)throws Exception {
        int a=getInt(),b=getInt();
        if(a+b==16){
            if(a!=b){
                out.println(":(");
            }else{
                out.println("Yay!");
            }
        }else{
            if(max(a,b)*2<=16){
                out.println("Yay!");
            }else{
                out.println(":(");
            }
        }
        out.flush();
    }
}


Compiler output:
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Language: Java

import java.io.PrintWriter;
import java.io.StreamTokenizer;

import static java.lang.Math.max;

public class abc100_a {
    static StreamTokenizer in = new StreamTokenizer(System.in);
    static PrintWriter out = new PrintWriter(System.out);
    static final int getInt()throws Exception{
        in.nextToken();
        return (int)in.nval;
    }
    public static void main(String[] args)throws Exception {
        int a=getInt(),b=getInt();
        if(a+b==16){
            if(a!=b){
                out.println(":(");
            }else{
                out.println("Yay!");
            }
        }else{
            if(max(a,b)*2<=16){
                out.println("Yay!");
            }else{
                out.println(":(");
            }
        }
        out.flush();
    }
}

Compiler output:
Main.java:6: error: class abc100_a is public, should be declared in a file named abc100_a.java
public class abc100_a {
       ^
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Language: C++

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

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void){
      | ^~~~
Language: C++

#include<stdio.h>

void main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&b);

if(a>8 || b>8)
    printf(":(\n");
else
    printf("Yay!\n");

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void){
      | ^~~~
a.cc: In function 'int main()':
a.cc:11:22: error: expected '}' at end of input
   11 |     printf("Yay!\n");
      |                      ^
a.cc:3:16: note: to match this '{'
    3 | void main(void){
      |                ^
Language: Java

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

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

A, B = map(int,input().split())
if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print(':(')
      |           ^~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('Yay!')
      |           ^~~~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A, B = map(int,input().split())
      | ^
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:7:14: error: expected ')' before ';' token
    7 | if(A<=8; B<=8;)
      |   ~          ^
      |              )
a.cc:7:15: error: expected primary-expression before ')' token
    7 | if(A<=8; B<=8;)
      |               ^
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else
      |   ^~~~
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 < 9 && b < 9) {
			System.out.println("Yay!");
		} else {
			System.out.println(":(");
		}
		
		System.out.println("入力する台数を入力して下さい");
		int n = sc.nextInt();
		String[] name = new String[n];
		int[] num = new int[n];
		double[] gas = new double[n];
		Car[] car = new Car[n];

		

	}
}


Compiler output:
Main.java:23: error: cannot find symbol
		Car[] car = new Car[n];
		^
  symbol:   class Car
  location: class Main
Main.java:23: error: cannot find symbol
		Car[] car = new Car[n];
		                ^
  symbol:   class Car
  location: class Main
2 errors
Language: C++

#include <bits/stdc++.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin >> a >> b >> endl;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |     cin >> a >> b >> endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout << ":(" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << "Yay!" << endl;
      |         ^~~~
      |         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 <bit/stdc++.h>

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main(void) {
  int D, N;
  cin >> D >> N;
  if(D == 1) cout << 100 * N + M / 10000;
  else if(D == 2) cout << 10000 * N;
  else cout << N + N / 100;
  cout << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:32: error: 'M' was not declared in this scope
    7 |   if(D == 1) cout << 100 * N + M / 10000;
      |                                ^
Language: C

#include <stdio.h>
 
int main(void) {
 
	int D, N,ans,cal,count = 0;
	scanf_s("%d%d", &D, &N);
 
 
	if (D == 0) {
		ans = N;
		if (N == 100) {
			ans = 101;
		}
 
		printf("%d", ans);
	}
 
	else {
		if (D == 1) {
			cal = 100;
		}
 
		if (D == 2) {
			cal = 10000;
		}
 
		for (int i = 1;count < N;i++) {
			if (i % cal == 0) {
				if (i % ((cal+ 1) ) != 0) {
 
					ans = i;
					count++;
 
 
 
				}
			}
		}
 
		printf("%d", ans);
 
	}
 
	int i;
	scanf_s
	("%d", &i);
	return 0;
}
 

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d%d", &D, &N);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <stdio.h>
	int main(void){
		scanf(%d%d,int a,int b);
			if(a>8&&b>8){
				
				printf(":(");}
else {printf("Yay!");}

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:23: error: expected primary-expression before '%' token
    3 |                 scanf(%d%d,int a,int b);
      |                       ^
a.cc:3:24: error: 'd' was not declared in this scope
    3 |                 scanf(%d%d,int a,int b);
      |                        ^
a.cc:3:28: error: expected primary-expression before 'int'
    3 |                 scanf(%d%d,int a,int b);
      |                            ^~~
a.cc:3:34: error: expected primary-expression before 'int'
    3 |                 scanf(%d%d,int a,int b);
      |                                  ^~~
a.cc:4:28: error: 'a' was not declared in this scope
    4 |                         if(a>8&&b>8){
      |                            ^
a.cc:4:33: error: 'b' was not declared in this scope
    4 |                         if(a>8&&b>8){
      |                                 ^
Language: Java

import java.io.*;
import java.util.*;
import java.math.*;
public class ATC1
{ 
	public static int M = 1000000007;
    public static void main(String[] args)throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] s = br.readLine().split(" ");	
        int a = Integer.parseInt(s[0]);
        int b = Integer.parseInt(s[1]);
        if(a<=8 && b<=8)
            out.println("Yay!");
        else
            out.println(":(");
        out.flush();
    }
    /** Loops
    *	i: for(int i=0;i<n;i++)
    *	j: for(int j=0;j<n;j++)
    *	k: for(int k=0;k<n;k++)

    *	ArrayList<Integer> arr1 = new ArrayList<>();
    
    * 	HashMap
    *	HashMap<Integer, Integer> hm = new HashMap<>();
    * 	for (Map.Entry<String,String> entry : hm.entrySet()) 
    		out.println(entry.getValue());
    
    *	Count frequencies
    	for(int i=0;i<n;i++)
        {
            Integer c = hm.get(Integer.parseInt(s[i]));
            if(c==null)
                hm.put(Integer.parseInt(s[i]),1);
            else
                hm.put(Integer.parseInt(s[i]),++c);
        }
	**/		
    public static long modularExpo(long x,long n,int M)
	{
		long result=1;
		while(n>0)
		{
		    if(n%2==1)
		        result=(result*x)%M;
		    x=(x*x)%M;
		    n=n/2;
		}	
		return result;												
	}
	//FLT, only when a and M are co-prime
	public static long modInverse(int a,int M)
	{
		long g = gcd(a,M);
		if(g!=1)
			return -1;
	    return modularExpo(a,M-2,M);
	}
	public static long gcd(int a, int b) 
	{
	    if(b==0)
	        return a;
	    else
	        return gcd(b, a % b);
	}
}

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

a, b = map(int, input().split())
if a >8:
    print(':( ')
elif b>8:
    print(' :( ')
else:
    print('Yay!')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print(':( ')
      |           ^~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print(' :( ')
      |           ^~~~~~
a.cc:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('Yay!')
      |           ^~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:32: error: 'Yay' was not declared in this scope
    7 |   if(A <= 8 && B <= 8) cout << Yay!;
      |                                ^~~
a.cc:8:16: error: expected primary-expression before ':' token
    8 |   else cout << :(;
      |                ^
Language: C++

#include <stdio.h>

int main(){
  int a, b, i;
  scanf("%d%d",&a, &b);
 if(a < 8 && b < 8) printf("Yay!);
  else printf(":(");
  return 0;
}

Compiler output:
a.cc:6:28: warning: missing terminating " character
    6 |  if(a < 8 && b < 8) printf("Yay!);
      |                            ^
a.cc:6:28: error: missing terminating " character
    6 |  if(a < 8 && b < 8) printf("Yay!);
      |                            ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: expected primary-expression before 'else'
    7 |   else printf(":(");
      |   ^~~~
Language: C++

includes<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:1:1: error: 'includes' does not name a type
    1 | includes<bits/stdc++.h>
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"Yay!"<<endl;
      |     ^~~~
a.cc:7:19: error: 'endl' was not declared in this scope
    7 |     cout<<"Yay!"<<endl;
      |                   ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<":("<<endl;
      |     ^~~~
a.cc:9:17: error: 'endl' was not declared in this scope
    9 |     cout<<":("<<endl;
      |                 ^~~~
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:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"Yay!"<<endl;
      |     ^~~~
a.cc:7:19: error: 'endl' was not declared in this scope
    7 |     cout<<"Yay!"<<endl;
      |                   ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<":("<<endl;
      |     ^~~~
a.cc:9:17: error: 'endl' was not declared in this scope
    9 |     cout<<":("<<endl;
      |                 ^~~~
Language: C

  1 #include<stdio.h>
  2 
  3 int main(void){
  4     const int max=16;
  5     int p1,p2,answer;
  6     char line[32];
  7 
  8     fgets(line,sizeof(line),stdin);
  9     sscanf(line, "%d", &p1);
 10     fgets(line, sizeof(line),stdin);
 11     sscanf(line, "%d",&p2);
 12     answer = p1 + p2;
 13 
 14     if(answer > max){
 15         answer = max - answer;
 16         if(answer % 2 == 0){
 17             printf("yay!\n");
 18         }else{
 19             printf(":(\n");
 20         }
 21         printf("over number\n");
 22     }
 23     return 0;
 24 }
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                        

Compiler output:
main.c:1:3: error: expected identifier or '(' before numeric constant
    1 |   1 #include<stdio.h>
      |   ^
main.c:1:5: error: stray '#' in program
    1 |   1 #include<stdio.h>
      |     ^
main.c:25:1: error: expected identifier or '(' before '~' token
   25 | ~
      | ^
Language: C

  1 #include <stdio.h>
  2 
  3 int main(void){
  4     const int max=16;
  5     int p1,p2,answer;
  6     char line[32];
  7 
  8     fgets(line,sizeof(line),stdin);
  9     sscanf(line, "%d", &p1);
 10     fgets(line, sizeof(line),stdin);
 11     sscanf(line, "%d",&p2);
 12     answer = p1 + p2;
 13 
 14     if(answer > max){
 15         answer = max - answer;
 16         if(answer % 2 == 0){
 17             printf("yay!\n");
 18         }else{
 19             printf(":(\n");
 20         }
 21         printf("over number\n");
 22     }
 23     return 0;
 24 }
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                        

Compiler output:
main.c:1:3: error: expected identifier or '(' before numeric constant
    1 |   1 #include <stdio.h>
      |   ^
main.c:1:5: error: stray '#' in program
    1 |   1 #include <stdio.h>
      |     ^
main.c:25:1: error: expected identifier or '(' before '~' token
   25 | ~
      | ^
Language: C

  1 #include <stdio.h>
  2 
  3 int main(void){
  4     const int max=16;
  5     int p1,p2,answer;
  6     char line[32];
  7 
  8     fgets(line,sizeof(line),stdin);
  9     sscanf(line, "%d", &p1);
 10     fgets(line, sizeof(line),stdin);
 11     sscanf(line, "%d",&p2);
 12     answer = p1 + p2;
 13 
 14     if(answer > max){
 15         answer = max - answer;
 16         if(answer % 2){
 17             printf("yay!\n");
 18         }else{
 19             printf(":(\n");
 20         }
 21         printf("over number\n");
 22     }
 23     return 0;
 24 }
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                                                                                                           
~                                     

Compiler output:
main.c:1:3: error: expected identifier or '(' before numeric constant
    1 |   1 #include <stdio.h>
      |   ^
main.c:1:5: error: stray '#' in program
    1 |   1 #include <stdio.h>
      |     ^
main.c:25:1: error: expected identifier or '(' before '~' token
   25 | ~
      | ^
Language: C++

#include <iostream>
#include <cstdio>
#include <algorithm>
#include <string>
#include <cstring>
#include <cctype>
#include <cmath>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <stdio.h>
#include <string.h>
#include <cstdlib>
#include <math.h>
#include <bitset>
#include <numeric>
#define INF 2000000000
using namespace std;
int dx[4]={1,0,-1,0},dy[4]={0,1,0,-1};
typedef long long ll;
#define PL pair<long long, long long>
#define P pair<int,int>
#define mk make_pair
#define en endl;
#define WHITE 0
#define BLACK 2
#define GRAY 1
#define RE return 0;
#define HERE cout<<"         here"
#define out(value) cout<<value<<en

int main(){
  int a,b;
  cin>>a>>b;
  if(abs(a-b)>=2) cout<<":("<<en
  else cout<<"Yay!"<<eb
}



















































































































































































































































































































































































































































































































































































































Compiler output:
a.cc: In function 'int main()':
a.cc:39:22: error: 'eb' was not declared in this scope; did you mean 'b'?
   39 |   else cout<<"Yay!"<<eb
      |                      ^~
      |                      b
Language: C++

#include <iostream>
int s=1,d, n;
int main(){
    cin >> d >> n;
    for(int i=0;i<d;i++)
        s *= 100;
    cout<<s*(n + n / 100)<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |     cin >> d >> n;
      |     ^~~
      |     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:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout<<s*(n + n / 100)<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     cout<<s*(n + n / 100)<<endl;
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.util.Scanner;

public class Miain {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int a = input.nextInt();
        int b = input.nextInt();
        int remind = 16  - (a + b);
        remind += Math.abs(a - b);
        remind = remind / 2;
        if (Math.abs(a - b) <= remind){
            System.out.println("Yay!");
        }else{
            System.out.println(":(");
        }
    }
}


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before 'cout'
    7 |     if ((a>8)||(b>8) cout<<":(";
      |                     ^~~~~
      |                     ;
a.cc:8:5: error: expected primary-expression before 'else'
    8 |     else cout<<"Yay!";
      |     ^~~~
a.cc:7:33: error: expected ')' before 'else'
    7 |     if ((a>8)||(b>8) cout<<":(";
      |        ~                        ^
      |                                 )
    8 |     else cout<<"Yay!";
      |     ~~~~
Language: Java

import java.util.*;

public class Main{
    public static void main(Strings[] args){
        Scanner sc=new Scanner(Systen.in);
            int a=sc.nextInt();
            int b=sc.nextInt();
            if (a>8 || b>8){
                System.out.println(":(");
            }else{
                System.out.println("Yay!");
            }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(Strings[] args){
                            ^
  symbol:   class Strings
  location: class Main
Main.java:5: error: cannot find symbol
        Scanner sc=new Scanner(Systen.in);
                               ^
  symbol:   variable Systen
  location: class Main
2 errors
Language: Java

import java.util.*;

public class Main{
    public static void main(Strings[] args){
        Scanner sc=new Scanner(Systen.in);
            int a=sc.nextInt();
            int b=sc.nextInt();
            if (a>8 || b>8){
                println(":(");
            }else{
                println("Yay!");
            }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(Strings[] args){
                            ^
  symbol:   class Strings
  location: class Main
Main.java:5: error: cannot find symbol
        Scanner sc=new Scanner(Systen.in);
                               ^
  symbol:   variable Systen
  location: class Main
Main.java:9: error: cannot find symbol
                println(":(");
                ^
  symbol:   method println(String)
  location: class Main
Main.java:11: error: cannot find symbol
                println("Yay!");
                ^
  symbol:   method println(String)
  location: class Main
4 errors
Language: Java

import java.util.*;

public class Main{
    public static void main(Strings[] args){
        Scanner sc=new Scanner(Systen.in);
            int a=sc.nextInt();
            int b=sc.nextInt();
            if (a>8 || b>8){
                println(":(")
            }else{
                println("Yay!")
            }
    }
}

Compiler output:
Main.java:9: error: ';' expected
                println(":(")
                             ^
Main.java:11: error: ';' expected
                println("Yay!")
                               ^
2 errors
Language: C

#include<stdio.h>
int main()
{
    int N,M,i,j,k,l,m,b,c = 0,x,y,z;
    int a[10000];

    scanf("%d %d",&N,&M);
    for(i = 0;i < N;i++){
    	scanf("%d %d %d",&x,&y,&z);
        a[i] = x + y + z;
        for(j = 0;k < i;k++){
            if(a[j] > a[i]){
                b = a[i];
                a[i] = a[j];
                a[j] = b;
    }
    for(m = 0;m < M;M++){
        c = c + a[m];
    }

    printf("%d",c);

    return 0;
}

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

#define _CRT_SECURE_NO_WARNINGS
#include "stdio.h"


int main()
{
	int N, D,a=1,i;
	scanf("%d %d", &N, &D);
	
	for (i = 1; i <= N; i++) {
		a *= 100;
	}
	a = a * D;
	printf("%d\n", a);
	
    return 0;
}
 
　　　

Compiler output:
a.cc:19:1: error: extended character 　 is not valid in an identifier
   19 | 　　　
      | ^
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: '\U00003000\U00003000\U00003000' does not name a type
   19 | 　　　
      | ^~~~~~