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

#include <iostream>
int a[30];
string s;

int main(){
 	cin >> s;
  	for(int i=0;i<s.size();i++) a[s[i]-'a']++;
	for(int i=0;i<30;i++) if(a[i]%2){cout << "No" << endl; return 0;}
  	
  	cout << "Yes" << endl;
  	return 0;
}

Compiler output:
a.cc:3:1: error: 'string' does not name a type; did you mean 'stdin'?
    3 | string s;
      | ^~~~~~
      | stdin
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> s;
      |         ^~~
      |         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:16: error: 's' was not declared in this scope
    6 |         cin >> s;
      |                ^
a.cc:8:42: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         for(int i=0;i<30;i++) if(a[i]%2){cout << "No" << endl; return 0;}
      |                                          ^~~~
      |                                          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:58: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         for(int i=0;i<30;i++) if(a[i]%2){cout << "No" << endl; return 0;}
      |                                                          ^~~~
      |                                                          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:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         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:10:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         cout << "Yes" << 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>
#include <algorithm>
#include <stdio.h>
#include <math.h>
using namespace std;

#define INF 1.1e9
#define LINF 1.1e18
#define FOR(i,a,b) for (int i = (a); i < (b); ++i)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(), (v).end()
#define pb push_back
#define pf push_front
#define fi first
#define se second
#define BIT(x,n) bitset<n>(x)

typedef long long ll;
typedef pair<int,int> P;
typedef pair<P,int> PP;

struct edge {
	int to,cost;
	edge(int t,int c):to(t),cost(c) {}
};

int dx[]={1,-1,0,0},dy[]={0,0,1,-1};
int ddx[]={1,1,1,0,-1,-1,-1,0},ddy[]={1,0,-1,-1,-1,0,1,1};

ll mypow(ll x,ll n,ll m) {	//xのn乗をmで割った余り
	if(n==0) return 1;
	if(n%2==0) return mypow(x*x%m,n/2,m);
	else return x*mypow(x,n-1,m)%m;
}

//-----------------------------------------------------------------------------

string w;
int cnt[26];

int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);

	cin>>w;
	REP(i,w.size()) cnt[s[i]-'a']++;
	REP(i,26) {
		if(cnt[i]&1) {
			cout<<"No"<<endl;
			return 0;
		}
	}
	cout<<"Yes"<<endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:46:29: error: 's' was not declared in this scope
   46 |         REP(i,w.size()) cnt[s[i]-'a']++;
      |                             ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL,LL> P;

