criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.*;

Scanner sc = new Scanner(System.in);
int d = sc.nextInt;
int n = sc.nextInt;

if (d=0){
	System.out.println(n);
}else if ( d = 1 ){
	System.out.println(":(");
}

Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
Scanner sc = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
if (d=0){
^
Main.java:9: error: class, interface, enum, or record expected
}else if ( d = 1 ){
^
Main.java:11: error: class, interface, enum, or record expected
}
^
4 errors
Language: C++

Scanner sc = new Scanner(System.in);
int d = sc.nextInt;
int n = sc.nextInt;

if (d=0){
	System.out.println(n);
}else if ( d = 1 ){
	System.out.println(":(");
}

Compiler output:
a.cc:1:1: error: 'Scanner' does not name a type
    1 | Scanner sc = new Scanner(System.in);
      | ^~~~~~~
a.cc:2:9: error: 'sc' was not declared in this scope
    2 | int d = sc.nextInt;
      |         ^~
a.cc:3:9: error: 'sc' was not declared in this scope
    3 | int n = sc.nextInt;
      |         ^~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if (d=0){
      | ^~
a.cc:7:2: error: expected unqualified-id before 'else'
    7 | }else if ( d = 1 ){
      |  ^~~~
Language: C++

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   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:11: error: 'max' was not declared in this scope
    6 |   if (8 < max(A, B)) {
      |           ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << ":(" << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:21: error: 'endl' was not declared in this scope
    7 |     cout << ":(" << 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:5: error: 'cout' was not declared in this scope
    9 |     cout << "Yay!" << endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:23: error: 'endl' was not declared in this scope
    9 |     cout << "Yay!" << endl;
      |                       ^~~~
a.cc:9:23: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <stdio.h>
int main(){
  int a,b;
  cin>>a>>b;
  if(a<=8 && b<=8){
    cout<<"Yay";
  }else{
    printf(":(\n");
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin>>a>>b;
      |   ^~~
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<"Yay";
      |     ^~~~
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:6: error: expected '}' at end of input
   11 |     }
      |      ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: Java

public static void main(String[] args) throws IOException {
		try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
		 final String str = reader.readLine();

			final String sp[] = str.split(" ");
			int A = Integer.parseInt(sp[0]);
			int B = Integer.parseInt(sp[1]);
			String result;
			if (8 < A || 8 < B) {
				result = ":(";
			} else {
				result = "Yay!";
			}
			System.out.println(result);
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) throws IOException {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <iostream>
#include <math.h>
using namespace std;
 
int main(void) {
	int d,n;
	cin >> d >> n;
	if (n==100)  n = 101;

        cout << std::fixed;
        cout << std::setprecision(0);

        cout << n*pow(10, 2*d);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:22: error: 'setprecision' is not a member of 'std'
   11 |         cout << std::setprecision(0);
      |                      ^~~~~~~~~~~~
a.cc:3:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    2 | #include <math.h>
  +++ |+#include <iomanip>
    3 | using namespace std;
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <cmath>
using namespace std;

int main(void){
  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: 'Yay' was not declared in this scope
   12 |     cout << Yay! << endl;
      |             ^~~
Language: C++

#include <iostream>
using namespace std;

int main()
{
    int d,n;
    cin>>d>>n;
    cout<<n;
    for(i=0;i<d;i++)
        cout<<"00";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'i' was not declared in this scope
    9 |     for(i=0;i<d;i++)
      |         ^
Language: C++

#include<iostream>
using namespace syd;

int main(){
  int a,b;
  cin << a << b;
  if(a<=8 && b<=8) cout << "Yes" << endl;
  else cout << "No" << endl;
}



Compiler output:
a.cc:2:17: error: 'syd' is not a namespace-name
    2 | using namespace syd;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:7:20: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if(a<=8 && b<=8) cout << "Yes" << 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:37: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   if(a<=8 && b<=8) cout << "Yes" << 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:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout << "No" << 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:8:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   else cout << "No" << 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>
#define llong long long
#define ullong unsigned long long
#define popb pop_back
#define popf pop_front
#define pushb push_back
#define pushf push_front
#define S second
#define F first
#define Need_for_speed ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

using namespace std;

const long long MXN = 1e5 + 7;
const long long MOD = 1e9 + 7;
const long double PI = 3.14;
const long long INF = 1e18 + 123;

int main()
{
    Need_for_speed;
    ll 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:22:5: error: 'll' was not declared in this scope
   22 |     ll a, b;
      |     ^~
a.cc:23:12: error: 'a' was not declared in this scope
   23 |     cin >> a >> b;
      |            ^
a.cc:23:17: error: 'b' was not declared in this scope
   23 |     cin >> a >> b;
      |                 ^
Language: C++

#include <bits/stdc++.h>
#define llong long long
#define ullong unsigned long long
#define popb pop_back
#define popf pop_front
#define pushb push_back
#define pushf push_front
#define S second
#define F first
#define Need_for_speed ios_base::sync_with_stdio(0) cin.tie(0) cout.tie(0)

using namespace std;

const long long MXN = 1e5 + 7;
const long long MOD = 1e9 + 7;
const long double PI = 3.14;
const long long INF = 1e18 + 123;

int main()
{
    Need_for_speed;
    ll 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:10:53: error: expected ';' before 'cin'
   10 | #define Need_for_speed ios_base::sync_with_stdio(0) cin.tie(0) cout.tie(0)
      |                                                     ^~~
a.cc:21:5: note: in expansion of macro 'Need_for_speed'
   21 |     Need_for_speed;
      |     ^~~~~~~~~~~~~~
a.cc:22:5: error: 'll' was not declared in this scope
   22 |     ll a, b;
      |     ^~
a.cc:23:12: error: 'a' was not declared in this scope
   23 |     cin >> a >> b;
      |            ^
a.cc:23:17: error: 'b' was not declared in this scope
   23 |     cin >> a >> b;
      |                 ^
Language: C++

#include <bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
	int a,b;
	cin>>a>>b;
	for(int i=9;i<=16;1++){
		if(a==i||b==i){
			cout<<":("<<endl;
			return 0;
		}
	}
	cout<<"Yay!"<<endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: lvalue required as increment operand
    7 |         for(int i=9;i<=16;1++){
      |                           ^
Language: C++

//
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define speed ios::sync_with_stdio(false)
using namespace std;

string gs(char x){
    string s(1,x);
    return s;
}

int main()
{
	speed;
	
	ll 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:24:29: error: expected ';' before 'return'
   24 |                 cout<<"Yay!"
      |                             ^
      |                             ;
......
   30 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>
typedef long long ll;
using namespace std;

int main(void) {
  ll i, j, k, a, b;
  scanf("%lld%lld", &a, &b);
  if(a <= 8 && b <= 8) printf("Yay!");
  else printf(":(");
  return 0;
}


Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
Language: C

#include <stdio.h>
int main(){
	int a,b,c;
	scanf("%d %d",&a,&b);
	1<a<16;
	1<b<16;
	c = a+b;
	if (c>16){
		printf(":(");
	}else if (a>8 or b>8){
		printf(":(");
	}else{
		printf("Yay!");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:22: error: expected ')' before 'or'
   10 |         }else if (a>8 or b>8){
      |                  ~   ^~~
      |                      )
Language: C

#include <stdio.h>
int main(){
	int a,b,c;
	scanf("%d%d", &a,&b);
	c=a+b;
	if (a>8 or b>8){
		printf(":(");
		}else if(c>16){
			printf(":(");
			}else{
				printf("Yay!");
			}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: error: expected ')' before 'or'
    6 |         if (a>8 or b>8){
      |            ~   ^~~
      |                )
Language: C

#include <stdio.h>
int main(){
	int a,b,c;
	scanf("%d%d", &a,&b);
	c=a+b;
	if (a>8 or b>8){
		printf(":(")}
		else if(c>16){
			printf(":(")}
			else{
				printf("Yay!");
			}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: error: expected ')' before 'or'
    6 |         if (a>8 or b>8){
      |            ~   ^~~
      |                )
main.c:7:29: error: expected ';' before '}' token
    7 |                 printf(":(")}
      |                             ^
      |                             ;
main.c:9:37: error: expected ';' before '}' token
    9 |                         printf(":(")}
      |                                     ^
      |                                     ;
Language: C++

package main

import "fmt"

func main() {
	var a,b int
	fmt.Scan(&a,&b)
	if (a < 9) && (b < 9) {
		fmt.Println("Yay!")
	}else{
		fmt.Println(":(")
	}
}


Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package main
      | ^~~~~~~
Language: C++

#include <iostream>
#include <string>

using namespace std;

int main(){
	int x,y;
	cin >> x >> y;
	cout << pow(100, x) * y << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'pow' was not declared in this scope
    9 |         cout << pow(100, x) * y << endl;
      |                 ^~~
Language: C++

#include <iostream>
#include <string>

using namespace std;

int main(){
	int x,y;
	cin >> x >> y;
	cout << pow(100,x) * y << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'pow' was not declared in this scope
    9 |         cout << pow(100,x) * y << endl;
      |                 ^~~
Language: C++

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:4:9: error: 'cin' was not declared in this scope
    4 |         cin >> a >> b;
      |         ^~~
a.cc:6:17: error: 'cout' was not declared in this scope
    6 |                 cout << "Yay!" << endl;
      |                 ^~~~
a.cc:6:35: error: 'endl' was not declared in this scope
    6 |                 cout << "Yay!" << endl;
      |                                   ^~~~
a.cc:8:17: error: 'cout' was not declared in this scope
    8 |                 cout << ":(" << endl;
      |                 ^~~~
a.cc:8:33: error: 'endl' was not declared in this scope
    8 |                 cout << ":(" << endl;
      |                                 ^~~~
Language: C++

A, B = map(int, raw_input().split())

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

Compiler output:
a.cc:3:29: warning: multi-character character constant [-Wmultichar]
    3 | if A <= 8 and B <= 8: print 'Yay!'
      |                             ^~~~~~
a.cc:4:12: warning: multi-character character constant [-Wmultichar]
    4 | else: print':('
      |            ^~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A, B = map(int, raw_input().split())
      | ^
Language: C++

#include <stdio.h>
int A, B;

int main(void) {
  
 if((A + B % 2 = 0)
   printf("Yay!");
 else
   printf(":(");
}  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: lvalue required as left operand of assignment
    6 |  if((A + B % 2 = 0)
      |      ~~^~~~~~~
a.cc:8:2: error: expected primary-expression before 'else'
    8 |  else
      |  ^~~~
a.cc:7:19: error: expected ')' before 'else'
    7 |    printf("Yay!");
      |                   ^
      |                   )
    8 |  else
      |  ~~~~              
a.cc:6:4: note: to match this '('
    6 |  if((A + B % 2 = 0)
      |    ^
Language: C++

#include <iostream>
using namespace std;

int main(){
  
  int n,m;

  cin >> n >> m;
  
  if( n <= 8 && m =< 8 ){
    cout << "Yay!" <<endl;
  }else{
    cout << ":("   <<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: expected primary-expression before '<' token
   10 |   if( n <= 8 && m =< 8 ){
      |                    ^
Language: C++

#include <iostream>

using namespace std;

int main(){
  
  int n,m;
  cin >> n >> m;
  if( n <= 8 && m =<9 )
    cout << "Yay!" <<endl;
  else 
    cout <<":("<<endl;

  return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: expected primary-expression before '<' token
    9 |   if( n <= 8 && m =<9 )
      |                    ^
Language: C++

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

int main(){
    cin >> n >> m;
    if (n > 8|| m > 8) cout << ":(";
    cout << "Yay!"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'n' was not declared in this scope; did you mean 'yn'?
    5 |     cin >> n >> m;
      |            ^
      |            yn
a.cc:5:17: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |     cin >> n >> m;
      |                 ^
      |                 tm
a.cc:7:19: error: expected ';' before '}' token
    7 |     cout << "Yay!"
      |                   ^
      |                   ;
    8 | }
      | ~
Language: C

#include <stdio.h>
#define N_max 10000
 
int main(int argc, char const *argv[]) {
  int N;
  long A[N_max];
  //入力
  scanf("%d", &N );
  for (size_t i = 0; i < N; i++) {
    scanf("%ld", &A[i] );
  }
  //前処理(並び替え)
  long B[N_max] = {0};
  int b = 0;
  for (size_t i = 0; i < N; i++) {
    if ( (A[i]%2) == 0) {
      B[b] = A[i];
      A[b] = B[b];
      b ++;

Compiler output:
main.c: In function 'main':
main.c:19:7: error: expected declaration or statement at end of input
   19 |       b ++;
      |       ^
main.c:19:7: error: expected declaration or statement at end of input
main.c:19:7: error: expected declaration or statement at end of input
Language: C

include<stdio.h>
int main(){
  int n,i,count;
  int a[10000];
  scanf("%d",&n);
  count = 0;
  for(i = 0;i < n;i++){
    scanf("%d",&a[i]);
    while(a[i] % 2 == 0) {
      a[i] /= 2; count++;
  }
  }
  printf("%d\n",count);
 
  return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>

using namespace std;


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

	if (a <= 8 && b <= 8) {
		printf("Yay!");
	}
	else {
		printf(":(");
	}
}

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

#include <iostream>
#include <stdio.h>
#include <vector>
#include <map>
using namespace std;

#define abs(N) ((N>0)?N:-1*N)
#define print(S) (cout << S)
#define println(S) (cout << S << endl)

int main(int argc, char const *argv[])
{
  cin >> a >> b;

  if( a > 8 || b > 8)
    println(":(");
  else
    println("Yay!");

  return 0;
}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:13:10: error: 'a' was not declared in this scope
   13 |   cin >> a >> b;
      |          ^
a.cc:13:15: error: 'b' was not declared in this scope
   13 |   cin >> a >> b;
      |               ^
Language: Java

#include<iostream>
#include<algorithm>

using namespace std;

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include<algorithm>
^
Main.java:8: error: not a statement
    cin >> A >> B;
             ^
Main.java:10: error: not a statement
        cout << ":(" << endl;
                     ^
Main.java:12: error: not a statement
        cout << "Yay!" << endl;
                       ^
Main.java:6: 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<stdio.h>
int main(void)
{
    int a ,b:

    scanf("%d%d", &a, &b);
    if((a <= 8) && (b <= 8))
      printf("Yay!\n");
    else
      printf(":(\n");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: found ':' in nested-name-specifier, expected '::'
    4 |     int a ,b:
      |             ^
      |             ::
a.cc:4:12: error: 'b' has not been declared
    4 |     int a ,b:
      |            ^
a.cc:6:10: error: qualified-id in declaration before '(' token
    6 |     scanf("%d%d", &a, &b);
      |          ^
a.cc:7:21: error: 'b' was not declared in this scope
    7 |     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 << “:(” << endl;
}
else{
 cout << “Yay!” << endl;
}
}

Compiler output:
a.cc:9:10: error: extended character “ is not valid in an identifier
    9 |  cout << “:(” << endl;
      |          ^
a.cc:9:13: error: extended character ” is not valid in an identifier
    9 |  cout << “:(” << endl;
      |             ^
a.cc:12:10: error: extended character “ is not valid in an identifier
   12 |  cout << “Yay!” << endl;
      |          ^
a.cc:12:15: error: extended character ” is not valid in an identifier
   12 |  cout << “Yay!” << endl;
      |               ^
a.cc: In function 'int main()':
a.cc:9:10: error: '\U0000201c' was not declared in this scope
    9 |  cout << “:(” << endl;
      |          ^
a.cc:12:10: error: '\U0000201cYay' was not declared in this scope
   12 |  cout << “Yay!” << endl;
      |          ^~~~
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:9:11: error: extended character “ is not valid in an identifier
    9 |  cout <<  “:(” << endl;
      |           ^
a.cc:9:14: error: extended character ” is not valid in an identifier
    9 |  cout <<  “:(” << endl;
      |              ^
a.cc:12:10: error: extended character “ is not valid in an identifier
   12 |  cout << “Yay!” << endl;
      |          ^
a.cc:12:15: error: extended character ” is not valid in an identifier
   12 |  cout << “Yay!” << endl;
      |               ^
a.cc: In function 'int main()':
a.cc:9:11: error: '\U0000201c' was not declared in this scope
    9 |  cout <<  “:(” << endl;
      |           ^
a.cc:12:10: error: '\U0000201cYay' was not declared in this scope
   12 |  cout << “Yay!” << endl;
      |          ^~~~
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:9:10: error: extended character “ is not valid in an identifier
    9 |  cout << “: (“ << endl;
      |          ^
a.cc:9:14: error: extended character “ is not valid in an identifier
    9 |  cout << “: (“ << endl;
      |              ^
a.cc:12:10: error: extended character “ is not valid in an identifier
   12 |  cout << “Yay!” <<endl;
      |          ^
a.cc:12:15: error: extended character ” is not valid in an identifier
   12 |  cout << “Yay!” <<endl;
      |               ^
a.cc: In function 'int main()':
a.cc:9:10: error: '\U0000201c' was not declared in this scope
    9 |  cout << “: (“ << endl;
      |          ^
a.cc:12:10: error: '\U0000201cYay' was not declared in this scope
   12 |  cout << “Yay!” <<endl;
      |          ^~~~
Language: C++

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

int main() {
 int A, B;
cin >> A >> B;

if((A > 8 || B >8){
 cout << “: (“ << endless;
}
else{
 cout << “Yay!” <<end;
}
}


Compiler output:
a.cc:9:10: error: extended character “ is not valid in an identifier
    9 |  cout << “: (“ << endless;
      |          ^
a.cc:9:14: error: extended character “ is not valid in an identifier
    9 |  cout << “: (“ << endless;
      |              ^
a.cc:12:10: error: extended character “ is not valid in an identifier
   12 |  cout << “Yay!” <<end;
      |          ^
a.cc:12:15: error: extended character ” is not valid in an identifier
   12 |  cout << “Yay!” <<end;
      |               ^
a.cc: In function 'int main()':
a.cc:8:19: error: expected ')' before '{' token
    8 | if((A > 8 || B >8){
      |   ~               ^
      |                   )
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
Language: C++

import java.util.*;

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    System.out.println((8 >= sc.nextInt() && 8 >= sc.nextInt()) ? "Yay!" : ":(");
  }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C

#include<stdio.h>

int main(){
int D;
int N;
scanf("%d%d",&D,&N);
if(D==0){
printf("%d",&N*1);
}if(D==1){
printf("%d",&N*100);
}if(D==2){
printf("%d",&N*10000);
}
}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: invalid operands to binary * (have 'int *' and 'int')
    8 | printf("%d",&N*1);
      |             ~~^
      |             |
      |             int *
main.c:10:15: error: invalid operands to binary * (have 'int *' and 'int')
   10 | printf("%d",&N*100);
      |             ~~^
      |             |
      |             int *
main.c:12:15: error: invalid operands to binary * (have 'int *' and 'int')
   12 | printf("%d",&N*10000);
      |             ~~^
      |             |
      |             int *
Language: C

#include<stdio.h>

int main(){
int D;
int N;
scanf("%d%d",&D,&N);
if(D==0){
printf("%d",&N*1);
}if(D==1){
printf("%d",&N*100);
}if(D==2){
printf("%d",N*10000);
}
}


Compiler output:
main.c: In function 'main':
main.c:8:15: error: invalid operands to binary * (have 'int *' and 'int')
    8 | printf("%d",&N*1);
      |             ~~^
      |             |
      |             int *
main.c:10:15: error: invalid operands to binary * (have 'int *' and 'int')
   10 | printf("%d",&N*100);
      |             ~~^
      |             |
      |             int *
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:13: error: expected ';' before '}' token
    9 | printf(":(")
      |             ^
      |             ;
   10 | }
      | ~
Language: C++

#include <iostream>
#include <vector>
#include <math.h>
#include <cmath>
#include <algorithm>
#include <string>
#include <cstring>
#include <regex>

using namespace std;

using ll = long long;
using pii = pair<int,int>;
using vi = vector<int>;
using vs = vector<string>;
using vll = vector<ll>;
using vpii = vector<pii>;

#define fi first
#define se second
#define mp make_pair
#define pb push_back

#define FOR(i,a,b) for(int i=(a);i<=(b);i++)
#define rFOR(i,a,b) for(int i=(b);i>=(a);i--)
#define SORT(a) sort((a).begin(),(a).end());
#define rSORT(a) sort((a).rbegin(),(a).rend());
#define UNIQUE(a) (a).erase(unique((a).begin(),(a).end()),(a).end());
#define yn(a) cout <<((a)?"yes":"no")<<endl;
#define Yn(a) cout <<((a)?"Yes":"No")<<endl;
#define YN(a) cout <<((a)?"YES":"NO")<<endl;

//sankou
//vvi = vector<vector<int>>(20, vector<int>(10, 0));

//seiki
//#include <regex>
/*bubun*/
//regex_search("u32", regex("[0-9]"));      // true
/*kanzen*/
//regex_match("u32", regex("(i|u)\\d+"));   // true

int isP(int n) {
    if(n<=1) return 0;
    FOR(i,2,(int)sqrt(n)) {
        if(n%i==0) return 0;
    }
    return 1;
}

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:56:22: error: expected ';' before '}' token
   56 |         cout <<"Yay!"
      |                      ^
      |                      ;
   57 |     }else{
      |     ~                 
a.cc:58:20: error: expected ';' before '}' token
   58 |         cout <<":("
      |                    ^
      |                    ;
   59 |     }
      |     ~
Language: Java

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 入力
		int a = sc.nextInt();
		int b = sc.nextInt();

		//判定
		String ans ="";
		if (a <= 8 && b <= 8) {
			ans = "Yay!";
		} else {
			ans = ":(";
		}

		// 出力
		System.out.println(ans);
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const int INF = 1e9;
const ll LINF = 1e18;
template<class S,class T> ostream& operator << (ostream& out,const pair<S,T>& o){ out << "(" << o.first << "," << o.second << ")"; return out; }
template<class T> ostream& operator << (ostream& out,const vector<T> V){ for(int i = 0; i < V.size(); i++){ out << V[i]; if(i!=V.size()-1) out << " ";} return out; }
template<class T> ostream& operator << (ostream& out,const vector<vector<T> > Mat){ for(int i = 0; i < Mat.size(); i++) { if(i != 0) out << endl; out << Mat[i];} return out; }
template<class S,class T> ostream& operator << (ostream& out,const map<S,T> mp){ out << "{ "; for(auto it = mp.begin(); it != mp.end(); it++){ out << it->first << ":" << it->second; if(mp.size()-1 != distance(mp.begin(),it)) out << ", "; } out << " }"; return out; }
 
int main(void) {
    cin.tie(0); ios_base::sync_with_stdio(false);
  ll 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:16:33: error: expected ';' before 'endl'
   16 |   if(a<=8 && b<=8)cout << "Yay!" endl;
      |                                 ^~~~~
      |                                 ;
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main(){

     int x, y;

     cin >> x >> y;

     int ans = 1;

     for(int a = 0; a < x; a++) ans *= 100;

     if(y == 100) ans *= 101;

     else ana *= y;

     return 0;

}     

Compiler output:
a.cc: In function 'int main()':
a.cc:17:11: error: 'ana' was not declared in this scope; did you mean 'ans'?
   17 |      else ana *= y;
      |           ^~~
      |           ans
Language: C++

main(a,b){scanf("%d%d",&a,&b);if(a<9&&b<9)puts("Yay!");else puts(":(");}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(a,b){scanf("%d%d",&a,&b);if(a<9&&b<9)puts("Yay!");else puts(":(");}
      |     ^
Language: C++

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

Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(void){int a,b;scanf("%d%d",&a,&b);if(a<=8 && b<=8)printf("Yay!\n");else printf(":(\n");return 0;}
      |                      ^~~~
a.cc:1:9: fatal error: stdio.h>in: No such file or directory
    1 | #include<stdio.h>int main(void){int a,b;scanf("%d%d",&a,&b);if(a<=8 && b<=8)printf("Yay!\n");else printf(":(\n");return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d%d",&a,&b);
      |         ^~~~~
a.cc:6:17: error: 'printf' was not declared in this scope
    6 |                 printf("Yay!");
      |                 ^~~~~~
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:8:17: error: 'printf' was not declared in this scope
    8 |                 printf(":(");
      |                 ^~~~~~
a.cc:8:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
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(void){
    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:7:23: error: expected ';' before '}' token
    7 |         printf("Yay!")
      |                       ^
      |                       ;
    8 |     }else{
      |     ~
Language: C

#include<stdio.h>
int main(){
 int D,N;
 int r,i;
 scanf("%d %d",&D,&N);
 for(i=0; && i <D ;&& i++){
  r *= 100;
  }
 if(N == 100){
  printf("%d\n",r*(N+1));
  return 0;
  }
  printf("%d\n",r*N);
  return 0;
  
 }


Compiler output:
main.c: In function 'main':
main.c:6:16: warning: comparison between pointer and integer
    6 |  for(i=0; && i <D ;&& i++){
      |                ^
main.c:6:24: error: expected ')' before '++' token
    6 |  for(i=0; && i <D ;&& i++){
      |     ~                  ^~
      |                        )
main.c:6:2: error: label 'i' used but not defined
    6 |  for(i=0; && i <D ;&& i++){
      |  ^~~
Language: Java

import com.sun.xml.internal.xsom.impl.scd.Iterators;

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


Compiler output:
Main.java:1: error: package com.sun.xml.internal.xsom.impl.scd does not exist
import com.sun.xml.internal.xsom.impl.scd.Iterators;
                                         ^
1 error
Language: C++

import sys 
import math

a, b = map(int, input().split(" "))

if a<=8 & b<=8:
    print("Yey!")
else:
    print(":(")


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C

#include <stdio.h>

   int main() {
       int A, B;
       scanf("%d %d",&A,&B);
       if ( A <= 8 && B <= 8) {
          printf(" Yay! ");
       } else if {
          printf(" :( ");
       }
   }

Compiler output:
main.c: In function 'main':
main.c:8:18: error: expected '(' before '{' token
    8 |        } else if {
      |                  ^
      |                  (
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:8: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |        scanf("%d %d",&A,&B);
      |        ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:3:8: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |        scanf("%d %d",&A,&B);
      |        ^~~~~
main.c:3:8: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:11: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |           printf(" Yay! ");
      |           ^~~~~~
main.c:5:11: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:11: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:11: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:18: error: expected '(' before '{' token
    6 |        } else if {
      |                  ^
      |                  (
main.c:7:11: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |           printf(" :( ");
      |           ^~~~~~
main.c:7:11: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>

   int main() {
       int A, B;
       if ( A <= 8 && B <= 8) {
          printf(" Yay! ");
       } else if {
          printf(" :( ");
       }
   return 0;
   }

Compiler output:
main.c: In function 'main':
main.c:7:18: error: expected '(' before '{' token
    7 |        } else if {
      |                  ^
      |                  (
Language: C

  1 #include <stdio.h>
  2 
  3 int main() {
  4     int a, b;
  5     a = scanf("%d", &a);
  6     b = scanf("%d", &b);
  7  
  8     if (a > 8 | b > 8) {
  9     ¦   printf(":(");
 10     } else {
 11     ¦   printf("Yay!");
 12     }
 13     return 0;
 14 }

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:9:9: error: stray '\302' in program
    9 |   9     <U+00A6>   printf(":(");
      |         ^~~~~~~~
main.c:11:9: error: stray '\302' in program
   11 |  11     <U+00A6>   printf("Yay!");
      |         ^~~~~~~~
Language: C

  1 #include <stdio.h>
  2 
  3 int main() {
  4     int a, b;
  5     a = scanf("%d", &a);
  6     b = scanf("%d", &b);
  7  
  8     if (a > 8 | b > 8) {
  9     ¦   printf(":(")
 10     }
 11     return 0;
 12 }


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:9:9: error: stray '\302' in program
    9 |   9     <U+00A6>   printf(":(")
      |         ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc:8:33: error: stray '\' in program
    8 |                 cout << ":(" << \n;
      |                                 ^
a.cc:10:35: error: stray '\' in program
   10 |                 cout << "Yay!" << \n;
      |                                   ^
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:34: error: 'n' was not declared in this scope
    8 |                 cout << ":(" << \n;
      |                                  ^
a.cc:10:36: error: 'n' was not declared in this scope
   10 |                 cout << "Yay!" << \n;
      |                                    ^
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:35: error: expected ';' before ')' token
    7 | cout<<((A<=8)&&(B<=8))?"yes!":":(")<<endl;
      |                                   ^
      |                                   ;
Language: C++

#include<stdio.h>
#include<stdlib.h>
int main() {
	int n, m;
	scanf("%d", &n, &m);
	int x[n], y[n], z[n], sum[n];
	for (int i = 0; i<n; i++) {
        scanf("%d%d%d",&x[i],&y[i],&z[i]);
		sum[i] = abs(x[i]) + abs(y[i]) + abs(z[i]);
	}
	int tmp;
	for (i = 0; i<n - 1; i++) {
		for (int j = n - 1; j>i; j--) {
			if (sum[j - 1] > sum[j]) {
				tmp = sum[j];
				sum[j] = sum[j - 1];
				sum[j - 1] = tmp;
			}
		}
	}
	int total = 0;
        int N=n-1
	for(i=N;i>N-m;i--){
		total = total + sum[i];
	}
	printf("%d", total);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: 'i' was not declared in this scope
   12 |         for (i = 0; i<n - 1; i++) {
      |              ^
a.cc:23:9: error: expected ',' or ';' before 'for'
   23 |         for(i=N;i>N-m;i--){
      |         ^~~
a.cc:23:17: error: 'i' was not declared in this scope
   23 |         for(i=N;i>N-m;i--){
      |                 ^
Language: C++

#include <iostream>
#include <algorithm>
#include <climits>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <cmath>

using namespace std;

int main() {
    long a, b;
    cin >> a >> b;
    long base = pow(100, a);
//    long cnt = 0;
//    long i = 0;
//    if(a == 0) {
//        while(cnt < b) {
//            if(i % 100 == 0) {
//                i++ ; continue;
//            }
//            cnt++;i++;
//        }
//        cout << i-1 << endl;
//        return 0;
//    }
//    while(cnt < b) {
//        if(i % base == 0) {
//            i++;
//            continue;
//        }
//        i++;
//        cnt ++;
//    }
//    cout << base * (i-1) << endl;
        if (b !== 100)
        cout  << base * b << endl;
        else
            cout << base * 101 << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:38:17: error: expected primary-expression before '=' token
   38 |         if (b !== 100)
      |                 ^
Language: C++

#include <iostream>
using namespace std ;

int main(void) 
{
	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:8:17: error: expected ';' before 'B'
    8 |         cin >> A B ;
      |                 ^~
      |                 ;
Language: C++

#include <iostream>

void main(void) 
{
	int A, B ;

	cin >> A B ;

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

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void)
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         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:10:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |                 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:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |                 cout << ":(" << 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:12:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |                 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:12:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |                 cout << "Yay!" << endl ;
      |                                   ^~~~
      |                                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

int main()
{
	double a, b;
	int d, n;
	printf("D N \n");
	scanf_s("%d %d", &d, &n);
	if ((d >= 0 && d <= 2) && (n >= 1 && n <= 100))
	{
		if (d == 1)
		{
			a = (n - 1) / 9;
			printf("%f\n", (n - 9 * a)*pow(10, 2 + a));
		}
		else
		{
			if (d == 2)
			{
				b = (n - 1) / 81;
				printf("%f\n", (n-81*(n/81) + 10 + (n-81*(n/81) - 1) / 9)*pow(10,2+b));
			}
			else
			{
				if (n != 100)
				{
					printf("%d\n", n);
				}
				else
					printf("%d\n", n + 1);
			}
		}
	}
	else
		printf("No\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'printf' was not declared in this scope
    5 |         printf("D N \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()
a.cc:6:9: error: 'scanf_s' was not declared in this scope
    6 |         scanf_s("%d %d", &d, &n);
      |         ^~~~~~~
a.cc:12:52: error: 'pow' was not declared in this scope
   12 |                         printf("%f\n", (n - 9 * a)*pow(10, 2 + a));
      |                                                    ^~~
a.cc:19:91: error: 'pow' was not declared in this scope
   19 |                                 printf("%f\n", (n-81*(n/81) + 10 + (n-81*(n/81) - 1) / 9)*pow(10,2+b));
      |                                                                                           ^~~
Language: C++

#incude<stdio.h>
int main()
{
   int a,b;
   scanf("%d%d",&a,&b)
  if(a<=8&&b<=8){
     printf("Yes");
}
  else{printf("No");}
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude<stdio.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:4: error: 'scanf' was not declared in this scope
    5 |    scanf("%d%d",&a,&b)
      |    ^~~~~
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{printf("No");}
      |   ^~~~
a.cc:9:8: error: 'printf' was not declared in this scope
    9 |   else{printf("No");}
      |        ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #incude<stdio.h>
Language: C++

#include<stdio.h>
#include<cstdio>
#include<algorithm>
using namespace std;

int main() {
  int a,b;
  scanf("%d%d", &a,&b);
  if(a<9&&b<9)
  printf('Yay!');
  else printf(':(');
}


Compiler output:
a.cc:10:10: warning: multi-character character constant [-Wmultichar]
   10 |   printf('Yay!');
      |          ^~~~~~
a.cc:11:15: warning: multi-character character constant [-Wmultichar]
   11 |   else printf(':(');
      |               ^~~~
a.cc: In function 'int main()':
a.cc:10:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   10 |   printf('Yay!');
      |          ^~~~~~
      |          |
      |          int
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:11:15: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   11 |   else printf(':(');
      |               ^~~~
      |               |
      |               int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include<stdio.h>
int main(void){
	int i,j,z;
	scanf("%d %d",&i,&j);
	int dat[j-1];
	if(i==0){
		for(z=0;z<j;z++){
			dat[z]=z+1;
		}
	}else if(i==1){
		for(z=1;z<j+1;z++){
			dat[z]=z*100
		}
	}else{
		for(z=1;z<j+1;z++){
			dat[z]=z*10000
		}
	}
	printf("%d",dat[j-1]);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:37: error: expected ';' before '}' token
   12 |                         dat[z]=z*100
      |                                     ^
      |                                     ;
   13 |                 }
      |                 ~                    
main.c:16:39: error: expected ';' before '}' token
   16 |                         dat[z]=z*10000
      |                                       ^
      |                                       ;
   17 |                 }
      |                 ~