int main(){
    string s;
    cin >> s;
    int count[26];
    fill(count,count+26,0);
    for(int i=0;i<s.length();i++) count[s[i]%26]++;
    for(int i=0;i<al.length();i++){
        if(count[i]%2){
            puts("No");
            return 0;
        }
    }
    puts("Yes");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: 'al' was not declared in this scope
   12 |     for(int i=0;i<al.length();i++){
      |                   ^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int n,m;
    double deg;
    cin >> n >> m;

    if(n>=12){
        n-=12;
    }

    n*=360/12;//30
    n+=m/30
    m*=360/60;//6
    deg=n-m;
    if(deg<0){
        deg*=-1;
    }
    cout<<deg;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:12: error: expected ';' before 'm'
   14 |     n+=m/30
      |            ^
      |            ;
   15 |     m*=360/60;//6
      |     ~
Language: C++

#include<iostream>
#include<algorithm>
#include<cmath>
#include<string>
#include<array>
#include<vector>
#include<functional>
#include<unordered_map>
#include<map>
#include<numeric>
#include<limits>
#include<utility>
#include<queue>
#include<random>
#include<math.h>
#include "Source.h"
using namespace std;

int main() {
	string s;
	cin >> s;
	while (s.size()%2==0)
	{
		if (s.find(s.front()) == string::npos)break;
		s.erase(s.begin()+s.find(s.front(),1));
		s.erase(s.begin());
		if (s.size() == 0) {
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;
	return 0;
}

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

#include<stdio.h>
#include<string.h>
int main()
{
    char s[100];
    int a;
    gets(s);
    a = strlen(s);

    if(a%2 == 0)
        printf("Yes");
    else
        printf("No");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    7 |     gets(s);
      |     ^~~~
      |     getw
Language: C++

#include<stdio.h>
int main()
{
    char s[100];
    int a;
    gets(s);
    a = strlen(s);

    if(a%2 == 0)
        printf("Yes");
    else
        printf("No");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    6 |     gets(s);
      |     ^~~~
      |     getw
a.cc:7:9: error: 'strlen' was not declared in this scope
    7 |     a = strlen(s);
      |         ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<stdio.h>
  +++ |+#include <cstring>
    2 | int main()
Language: C++

#include<bits/stdc++.h>
using namespace std;
int ara[100000];
char ara1[100000];
int main()
{
    int i,j,k,a,b,h,ln,v=0;
    char ch;
    gets(ara1);
    ln=strlen(ara1);
    for(i=0;i<ln;i++)
    {
        for(ch='a',j=1;ch<='z';ch++,j++)
        {
            if(ara1[i]==ch)
            {
                ara[j]++;
                break;
            }
        }
    }
    for(i=1;i<=26;i++)
    {
        if(ara[i]%2!=0)
        {
            v=1;
            break;
        }
    }
    if(v==1)
    {
        printf("No\n");
    }
    else
    {
        printf("Yes\n");
    }
    return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    9 |     gets(ara1);
      |     ^~~~
      |     getw
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.next();
		char[] ar = a.toCharArray();
		loop: for (int i = 0;i < ar.length;i++) {
			int y = 0;
			for (int m = 0;m < ar.length;m++) {
				if(ar[i] == ar[m]) {
					y += 1;
				}
				if(m == ar.length-1) {
					if(y % 2 == 1) {
						System.out.println("No");
						return;
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:17: error: unreachable statement
						break loop;
						^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.nextLine();
		char[] ar = a.toCharArray();
		loop: for (int i = 0;i < ar.length;i++) {
			int y = 0;
			for (int m = 0;m < ar.length;m++) {
				if(ar[n] == ar[m]) {
					y += 1;
				}
				if(m == ar[ar.length]) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
				if(ar[n] == ar[m]) {
				      ^
  symbol:   variable n
  location: class Main
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.nextLine();
		char[] ar = a.toCharArray();
		loop: for (int i = 0;i < ar.length;i++) {
			int y = 0;
			for (int m = 0;m < ar.length;m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
				if(ar[n].equals(ar[m])) {
				      ^
  symbol:   variable n
  location: class Main
Main.java:10: error: char cannot be dereferenced
				if(ar[n].equals(ar[m])) {
				        ^
Main.java:13: error: int cannot be dereferenced
				if(m.equals(ar[ar.length])) {
				    ^
3 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.nextLine();
		String[] ar = a.split("");
		loop: for (int i = 0;i < ar.length();i++) {
			int y = 0;
			for (int m = 0;m < ar.length();m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length()])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		loop: for (int i = 0;i < ar.length();i++) {
		                           ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:9: error: cannot find symbol
			for (int m = 0;m < ar.length();m++) {
			                     ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:10: error: cannot find symbol
				if(ar[n].equals(ar[m])) {
				      ^
  symbol:   variable n
  location: class Main
Main.java:13: error: cannot find symbol
				if(m.equals(ar[ar.length()])) {
				                 ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:13: error: int cannot be dereferenced
				if(m.equals(ar[ar.length()])) {
				    ^
5 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.nextLine();
		String[] ar = a.split("");
		loop: for(int i = 0;i < ar.length();i++) {
			int y = 0;
			for(int m = 0;m < ar.length();m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length()])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		loop: for(int i = 0;i < ar.length();i++) {
		                          ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:9: error: cannot find symbol
			for(int m = 0;m < ar.length();m++) {
			                    ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:10: error: cannot find symbol
				if(ar[n].equals(ar[m])) {
				      ^
  symbol:   variable n
  location: class Main
Main.java:13: error: cannot find symbol
				if(m.equals(ar[ar.length()])) {
				                 ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:13: error: int cannot be dereferenced
				if(m.equals(ar[ar.length()])) {
				    ^
5 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = s.nextLine();
		String[] ar = str.split("");
		loop: for(int i = 0;i < ar.length();i++) {
			int y = 0;
			for(int m = 0;m < ar.length();m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length()])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		String[] ar = str.split("");
		              ^
  symbol:   variable str
  location: class Main
Main.java:7: error: cannot find symbol
		loop: for(int i = 0;i < ar.length();i++) {
		                          ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:9: error: cannot find symbol
			for(int m = 0;m < ar.length();m++) {
			                    ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:10: error: cannot find symbol
				if(ar[n].equals(ar[m])) {
				      ^
  symbol:   variable n
  location: class Main
Main.java:13: error: cannot find symbol
				if(m.equals(ar[ar.length()])) {
				                 ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:13: error: int cannot be dereferenced
				if(m.equals(ar[ar.length()])) {
				    ^
6 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = Scanner.nextLine();
		String[] ar = str.split("");
		loop: for(int i = 0;i < ar.length();i++) {
			int y = 0;
			for(int m = 0;m < ar.length();m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length()])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:5: error: non-static method nextLine() cannot be referenced from a static context
		String a = Scanner.nextLine();
		                  ^
Main.java:6: error: cannot find symbol
		String[] ar = str.split("");
		              ^
  symbol:   variable str
  location: class Main
Main.java:7: error: cannot find symbol
		loop: for(int i = 0;i < ar.length();i++) {
		                          ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:9: error: cannot find symbol
			for(int m = 0;m < ar.length();m++) {
			                    ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:10: error: cannot find symbol
				if(ar[n].equals(ar[m])) {
				      ^
  symbol:   variable n
  location: class Main
Main.java:13: error: cannot find symbol
				if(m.equals(ar[ar.length()])) {
				                 ^
  symbol:   method length()
  location: variable ar of type String[]
Main.java:13: error: int cannot be dereferenced
				if(m.equals(ar[ar.length()])) {
				    ^
7 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String a = Scanner.nextLine();
		String[] ar = str.split("");
		loop for(int i = 0;i < ar.length();i++) {
			int y = 0;
			for(int m = 0;m < ar.length();m++) {
				if(ar[n].equals(ar[m])) {
					y += 1;
				}
				if(m.equals(ar[ar.length()])) {
					if(y % 2 == 1) {
						System.out.println("No");
						break loop;
					}
				}
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: not a statement
		loop for(int i = 0;i < ar.length();i++) {
		^
Main.java:7: error: ';' expected
		loop for(int i = 0;i < ar.length();i++) {
		    ^
2 errors
Language: C++


string abc = "abcdefghijklmnopqrstuvwxyz";
vector<int> cc(abc.length(),0);
string s;
cin >> s;
REP(i,s.length()){
	REP(j,abc.length()){
		if(s[i] == abc[j]){ cc[j]++; break; }
	}
}
bool clear = true;
REP(i,abc.length()){
	if(cc[i] % 2 != 0){
		clear = false;
		break;
	}
}
if(clear = false) cout << "No" << endl;
else cout << "Yes" << endl;

Compiler output:
a.cc:2:1: error: 'string' does not name a type
    2 | string abc = "abcdefghijklmnopqrstuvwxyz";
      | ^~~~~~
a.cc:3:1: error: 'vector' does not name a type
    3 | vector<int> cc(abc.length(),0);
      | ^~~~~~
a.cc:4:1: error: 'string' does not name a type
    4 | string s;
      | ^~~~~~
a.cc:5:1: error: 'cin' does not name a type
    5 | cin >> s;
      | ^~~
a.cc:6:4: error: expected constructor, destructor, or type conversion before '(' token
    6 | REP(i,s.length()){
      |    ^
a.cc:12:4: error: expected constructor, destructor, or type conversion before '(' token
   12 | REP(i,abc.length()){
      |    ^
a.cc:18:1: error: expected unqualified-id before 'if'
   18 | if(clear = false) cout << "No" << endl;
      | ^~
a.cc:19:1: error: expected unqualified-id before 'else'
   19 | else cout << "Yes" << endl;
      | ^~~~
Language: Java

package atcoder;

import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import java.io.BufferedReader;
import java.io.InputStream;

public class Main001 {

	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		FastScanner in = new FastScanner(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskB solver = new TaskB();
		solver.solve(1, in, out);
		out.close();
	}

	static class TaskB {
		public void solve(int testNumber, FastScanner in, PrintWriter out) {


			char[] c = in.next().toCharArray();
			int[] num = new int[26];

			for (int i = 0; i < c.length; i++) {
				num[c[i] - 'a']++;
			}

			boolean isBeautiful = true;
			for (int i = 0; i < num.length; i++) {
				if (num[i] % 2 != 0) {
					isBeautiful = false;
					break;
				}
			}

			System.out.println(isBeautiful ? "Yes" : "No");
		}
	}

	static class FastScanner {
		private BufferedReader in;
		private StringTokenizer st;

		public FastScanner(InputStream stream) {
			in = new BufferedReader(new InputStreamReader(stream));
		}

		public String next() {
			while (st == null || !st.hasMoreTokens()) {
				try {
					String rl = in.readLine();
					if (rl == null) {
						return null;
					}
					st = new StringTokenizer(rl);
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
			return st.nextToken();
		}

		public int nextInt() {
			return Integer.parseInt(next());
		}

	}
}

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

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#define ll long long
using namespace std;
int main()
{
  ios_base::sync_with_stdio(0);
  string str;
  cin >> str;
  int arr[26];
  memset(arr,0,sizeof(arr));
  for(int i=0;i<str.length();i++)
  {
    arr[str[i]-97]++;
  }
  int p=0;
  for(int i=0;i<26;i++)
  {
    if(arr[i]%2!=0)
    {
      p=1;
      break;
    }
  }
  if(p==0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'memset' was not declared in this scope
   13 |   memset(arr,0,sizeof(arr));
      |   ^~~~~~
a.cc:5:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    4 | #include <algorithm>
  +++ |+#include <cstring>
    5 | #define ll long long
Language: C++

#include <iostream>
#include <math.h>
#include <unordered_map>

using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::sort;

int main()
{
  string w;
  string ans = "Yes";
  
  cin >> w;
  sort(w.begin(), w.end());

  char prev = w[0];

  for(int i = 1; i < w.length(); i++) {
    // odd
    if(i % 2 != 0 && prev != w[i]) {
      ans = "No";
      break;
    } else {
      prev = w[i];
    }
  }
  cout << ans << endl;
}


Compiler output:
a.cc:9:12: error: 'sort' has not been declared in 'std'
    9 | using std::sort;
      |            ^~~~
a.cc: In function 'int main()':
a.cc:17:3: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
   17 |   sort(w.begin(), w.end());
      |   ^~~~
      |   sqrt
Language: Java

import java.util.Scanner;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		String w = sc.next();
		for (int i = 0 ; i < w.length() ; i++) {
			for (int j = 0 ; j < w.length() ; j++) {
				if (w.charAt(i) == w.charAt(j)) {
					count++;
				}
			}
			if (count % 2 != 0) {
				System.out.println("No");
			}
		}
		System.out.println("Yes");
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
					count++;
					^
  symbol:   variable count
  location: class Main
Main.java:13: error: cannot find symbol
			if (count % 2 != 0) {
			    ^
  symbol:   variable count
  location: class Main
2 errors
Language: Java

import java.util.*;

public class B_44{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String w = sc.next();
		char c = w.charAt(0);
		int cc = 0;
		for(int i = 0 ; i < w.length() ; i++){
			if(c == w.charAt(i)){
				cc++;
			}
			String a = c + "";
			if(i == w.length() - 1){
				w = w.replaceAll(a , "");
				if(cc % 2 != 0){
					System.out.println("No");
					break;
				}
				if(w.length() != 0){
					c = w.charAt(0);
					cc = 1;
					i = 0;
				} else if(w.length() == 0){
					System.out.println("Yes");
					break;
				}
			}
		}
		sc.close();
	}
}


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

#include <cstdio>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <cstring>
#include <queue>
#include <stack>
#include <functional>
#include <set>
#include <map>
#include <deque>
#define WMAX 10000
#define HMAX 10000

//コメントアウトするとdebug()を実行しない
#define DEBUG

using namespace std;
template<typename A, size_t N, typename T>
void Fill(A (&array)[N], const T &val){
    std::fill( (T*)array, (T*)(array+N), val );
}

typedef pair<int ,int > P;
typedef long long ll;

int A,B,C,N,W,H,ans,dp[HMAX][WMAX];
string S;
static const int dx[8] = {0,1,1,1,0,-1,-1,-1},
					dy[8] = {1,1,0,-1,-1,-1,0,1};
vectore<int > beau;

void solve(){

}

void debug(){

}

void answer(){
	cout << ans << "\n";
}

int main(){
	cin >> S;
	for (int i = 0; i < S.size(); ++i)
	{
		if(find(beau.begin(), beau.end(),S[i]) != beau.end()){
			beau.erase(beau.begin(), beau.end(),S[i]);
		}else{
			beau.push_back(S[i]);
		}
	}
	if(baeu.empty()){
		cout << "Yes\n"; 
	}else{
		cout << "No\n";
	}


	return 0;
}

Compiler output:
a.cc:32:1: error: 'vectore' does not name a type
   32 | vectore<int > beau;
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:50:25: error: 'beau' was not declared in this scope
   50 |                 if(find(beau.begin(), beau.end(),S[i]) != beau.end()){
      |                         ^~~~
a.cc:56:12: error: 'baeu' was not declared in this scope
   56 |         if(baeu.empty()){
      |            ^~~~
Language: C++

#include<stdio.h>
#include<iostream>
using namespace std;
int main() {
	int i = 0, t = 0, j = 0;
	char a[100], b[27] = { 0 };

	scanf_s("%s", a,sizeof(a)/sizeof(a[0]));

	//cout << "h" << endl;
	for (j = 0; j < 26; j++) {
		for (i = 0; i < 100; i++) {
			//cout << i << " " << a[j] << endl;
			if (j == a[i] - 'a')
				b[j] = b[j] + 1;
		}
	}
	for (j = 0; j < 26; j++) {
		if (b[j] % 2 == 1) {
			t++;

		}
	}
	if (t == 0) {
		printf("Yes\n");

	}
	else {
		printf("No\n");

	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    8 |         scanf_s("%s", a,sizeof(a)/sizeof(a[0]));
      |         ^~~~~~~
      |         scanf
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
    string s; cin >> s;
    map<char, int> mp;
    for (char c : s) {
        mp[c]++;
    }
    cout << all_of(mp.begin(), mp.end(), [](pair<char, int> p){ return p.second % 2 == 0; }) ? "Yes" : "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:109: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |     cout << all_of(mp.begin(), mp.end(), [](pair<char, int> p){ return p.second % 2 == 0; }) ? "Yes" : "No" << endl;
      |                                                                                                        ~~~~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int c[26]={};
  bool f=true;
  string w;cin>>w;
  int i;
  for(i=0;i<w.size();i++) c[s[i]-'a']++;
  for(i=0;i<26;i++) f&=(c[i]%2==0);
  cout << (f?"Yes":"No") << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: 's' was not declared in this scope
    8 |   for(i=0;i<w.size();i++) c[s[i]-'a']++;
      |                             ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int c[26]={};
  bool f=true;
  string w;cin>>w;
  int i;
  for(i=0;i<w.size();i++) c[s[i]-'a']++;
  for(i=0;i<26;i++) f&=(c[i]%2==0);
  cout << (f:"Yes":"No") << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: 's' was not declared in this scope
    8 |   for(i=0;i<w.size();i++) c[s[i]-'a']++;
      |                             ^
a.cc:10:13: error: expected ')' before ':' token
   10 |   cout << (f:"Yes":"No") << endl;
      |           ~ ^
      |             )
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
	int[] alpha = int[26];
	Scanner sc = new Scanner(System.in);
	String bun = sc.next();
	char[] block = bun.toCharArray();

	for(int i = 0;i<bun.length();i++){
	    alpha[(int)block[i]-61] +=1; 
	    
	}
	int even = 0;
	for(int i = 0;i<26;i++){
	    if(aipha[i]%2 !=0){
		even = 1;
	    }
	}

	if(even == 0){System.out.println("Yes");}else{System.out.println("No");}
	
    }

}


Compiler output:
Main.java:5: error: ']' expected
	int[] alpha = int[26];
	                  ^
1 error
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
	int alpha[] = int[26];
	Scanner sc = new Scanner(System.in);
	String bun = sc.next();
	char[] block = bun.toCharArray();

	for(int i = 0;i<bun.length();i++){
	    alpha[(int)block[i]-61] +=1; 
	    
	}
	int even = 0;
	for(int i = 0;i<26;i++){
	    if(aipha[i]%2 !=0){
		even = 1;
	    }
	}

	if(even == 0){System.out.println("Yes");}else{System.out.println("No");}
	
    }

}


Compiler output:
Main.java:5: error: ']' expected
	int alpha[] = int[26];
	                  ^
1 error
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
	int alpha[] = int[26];
	Scanner sc = new Scanner(System.in);
	String bun = sc.next();
	char[] block = bun.toCharArray();

	for(int i = 0;i<bun.length();i++){
	    alpha[(int)block[i]-61] +=1; 
	    
	}
	int even = 0;
	for(int i = 0;i<26;i++){
	    if(aipha[i]%2 !=0){
		even = 1;
	    }
	}

	if(even == 0){System.out.println("Yes")}else{System.out.println("No")}
	
    }

}


Compiler output:
Main.java:5: error: ']' expected
	int alpha[] = int[26];
	                  ^
Main.java:21: error: ';' expected
	if(even == 0){System.out.println("Yes")}else{System.out.println("No")}
	                                       ^
Main.java:21: error: ';' expected
	if(even == 0){System.out.println("Yes")}else{System.out.println("No")}
	                                                                     ^
3 errors
Language: C++

#include <iostream>
#include <string>
#include <algorithm>

using namespace std;

int main()
{
	string w;

	w.reserve(100);
	cin >> w;
	
	sort(w.begin(), w.end());

	char ch{w.at(0};
	int32_t count{ 0 };
	for (auto i{ 1 }; i < w.size(); ++i) {
		if (ch != w[i]) {
			if (count & 1 == 1) 
				break;
			count = 0;
			ch = w[i];
		}
		++count;
	}

	if (count & 1 == 1)
		cout << "No" << endl;
	else
		cout << "Yes" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:23: error: expected ')' before '}' token
   16 |         char ch{w.at(0};
      |                     ~ ^
      |                       )
Language: C

#include <stdio.h>

int main(){
char s[100];
scanf("%s",s);
int length;
length=(int)strlen(s);
int i,j;
int count[length]=1;
for(i=0;i<length;i++){
	for(j=1;j<length;j++){
		if(s[i]==s[j]) count[i]=count[i]+1;	
	}
}
int g;
int h=length;
for(g=0;g<length;g++){
if(count[length]%2==0){
h++;
if(h==length)printf("YES\n");
}else{
printf("NO\n");
}
return 0;
}




Compiler output:
main.c: In function 'main':
main.c:7:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    7 | length=(int)strlen(s);
      |             ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:7:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    7 | length=(int)strlen(s);
      |             ^~~~~~
main.c:7:13: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:9:19: error: variable-sized object may not be initialized except with an empty initializer
    9 | int count[length]=1;
      |                   ^
main.c:25:1: error: expected declaration or statement at end of input
   25 | }
      | ^
Language: C

#include <stdio.h>

int main(){
char s[100];
scanf("%s",s);
int length;
length=(int)strlen(s);
int i,j;
int count[length]=1;
for(i=0;i<length;i++){
	for(j=1;j<length;j++){
		if(s[i]==s[j]) count[i]=count[i]+1;	
	}
}
int g;
if(for(g=0;g<length;g++){count[length]%2==0}){printf("YES\n");}
else{printf("NO\n");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    7 | length=(int)strlen(s);
      |             ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:7:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    7 | length=(int)strlen(s);
      |             ^~~~~~
main.c:7:13: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:9:19: error: variable-sized object may not be initialized except with an empty initializer
    9 | int count[length]=1;
      |                   ^
main.c:16:4: error: expected expression before 'for'
   16 | if(for(g=0;g<length;g++){count[length]%2==0}){printf("YES\n");}
      |    ^~~
Language: C

#include <stdio.h>

int main(){
char s[100];
scanf("%s",s);
int length;
length=(char)strlen(s);
int i,j;
int count[length]=1;
for(i=0;i<length;i++){
	for(j=1;j<length;j++){
		if(s[i]==s[j]) count[i]=count[i]+1;	
	}
}
int g;
if(for(g=0;g<length;g++){count[length]%2==0}){printf("YES\n");}
else{printf("NO\n");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    7 | length=(char)strlen(s);
      |              ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:7:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    7 | length=(char)strlen(s);
      |              ^~~~~~
main.c:7:14: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:9:19: error: variable-sized object may not be initialized except with an empty initializer
    9 | int count[length]=1;
      |                   ^
main.c:16:4: error: expected expression before 'for'
   16 | if(for(g=0;g<length;g++){count[length]%2==0}){printf("YES\n");}
      |    ^~~
Language: C++

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

char t[110];
int end, cnt=1, flag=1;

int main()
{
	scanf("%s", t);
	
	end = strlen(t);
	sort(t, t+end);
	
	for(int i=end-1; i>=1; i--)
	{
		if(t[i]==t[i-1]) cnt++;
		else
		{
			if(cnt%2)	break;
			cnt = 1;
		}
	}

	if(cnt%2) printf("No\n");
	else printf("Yes\n");
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: reference to 'end' is ambiguous
   13 |         end = strlen(t);
      |         ^~~
In file included from /usr/include/c++/14/bits/algorithmfwd.h:39,
                 from /usr/include/c++/14/bits/stl_algo.h:59,
                 from /usr/include/c++/14/algorithm:61,
                 from a.cc:3:
/usr/include/c++/14/initializer_list:99:5: note: candidates are: 'template<class _Tp> constexpr const _Tp* std::end(initializer_list<_Tp>)'
   99 |     end(initializer_list<_Tp> __ils) noexcept
      |     ^~~
a.cc:7:5: note:                 'int end'
    7 | int end, cnt=1, flag=1;
      |     ^~~
a.cc:14:19: error: reference to 'end' is ambiguous
   14 |         sort(t, t+end);
      |                   ^~~
/usr/include/c++/14/initializer_list:99:5: note: candidates are: 'template<class _Tp> constexpr const _Tp* std::end(initializer_list<_Tp>)'
   99 |     end(initializer_list<_Tp> __ils) noexcept
      |     ^~~
a.cc:7:5: note:                 'int end'
    7 | int end, cnt=1, flag=1;
      |     ^~~
a.cc:16:19: error: reference to 'end' is ambiguous
   16 |         for(int i=end-1; i>=1; i--)
      |                   ^~~
/usr/include/c++/14/initializer_list:99:5: note: candidates are: 'template<class _Tp> constexpr const _Tp* std::end(initializer_list<_Tp>)'
   99 |     end(initializer_list<_Tp> __ils) noexcept
      |     ^~~
a.cc:7:5: note:                 'int end'
    7 | int end, cnt=1, flag=1;
      |     ^~~
Language: C++

#include<iostream>
#include<cmath>
#include<ctype.h>
#include<vector>
#include<cstdlib>
#include<cstdlib>
#include<string>
#include<algorithm>
#include<stack>
#include<queue>
#include<map>
#include<set>
#include<time.h>

#define ll long long
#define LL long long
#define ULL unsigned long long 
#define ull unsigned long long 
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define RFOR(i,a,b) for(int i=(b)-1;i>=(a);i--)
#define REP(i,n) for(int i=0;i<n;i++)
#define RREP(i,n) for(int i=(n)-1;i>=0;i--)
const ll INF = -10000000000;

using namespace std;

int tmp[100] = {};

int main()
{
	char w[50];
	cin >> w;
	for (int i = 0; i < strlen(w); i++){
		tmp[w[i] - 97]++;
	}
	int flag=0;

	for (int i = 0; i < 25; i++){
		if (tmp[i] % 2 != 0){
			flag = 1;
			break;
		}
	}

	if (flag == 0) cout << "Yes" << endl;
	else cout << "No" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:29: error: 'strlen' was not declared in this scope
   33 |         for (int i = 0; i < strlen(w); i++){
      |                             ^~~~~~
a.cc:13:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
   12 | #include<set>
  +++ |+#include <cstring>
   13 | #include<time.h>
Language: C++

import java.util.*;
import java.io.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		//System.out.println(s);
		char[] c_array = new char[256];
		for (int i = 0;i < s.length();i++) {
			//System.out.println(s.charAt(i));
			c_array[(int)s.charAt(i)]++;
		}
		int flag = 0;
		for (int i = 0;i < 256;i++) {
			if (c_array[i] % 2 != 0) {
				flag = 1;
				break;
			}
		}
		if (flag == 1) 
			System.out.println("no");
		else
			System.out.println("yes");
	}
}

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:2:1: error: 'import' does not name a type
    2 | import java.io.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: expected unqualified-id before 'public'
    4 | public class Main {
      | ^~~~~~
Language: C++

#include<stdio.h>
#include<iostream>
#include<fstream>
#include<string.h>

using namespace std;

int solve(int l,char w[]){

	if (l == 0)return 0;
	
	while (1){
		int s=-1;
		for (int i = 0; i < l; i++){
			if (w[i]>1){
				char c = w[i];
				int n = 0;
				for (int j = i; j < l; j++){
					if (w[j] == c){
						n++;
						w[j] = 1;
					}
				}
				if (n == 1 || n % 2 == 1)return 1;
			}
			if (s == -1)return 0;
		}
	}


}


int main(){

	char w[101];
	for (int i = 0; i < 101; i++)w[i] = 0;
	cin >> w;

	int l = strlen(w);

	int res = solve(l,w);
	
	if (res == 0)printf("Yes\n");
	else (res == 1)printf("No\n");

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:45:24: error: expected ';' before 'printf'
   45 |         else (res == 1)printf("No\n");
      |                        ^~~~~~
      |                        ;
Language: C++

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

int main()
{
    char s[101];

    while(gets(s))
    {
        int len = strlen(s);

        map<char, int> charMap;

        for(int i=0; i<len; i++) charMap[s[i]]++;

        bool beautiful = true;

        for(int i=97; i<=122; i++)
        {
            if(charMap[(char) i] % 2!=0)
            {
                beautiful = false;
                break;
            }
        }

        if(beautiful) cout << "Yes\n";
        else cout << "No\n";
    }

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'gets' was not declared in this scope; did you mean 'getw'?
    8 |     while(gets(s))
      |           ^~~~
      |           getw
Language: C

#include <stdio.h>

int main(void) {
	char w[101],q['z'-'a'];
	scanf("%s",w);
	int i;
	for (i=0;w[i] != '\0';i++) {
		q[w[i]-'a']++;
	}
	for (i=0;i<('z'-'a');i++) {
		if (q[i]%2) {
			puts("No");
			return 0;
		}
	}
		puts("Yes");
		retun 0;
}


Compiler output:
main.c: In function 'main':
main.c:17:17: error: 'retun' undeclared (first use in this function)
   17 |                 retun 0;
      |                 ^~~~~
main.c:17:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:22: error: expected ';' before numeric constant
   17 |                 retun 0;
      |                      ^~
      |                      ;
Language: Java

import java.util.Scanner;
class Main {
public static void main(String... args) {
    Scanner sc = new Scanner(System.in);
    String n = sc.next();
    if(n.length() % 2 == 1){
    System.out.println("no");
    System.exit(0);
    }else{
        boolean b = true;
        String s = "abcdefghijklmnopqrstuvwxyz";
        for(int i =0;i<26;i++){
            int count = 0;
            String target = String.valueOf(s.charAt(i));
            for(int j=0;j<n.length();j++){
                String s = n.charAt(j);
                if(target.equals(s)){ count++; }
            }
            if(count %2 == 1){b=false;}
        }
        if(b){System.out.println("Yes");}
        }
    }
}

Compiler output:
Main.java:16: error: variable s is already defined in method main(String...)
                String s = n.charAt(j);
                       ^
Main.java:16: error: incompatible types: char cannot be converted to String
                String s = n.charAt(j);
                                   ^
2 errors
Language: C++

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

int main() {
	string a;
	
	cin >> a;
		
	int b;
	b=a.size();
	char w[b];
	for(int q=0;q<b;q++){
		w[q]=a[q];
	}
	sort(w,w+b);
	int c,i;
	c=b/2;
	int OK;
	OK=0;
	
	
	for(i=0;i<b;i=i+2){
		if(w[i]==w[i+1]) OK++;
	}
	if(OK==c) cout << "Yes" << endl;
	if(OK!=c) cout << "No" << endl;
	

Compiler output:
a.cc: In function 'int main()':
a.cc:28:40: error: expected '}' at end of input
   28 |         if(OK!=c) cout << "No" << endl;
      |                                        ^
a.cc:6:12: note: to match this '{'
    6 | int main() {
      |            ^
Language: C++

#include<iostream>
#include<
 using namespace std;

int main(){
string s;
cin>>s;
int char[26]={0};
for(int i=0;s[i]!='/0';i++){
if(char[s[i]-97]==0)
char[s[i]-97]=1;
else char[s[i]-97]=0;
}

for(int i=0;i<n;i++){
if (char[i]=='1'){cout<<"No";return 0;}
}
cout<<"Yes";
}

Compiler output:
a.cc:2:10: error: missing terminating > character
    2 | #include<
      |          ^
a.cc:2:9: error: empty filename in #include
    2 | #include<
      |         ^
a.cc:9:19: warning: multi-character character constant [-Wmultichar]
    9 | for(int i=0;s[i]!='/0';i++){
      |                   ^~~~
a.cc: In function 'int main()':
a.cc:8:10: error: expected identifier before numeric constant
    8 | int char[26]={0};
      |          ^~
a.cc:8:10: error: expected ']' before numeric constant
    8 | int char[26]={0};
      |          ^~
      |          ]
a.cc:8:1: error: two or more data types in declaration of 'structured binding'
    8 | int char[26]={0};
      | ^~~
a.cc:8:9: error: empty structured binding declaration
    8 | int char[26]={0};
      |         ^
a.cc:10:8: error: expected unqualified-id before '[' token
   10 | if(char[s[i]-97]==0)
      |        ^
a.cc:11:7: error: expected ']' before '[' token
   11 | char[s[i]-97]=1;
      |       ^
      |       ]
a.cc:11:5: error: structured binding declaration cannot have type 'char'
   11 | char[s[i]-97]=1;
      |     ^
a.cc:11:5: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:11:5: error: cannot decompose non-array non-class type 'int'
a.cc:12:12: error: expected ']' before '[' token
   12 | else char[s[i]-97]=0;
      |            ^
      |            ]
a.cc:12:10: error: structured binding declaration cannot have type 'char'
   12 | else char[s[i]-97]=0;
      |          ^
a.cc:12:10: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:12:10: error: cannot decompose non-array non-class type 'int'
a.cc:15:15: error: 'n' was not declared in this scope
   15 | for(int i=0;i<n;i++){
      |               ^
a.cc:16:9: error: expected unqualified-id before '[' token
   16 | if (char[i]=='1'){cout<<"No";return 0;}
      |         ^
Language: C++

#include<iostream>
#include<
 using namespace std;

int main(){
string s;
cin>>s;
int char[26]={0};
for(int i=0;s[i]!='/0';i++){
if(char[s[i]-97]==0)
char[s[i]-97]=1;
else char[s[i]-97]=0;
}

for(int i=0;i<n;i++){
if (char[i]='1'){cout<<"No";return 0;}
}
cout<<"Yes";
}

Compiler output:
a.cc:2:10: error: missing terminating > character
    2 | #include<
      |          ^
a.cc:2:9: error: empty filename in #include
    2 | #include<
      |         ^
a.cc:9:19: warning: multi-character character constant [-Wmultichar]
    9 | for(int i=0;s[i]!='/0';i++){
      |                   ^~~~
a.cc: In function 'int main()':
a.cc:8:10: error: expected identifier before numeric constant
    8 | int char[26]={0};
      |          ^~
a.cc:8:10: error: expected ']' before numeric constant
    8 | int char[26]={0};
      |          ^~
      |          ]
a.cc:8:1: error: two or more data types in declaration of 'structured binding'
    8 | int char[26]={0};
      | ^~~
a.cc:8:9: error: empty structured binding declaration
    8 | int char[26]={0};
      |         ^
a.cc:10:8: error: expected unqualified-id before '[' token
   10 | if(char[s[i]-97]==0)
      |        ^
a.cc:11:7: error: expected ']' before '[' token
   11 | char[s[i]-97]=1;
      |       ^
      |       ]
a.cc:11:5: error: structured binding declaration cannot have type 'char'
   11 | char[s[i]-97]=1;
      |     ^
a.cc:11:5: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:11:5: error: cannot decompose non-array non-class type 'int'
a.cc:12:12: error: expected ']' before '[' token
   12 | else char[s[i]-97]=0;
      |            ^
      |            ]
a.cc:12:10: error: structured binding declaration cannot have type 'char'
   12 | else char[s[i]-97]=0;
      |          ^
a.cc:12:10: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:12:10: error: cannot decompose non-array non-class type 'int'
a.cc:15:15: error: 'n' was not declared in this scope
   15 | for(int i=0;i<n;i++){
      |               ^
a.cc:16:9: error: expected unqualified-id before '[' token
   16 | if (char[i]='1'){cout<<"No";return 0;}
      |         ^
Language: C++

#include <iostream> 
#include <string> 
#include <vector> 
#include <cmath> 
#include <algorithm> 
#include <cstdlib> 
#include <ctime> 
#include <cstdio> 
#include <functional> 
#include <set> 
#include <sstream> 
#include <cctype>
#include <stack>
#include <queue>
#include <cstring>
#include <map>
#include <list>
#include <cassert>
 
using namespace std; 


int main(){

	string s;
	cin>>s;

	int cnt[26]={};
	for(int i=0;i<n;i++){
		cnt[s[i]-'a']++;
	}

	for(int i=0;i<26;i++){
		if(cnt[i]%2){
			cout<<"No"<<endl;
			return 0;
		}
	}

	cout<<"Yes"<<endl;

}

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

    #include<bits/stdc++.h>
    using namespace std;
     
    #define ll long long int
    #define INF 1000000007
     
     
    int main(){
    	ll n, A;
    	cin >> n >> A;
    	vector < ll > cards ( n + 1 );
    	for ( ll i = 1; i <= n; i++ )
    		cin >> cards[i];
      	int dp [ 50 ][ 2500 ];
      	dp [ 0 ][ 0 ] = 0;
      	for( int k = 1; k < n + 1; k++ )
          	for( int i = k - 1; i >= 0; i-- )
              	for( int j = 0; j <= 50 * i; j++ )
                  	dp [ i + 1][ j + cards[ k ] ] += dp [ i ][ j ];
      	ll ans = 0;
      	for( int i = 1; i < =n; i++ )
          	ans += dp[ i ][ i*A ];
      	cout << ans;
      	return 0;
    }  
 

Compiler output:
a.cc: In function 'int main()':
a.cc:21:29: error: expected primary-expression before '=' token
   21 |         for( int i = 1; i < =n; i++ )
      |                             ^
Language: C++

    #include<bits/stdc++.h>
    using namespace std;
     
    #define ll long long int
    #define INF 1000000007
     
     
    int main(){
    	ll n, A;
    	cin >> n >> A;
    	vector < ll > cards ( n + 1 );
    	for ( ll i = 1; i <= n; i++ )
    		cin >> cards[i];
      	int dp [ n + 1 ][ (n + 1) * A ];
      	dp [ 0 ][ 0 ] = 0;
      	for( int k = 1; k < n + 1; k++ )
          	for( int i = k - 1; i >= 0; i-- )
              	for( int j = 0; j <= A * i; j++ )
                  	dp [ i + 1][ j + cards[ k ] ] += dp [ i ][ j ];
      	ll ans = 0;
      	for( int i = 1; i < =n; i++ )
          	ans += dp[ i ][ i*A ];
      	cout << ans;
      	return 0;
    }  

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

#define ll long long int
#define INF 1000000007


int main(){
	ll n, A;
	cin >> n >> A;
	vector < ll > cards ( n + 1 );
	for ( ll i = 1; i <= n; i++ )
		cin >> cards[i];
  	int dp [ n + 1 ][ (n + 1) * A ];
  	dp [ 0 ][ 0 ] = 0;
  	for( int k = 1; k < n + 1; k++ )
      	for( int i = k - 1; i >= 0; i-- )
          	for( int j = 0; j <= A * i; j++ )
              	dp [ i + 1][ j + cards[ k ] ] += dp [ i ][ j ];
  	ll ans = 0;
  	for( int i = 1; i <= n; i++ )
      	ans += dp[ i ][ i*A ];
  	cout << ans;
  	return 0;
}  



Compiler output:
a.cc: In function 'int main()':
a.cc:21:29: error: expected primary-expression before '=' token
   21 |         for( int i = 1; i < =n; i++ )
      |                             ^
a.cc: At global scope:
a.cc:34:5: error: redefinition of 'int main()'
   34 | int main(){
      |     ^~~~
a.cc:8:9: note: 'int main()' previously defined here
    8 |     int main(){
      |         ^~~~
Language: C++

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

#define ll long long int
#define INF 1000000007


int main(){
	ll n, A;
	cin >> n >> A;
	vector < ll > cards ( n + 1 );
	for ( ll i = 1; i <= n; i++ )
		cin >> cards[i];
  	int dp [ n + 1 ][ (n + 1) * A ];
  	dp [ 0 ][ 0 ] = 0;
  	for( int k = 1; k < n + 1; k++ )
      	for( int i = k - 1; i >= 0; i-- )
          	for( int j = 0; j <= A * i; j++ )
              	dp [ i + 1][ j + cards[ k ] ] += dp [ i ][ j ];
  	ll ans = 0;
  	for( int i = 1; i < =n; i++ )
      	ans += dp[ i ][ i*A ];
  	cout << ans;
  	return 0;
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:21:29: error: expected primary-expression before '=' token
   21 |         for( int i = 1; i < =n; i++ )
      |                             ^