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

#include<bits/stdc++.h>

using namespace std;

int count[500];

int main(){

string str;

cin >> str;

for(int i=0; i<str.length();i++){

count[str[i]]++;

}

bool No = false;

for(int i='a'; i<='z'; i++){
if(count[i] %2 != 0)
 No = true;
}

if(NO) cout << "NO"<<endl;
else cout <<"YES"<<endl;


return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:1: error: reference to 'count' is ambiguous
   15 | count[str[i]]++;
      | ^~~~~
In file included from /usr/include/c++/14/algorithm:86,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: candidates are: 'template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)'
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:4025:5: note:                 'template<class _IIter, class _Tp> typename std::iterator_traits< <template-parameter-1-1> >::difference_type std::count(_IIter, _IIter, const _Tp&)'
 4025 |     count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
      |     ^~~~~
a.cc:5:5: note:                 'int count [500]'
    5 | int count[500];
      |     ^~~~~
a.cc:22:4: error: reference to 'count' is ambiguous
   22 | if(count[i] %2 != 0)
      |    ^~~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: candidates are: 'template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)'
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
/usr/include/c++/14/bits/stl_algo.h:4025:5: note:                 'template<class _IIter, class _Tp> typename std::iterator_traits< <template-parameter-1-1> >::difference_type std::count(_IIter, _IIter, const _Tp&)'
 4025 |     count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
      |     ^~~~~
a.cc:5:5: note:                 'int count [500]'
    5 | int count[500];
      |     ^~~~~
a.cc:26:4: error: 'NO' was not declared in this scope; did you mean 'No'?
   26 | if(NO) cout << "NO"<<endl;
      |    ^~
      |    No
Language: C++

#include <iostream>
#include <vector>
#include <cstring>
#include <algorithm> // sort

#define REP(i, n) for (long long i = 0; i < (n); i++) 
typedef long long ll;
static const ll MOD = 1000000007;
static const ll INF = 1000000000000000000LL;
using namespace std;

//arc044_c
// 隣り合う値がx以下
// 左から見ていって、右側を削ればよいのでは 右が０なら左を削る
int main(){
  string S;
  cin >> S;

  ll a[26] = {};

  REP(i,S.size())
  {
    ll tmp = S[i] - 'a';
    a[tmp]++;
  }

  string res = "Yes";

  REP(i,26)
  {
    if(a[tmp] % 2 != 0)
    {
      res = "No";
      break;
    }
  }

  cout << res << endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:10: error: 'tmp' was not declared in this scope; did you mean 'tm'?
   31 |     if(a[tmp] % 2 != 0)
      |          ^~~
      |          tm
Language: C++

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

int alp[26]={0};
int main(){
  string w; cin>>w;

  for(int i=0;i<w.length();i++){
    alp[w[i]-"a"]++;
  }
  for(int i=0;i<26;i++){
    if(alp[i]%2!=0){
      cout<<"No"<<endl;
      return 0;
    }
  }
  cout<<"Yes"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: invalid operands of types '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} and 'const char [2]' to binary 'operator-'
    9 |     alp[w[i]-"a"]++;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define int long long
#define pb push_back
#define ub upper_bound
#define lb upper_bound
#define mp make_pair
#define F first
#define S second
#define FOR(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
#define REP(i,n) FOR(i,0,n)
#define ALL(a) (a).begin(),(a).end()
#define RALL(a) (a).rbegin(),(a).rend()
#define SORT(c) sort((c).begin(),(c).end())
#define ve vector
#define vi vector<int>
#define vp vector<pair<int,int>>
#define vvi vector<vector<int>>
 
using ll = long long;
const ll INF = LLONG_MAX - 100;
ll mod = 1e9 + 7;
int dx[] = {-1,0,1,0}, dy[] = {0,1,0,-1};
vector<ll> prime;

class fact {
public:
	int fmod = 1e9+7;
	vector<int> fac, inv;
	fact (int n, int Mod = 1e9+7) {
		fmod = Mod;
		fac = vector<int>(n,0);
		inv = vector<int>(n,0);
		fac[0] = 1; for (int i = 1; i < n; i++) fac[i] = fac[i-1] * i % fmod;
		for (int i = 0;i < n;i++) inv[i] = fact::POW(fac[i],fmod-2);
	}
	ll nCr(ll n, ll r) {return (fac[n] * inv[r] % fmod) * inv[n-r] % fmod;}
	ll POW(ll a, ll b) {ll c = 1; while (b > 0) {if (b & 1) {c = a * c%fmod;}a = a * a%fmod; b >>= 1;}return c;}
};
 
template <class T = ll> T in() {T x; cin >> x; return (x);}
void DEBUG(vector<int> a) {for(int i=0;i<a.size();i++)cout<<a[i]<<" ";cout<<endl;}
void EMP(int x) {cout<<"!!!"<<x<<"!!!"<<endl;}
ll GCD(ll a, ll b) {ll c; while (b != 0) {c = a % b; a = b; b = c;}return a;}
ll LCM(ll a, ll b) {return a * b / GCD(a, b);}
ll POW(ll a, ll b) {ll c = 1; while (b > 0) {if (b & 1) {c = a * c%mod;}a = a * a%mod; b >>= 1;}return c;}
void PRI(ll n) {bool a[n + 1LL]; for (int i = 0; i < n + 1LL; i++) {a[i] = 1LL;}for (int i = 2; i < n + 1LL; i++) {if (a[i]) {prime.pb(i); ll b = i; while (b <= n) {a[b] = 0; b += i;}}}}
template <typename T> T chmin(T& a, T b) {if(a>b)a=b;return a;}
template <typename T> T chmax(T& a, T b) {if(a<b)a=b;return b;}
bool isSqrt(ll a) {return pow(sqrt(a),2) == a ? 1 : 0;}

bool solve() {
	map<char,int> cnt;
	string w; cin >> w;
	for (auto&& a : w) {
		cnt[a]++;
	}
	bool ok = true;
	for (auto&& a : cnt) {
		if (a.second & 1) ok = false;
	}
	cout << ok ? "Yes" : "No" << endl;
}

signed main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	solve();
}


Compiler output:
a.cc: In function 'bool solve()':
a.cc:63:35: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   63 |         cout << ok ? "Yes" : "No" << endl;
      |                              ~~~~~^~~~~~~
a.cc:64:1: warning: no return statement in function returning non-void [-Wreturn-type]
   64 | }
      | ^
Language: C

#include <stdio.h>
#include <string.h>
int main(){
  char r;
  char s[101];
  scanf("%s",s);
  for(int i=0;i<strlen(s);i++){
    for(int j=0;j<strlen(s);j++){
      if(s[j]>s[j+1]){
        r=s[j];
        s[j]=s[j+1];
        s[j+1]=r;
      }
    }
  }
  for(int i=0;i<strlen(s)-1;i++){
    if(s[i]==s[i+1])c++;
    else if(c%2==1)c=0;
    else {
      puts("No");
      return 0;
    }
  }
  puts("Yes");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:21: error: 'c' undeclared (first use in this function)
   17 |     if(s[i]==s[i+1])c++;
      |                     ^
main.c:17:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
#include <string.h>
int main(){
  char r;
  char s[101];
  scanf("%s",s);
  for(int i=0;i<strlen(s);i++){
    for(int j=0;j<strlen(s);j++){
      if(s[j]>s[j+1]){
        r=s[j];
        s[j]=s[j+1];
        s[j+1]=r;
      }
    }
  }
  for(int i=0;i<strlen(s)-1;i++){
    if(s[i]==i[i+1])c++;
    else if(c%2==1)c=0;
    else {
      puts("No");
      return 0;
    }
  }
  puts("Yes");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:15: error: subscripted value is neither array nor pointer nor vector
   17 |     if(s[i]==i[i+1])c++;
      |               ^
main.c:17:21: error: 'c' undeclared (first use in this function)
   17 |     if(s[i]==i[i+1])c++;
      |                     ^
main.c:17:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
 
using namespace std;
int main(){
  string strIn,strOut;
  cin>>strIn;
  strOut="Yes";
  char c=str[0];
  int num=0;
  
  if(strIn.size()%2==0){
    strOut="No";
  }else{
    sort(strIn.begin(),strIn.end());
  	for(auto itr = strIn.begin(); itr != strIn.end(); ++itr) {
 		if(c!=*itr){
      		c=*itr;
    		if(num%2==0){
	        	num=0;
        	}
        	else{
          		strOut="No";
          		break;
        	}
    	}
    	num++;
  	}
  }
  cout<<strOut<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: 'str' was not declared in this scope; did you mean 'std'?
   10 |   char c=str[0];
      |          ^~~
      |          std
Language: C++

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

using namespace std;
int main(){
  string strIn,strOut;
  cin>>strIn;
  strOut="Yes"
  char c=str[0];
  int num=0;
  
  if(strIn.size()%2==0){
    strOut="No";
  }else{
    sort(strIn.begin(),strIn.end());
  	for(auto itr = strIn.begin(); itr != strIn.end(); ++itr) {
 		if(c!=*itr){
      		c=*itr;
    		if(num%2==0){
	        	num=0;
        	}
        	else{
          		strOut="No";
          		break;
        	}
    	}
    	num++;
  	}
  }
  cout<<strOut<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before 'char'
    9 |   strOut="Yes"
      |               ^
      |               ;
   10 |   char c=str[0];
      |   ~~~~         
a.cc:18:20: error: 'c' was not declared in this scope
   18 |                 if(c!=*itr){
      |                    ^
Language: C++

#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main(){
  char w[100];
  scanf("%s", &w);
  
  int len = strlen(w);
  int num = 0;
  for(int i=0; i<len; i++){
    if( count(w, w+len, w[i]) % 2 == 0){
      num ++;
      
      if(num == len)
        printf('Yes')
    }
    else{
      printf('No')
      break;
    }
  }    
  return 0;
}

Compiler output:
a.cc:16:16: warning: multi-character character constant [-Wmultichar]
   16 |         printf('Yes')
      |                ^~~~~
a.cc:19:14: warning: multi-character character constant [-Wmultichar]
   19 |       printf('No')
      |              ^~~~
a.cc: In function 'int main()':
a.cc:16:16: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   16 |         printf('Yes')
      |                ^~~~~
      |                |
      |                int
In file included from /usr/include/c++/14/cstdio:42,
                 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:16:22: error: expected ';' before '}' token
   16 |         printf('Yes')
      |                      ^
      |                      ;
   17 |     }
      |     ~                 
a.cc:19:14: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   19 |       printf('No')
      |              ^~~~
      |              |
      |              int
/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:19:19: error: expected ';' before 'break'
   19 |       printf('No')
      |                   ^
      |                   ;
   20 |       break;
      |       ~~~~~
Language: C++

#inclde<cstdio>
#inclue<cstring>
#include<algorithm>
int main(){
  char w[100];
  scanf("%s", &w);
  
  int len = strlen(w);
  int num = 0;
  for(int i=0; i<len; i++){
    if( count(w, w+len, w+i) % 2 == 0){
      num ++;
      
      if(num == len)
        printf('Yes');
    }
    else{
      printf('No');
      break;
    }
  }    
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<cstdio>
      |  ^~~~~~
      |  include
a.cc:2:2: error: invalid preprocessing directive #inclue; did you mean #include?
    2 | #inclue<cstring>
      |  ^~~~~~
      |  include
a.cc:15:16: warning: multi-character character constant [-Wmultichar]
   15 |         printf('Yes');
      |                ^~~~~
a.cc:18:14: warning: multi-character character constant [-Wmultichar]
   18 |       printf('No');
      |              ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'scanf' was not declared in this scope
    6 |   scanf("%s", &w);
      |   ^~~~~
a.cc:8:13: error: 'strlen' was not declared in this scope
    8 |   int len = strlen(w);
      |             ^~~~~~
a.cc:4:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    3 | #include<algorithm>
  +++ |+#include <cstring>
    4 | int main(){
a.cc:11:9: error: 'count' was not declared in this scope; did you mean 'std::count'?
   11 |     if( count(w, w+len, w+i) % 2 == 0){
      |         ^~~~~
      |         std::count
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:3:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: 'std::count' declared here
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
a.cc:15:9: error: 'printf' was not declared in this scope
   15 |         printf('Yes');
      |         ^~~~~~
a.cc:4:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    3 | #include<algorithm>
  +++ |+#include <cstdio>
    4 | int main(){
a.cc:18:7: error: 'printf' was not declared in this scope
   18 |       printf('No');
      |       ^~~~~~
a.cc:18:7: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include<cstdio>
#include<cstring>
#include<algorithm>
int main(){
  char w[100];
  scanf("%s", &w);
  
  int len = strlen(w);
  int num = 0;
  for(int i=0; i<len; i++){
    if( count(w, w+len, w[i]) % 2 == 0){
      num ++;
      
      if(num == len)
        printf('Yes')
    }
    else{
      printf('No')
      break;
    }
  }    
  return 0;
}

Compiler output:
a.cc:15:16: warning: multi-character character constant [-Wmultichar]
   15 |         printf('Yes')
      |                ^~~~~
a.cc:18:14: warning: multi-character character constant [-Wmultichar]
   18 |       printf('No')
      |              ^~~~
a.cc: In function 'int main()':
a.cc:11:9: error: 'count' was not declared in this scope; did you mean 'std::count'?
   11 |     if( count(w, w+len, w[i]) % 2 == 0){
      |         ^~~~~
      |         std::count
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:3:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: 'std::count' declared here
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
a.cc:15:16: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   15 |         printf('Yes')
      |                ^~~~~
      |                |
      |                int
In file included from /usr/include/c++/14/cstdio:42,
                 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:15:22: error: expected ';' before '}' token
   15 |         printf('Yes')
      |                      ^
      |                      ;
   16 |     }
      |     ~                 
a.cc:18:14: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   18 |       printf('No')
      |              ^~~~
      |              |
      |              int
/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:18:19: error: expected ';' before 'break'
   18 |       printf('No')
      |                   ^
      |                   ;
   19 |       break;
      |       ~~~~~
Language: C++

#inclde<cstdio>
#inclue<cstring>
#include<algorithm>
int main(){
  char w[100];
  scanf("%s", &w);
  
  int len = strlen(w);
  int num = 0;
  for(int i=0; i<len; i++){
    if( count(w, w+len, w[i]) % 2 == 0){
      num ++;
      
      if(num == len)
        printf('Yes')
    }
    else{
      printf('No')
      break;
    }
  }    
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<cstdio>
      |  ^~~~~~
      |  include
a.cc:2:2: error: invalid preprocessing directive #inclue; did you mean #include?
    2 | #inclue<cstring>
      |  ^~~~~~
      |  include
a.cc:15:16: warning: multi-character character constant [-Wmultichar]
   15 |         printf('Yes')
      |                ^~~~~
a.cc:18:14: warning: multi-character character constant [-Wmultichar]
   18 |       printf('No')
      |              ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'scanf' was not declared in this scope
    6 |   scanf("%s", &w);
      |   ^~~~~
a.cc:8:13: error: 'strlen' was not declared in this scope
    8 |   int len = strlen(w);
      |             ^~~~~~
a.cc:4:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    3 | #include<algorithm>
  +++ |+#include <cstring>
    4 | int main(){
a.cc:11:9: error: 'count' was not declared in this scope; did you mean 'std::count'?
   11 |     if( count(w, w+len, w[i]) % 2 == 0){
      |         ^~~~~
      |         std::count
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:3:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: 'std::count' declared here
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
a.cc:15:9: error: 'printf' was not declared in this scope
   15 |         printf('Yes')
      |         ^~~~~~
a.cc:4:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    3 | #include<algorithm>
  +++ |+#include <cstdio>
    4 | int main(){
a.cc:18:7: error: 'printf' was not declared in this scope
   18 |       printf('No')
      |       ^~~~~~
a.cc:18:7: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#inclde<cstdio>
#inclue<cstring>
#include<algorithm>
int main(){
  char w[100];
  scanf("%s", w);
  
  int len = strlen(w);
  int num = 0;
  for(int i=0; i<len; i++){
    if( count(0, len, w[i]) % 2 == 0){
      num ++;
      
      if(num == len)
        printf("Yes")
    }
    else
      break;
  }
  print("No");
    
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<cstdio>
      |  ^~~~~~
      |  include
a.cc:2:2: error: invalid preprocessing directive #inclue; did you mean #include?
    2 | #inclue<cstring>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'scanf' was not declared in this scope
    6 |   scanf("%s", w);
      |   ^~~~~
a.cc:8:13: error: 'strlen' was not declared in this scope
    8 |   int len = strlen(w);
      |             ^~~~~~
a.cc:4:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    3 | #include<algorithm>
  +++ |+#include <cstring>
    4 | int main(){
a.cc:11:9: error: 'count' was not declared in this scope; did you mean 'std::count'?
   11 |     if( count(0, len, w[i]) % 2 == 0){
      |         ^~~~~
      |         std::count
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:3:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:101:1: note: 'std::count' declared here
  101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
      | ^~~~~
a.cc:15:9: error: 'printf' was not declared in this scope
   15 |         printf("Yes")
      |         ^~~~~~
a.cc:4:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    3 | #include<algorithm>
  +++ |+#include <cstdio>
    4 | int main(){
a.cc:20:3: error: 'print' was not declared in this scope
   20 |   print("No");
      |   ^~~~~
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main()
{
    string w;
    cin>>w;
    int l = w.length();
    int a[26];
    memset(a,0,sizeof(a));
    for(int i=0;i<l;i++)
    {
        int temp = w[i]-97;
        a[temp]++;
    }
    int flag = 0;
    for(int i=0;i<26;i++)
    {
        if(a[i]!=0&& a[i]%2!=0)
        {
            flag++;
            break;
        }
    }
    if(flag)
        cout<<"No"<<endl;
    else
        cout<<"Yes"<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'memset' was not declared in this scope
   10 |     memset(a,0,sizeof(a));
      |     ^~~~~~
a.cc:2:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | #include<string>
Language: C++

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

int main(void){

  char s[100];
  int alpha[26]={0};
  cin>>s;
  for(int i=0;i<strlen(s);i++){
    alpha[(int)s[i]-(int)'a']++;
  }
  int u=0;
  for(int i=0;i<26;i++){
    if(a[i]%2==1)
      u=1;
  }
  if(u==1)
    cout<<"No"<<endl;
  else
    cout<<"Yes"<<endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:8: error: 'a' was not declared in this scope
   14 |     if(a[i]%2==1)
      |        ^
Language: C++

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

int main(){
  string S;
  char A;
  int B=0;
  int C=1;
  cin>>S;
  for(int i=0;i<S.size();i++){
    A=S.at(i);
    for(int j=0;j<s.size();j++){
    if(A==S.at(j)){
    B++;
    }
    if(B%2==1){
    	C=99;
    	cout<<"No"<<endl;
    	break;
    }
    B=0;
}
}
    if(C==1){
    	cout<<"Yes"<<endl;
    }
}

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

#include <iostream>
#include <sstream>
#include <cctype>
#include <string>
using namespace std;

int main()
{
    char chara[100];

    cin >> chara;

    int box[150]={};

    for(int i=0;i<strlen(chara);i++){
        box[(int)chara[i]] ++;
    }

    bool check = true;
    for(int i=0;i<150;i++){
        if(box[i]%2!=0){
            check = false;
        }
    }

    if(check){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }

    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:19: error: 'strlen' was not declared in this scope
   15 |     for(int i=0;i<strlen(chara);i++){
      |                   ^~~~~~
a.cc:4:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    3 | #include <cctype>
  +++ |+#include <cstring>
    4 | #include <string>
Language: C++

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

int main()
{
    char chara[100];

    cin >> chara;

    int box[150]={};

    for(int i=0;i<strlen(chara);i++){
        box[(int)chara[i]] ++;
    }

    bool check = true;
    for(int i=0;i<150;i++){
        if(box[i]%2!=0){
            check = false;
        }
    }

    if(check){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }

    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:19: error: 'strlen' was not declared in this scope
   14 |     for(int i=0;i<strlen(chara);i++){
      |                   ^~~~~~
a.cc:3:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include <sstream>
  +++ |+#include <cstring>
    3 | #include <string>
Language: C++

#include <iostream>
using namespace std;

int main()
{
    char chara[100];

    cin >> chara;

    int box[150]={};

    for(int i=0;i<strlen(chara);i++){
        box[(int)chara[i]] ++;
    }

    bool check = true;
    for(int i=0;i<150;i++){
        if(box[i]%2!=0){
            check = false;
        }
    }

    if(check){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }

    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: 'strlen' was not declared in this scope
   12 |     for(int i=0;i<strlen(chara);i++){
      |                   ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
Language: C++

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

int main(void)
{
  string s;
  int a[26]={0};
  cin>>s;
  for(int i=0;i<s.size();i++){
    if(s.at(i)>='a'&&s.at(i)<='z')
      a[s.size(i)-'a']++;
  }
  int count=0;
  for(int i=0;i<26;i++){
    if(a[i]/2!=0)
      count++;
  }
  if(count>0)
    cout<<"No"<<endl;
  else
    cout<<"Yes"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: no matching function for call to 'std::__cxx11::basic_string<char>::size(int&)'
   11 |       a[s.size(i)-'a']++;
      |         ~~~~~~^~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:1076:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
 1076 |       size() const _GLIBCXX_NOEXCEPT
      |       ^~~~
/usr/include/c++/14/bits/basic_string.h:1076:7: note:   candidate expects 0 arguments, 1 provided
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <cstring>
#include <complex>
#include <stack>
#include <queue>
#include <unordered_map>
#include <map>
using namespace std;
int main() {
    int i;
    int v[26] = 0;
    string s;
    cin >> s;
    for (i=0;i>s.size();i++) {
        v[(int) s[i] - 97]++;
    }
    for (i=0;i<26;i++) {
        if (v[i] % 2 != 0) {
            cout << "No" << endl;
            return 0;
        }
    }
    cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:17: error: array must be initialized with a brace-enclosed initializer
   14 |     int v[26] = 0;
      |                 ^
Language: C++

//Keep working hard :)
#include <bits/stdc++.h>
using namespace std;

//#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);

const int N = 1e2+5;
int a[N];

int main()
{
	IOS;
        //fileIO();
        string s;
        cin >> s;
        for(int i = 0; i < s.size();i++)
        {
                if(s[i] >= 'a' && s[i] <= 'z')a[s[i]-'a']++;
        }
        for(int i = 0; i < 26; i++)
        {
                if(a[i]&1)
                {
                        cout <<"NO";
                        return 0;
                }
        }
        cout <<"YES";
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'IOS' was not declared in this scope
   12 |         IOS;
      |         ^~~
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(void) {
	long c,ans=0,i,j;
	string s;
	cin >> s;

	for(i=0;i<w.size();i++) {
		c=0;
		for (j=0;j<w.size();j++) {
			if (s[i]==s[j]) {
              c++;
        	}
		}
		if (c%2==1){
          ans=1;
        }
	}

	if (ans==0) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	return 0;
}


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

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

int main() {
  string w;
  cin >> w;
  int count = 0;
  bool flag = true
  
  for (int i = 0; i < w.size(); i++) {
    for (int j = 0; j < w.size(); j++) {
      if (w[i] == w[j]) {
        count++;
      }
    }
    if (count % 2 == 1) {
      flag = false;
      break;
    }
  }
  if(flag == true) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

    

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected ',' or ';' before 'for'
   10 |   for (int i = 0; i < w.size(); i++) {
      |   ^~~
a.cc:10:19: error: 'i' was not declared in this scope
   10 |   for (int i = 0; i < w.size(); i++) {
      |                   ^
Language: C++

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

int main() {
  string w;
  cin >> w;
  int count = 0;
  bool flag = ture
  
  for (int i = 0; i < w.size(); i++) {
    for (int j = 0; j < w.size(); j++) {
      if (w[i] == w[j]) {
        count++;
      }
    }
    if (count % 2 == 1) {
      flag = false;
      break;
    }
  }
  if(flag == ture) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

    

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 'ture' was not declared in this scope
    8 |   bool flag = ture
      |               ^~~~
a.cc:10:19: error: 'i' was not declared in this scope
   10 |   for (int i = 0; i < w.size(); i++) {
      |                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  string w;
  cin >> w;
  sort(w.begin(), w.end());
  char pre=" ";
  int count = 0;
  for(auto& c : w){
    if(c==pre){
      count++;
    }else{
      if(count%2==1){
        cout << "No" << endl;
        return 0;
      }else{
        pre = c;
        count = 0;
      }
    }
  }
  cout << "Yes" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    8 |   char pre=" ";
      |            ^~~
      |            |
      |            const char*
Language: C++

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

int main(){
    int i;
    int c[26] = {};
    string w;
    cin >> w;
    for(i=0; i<w.size; i++){
        c[(int)w[i]-'a']++;
    }
    for(i=0; i<26; i++){
        if(c[i]%2 == 1){
            cout << "No";
            return 0;
        }
    }
    cout << "Yes";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
    9 |     for(i=0; i<w.size; i++){
      |                ~~^~~~
      |                      ()
Language: C++

#include <iostream>
#include <string>

using namespace std;

int main(){
  string S;
  cin>>S;
  int b=0;
  for(auto c:S){
    b^=(1<<(c-'a'));
  }
  cout<<(b?:"No":"Yes")<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: operands to '?:' have different types 'int' and 'const char*'
   13 |   cout<<(b?:"No":"Yes")<<endl;
      |          ~^~~~~~
a.cc:13:17: error: expected ')' before ':' token
   13 |   cout<<(b?:"No":"Yes")<<endl;
      |         ~       ^
      |                 )
Language: C++

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

int main() {
	//vars;
	string w;
	int sum;
	
	cin >> w;
	if (w.size() % 2 != )cout << "No" << endl;

	for (int i = 0; i < w.size()/2 ; i+=2) {
		sum += w[i];
	}	
	if (sum % 4 == 0)cout << "Yes" << endl;

	for (int i = 1; i < w.size() / 2) {

	}
	if (sum % 2 == 0)cout << "Yes" << endl;
	else cout << "No" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: expected primary-expression before ')' token
   11 |         if (w.size() % 2 != )cout << "No" << endl;
      |                             ^
a.cc:18:41: error: expected ';' before ')' token
   18 |         for (int i = 1; i < w.size() / 2) {
      |                                         ^
      |                                         ;
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <cmath>
using namespace std;
typedef long long unsigned int ll;
 
int main() {
	
  string s;
  int a,b,c,d,i,j,k;
  cin >> s;
  vector<int> l(26)
  
  for(i=0; i < s.length() ; i++){
    l[int(s[i]-'a')]++;
  }
  a=0;
  while(1){
	if(l[a]%2==0){
		cout << "No" <<endl;
      return 0;
    }
    a++;
  }
  
  cout << "Yes" <<endl;
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: expected ',' or ';' before 'for'
   16 |   for(i=0; i < s.length() ; i++){
      |   ^~~
a.cc:16:32: error: expected ';' before ')' token
   16 |   for(i=0; i < s.length() ; i++){
      |                                ^
      |                                ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  string w;
  cin >> w;
  int a[26]
  for (int i;i<w.size();i++){
   a[s[i]-'a']=1-a[s[i]-'a']; 
  }
  a.sort();
  if (a[25]=0){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'for'
    8 |   for (int i;i<w.size();i++){
      |   ^~~
a.cc:8:14: error: 'i' was not declared in this scope
    8 |   for (int i;i<w.size();i++){
      |              ^
a.cc:11:3: error: 'a' was not declared in this scope
   11 |   a.sort();
      |   ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
  string s;
  cin >> s;
  int cnt, ans = 0;

  for (char i = 'a'; i <= 'z'; i++) {
    cnt = count(s.begin(), s.end(), i);
    if (cnt % 2) ans = 1;
  }
  if (ans == 0) cout << "YES" << endl;
  else cout << "NO" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'count' was not declared in this scope; did you mean 'cnt'?
   12 |     cnt = count(s.begin(), s.end(), i);
      |           ^~~~~
      |           cnt
Language: C

#include<stdio.h>

int main(){
  char S[111];
  S[0] = '\0';
  scanf("%s",S);
  int i,N;
  while(S[N] != '\0'){
    N++;
  };
  for(i=0;i<=N-1;i++)
    S[i] -= 'a';
  int count[30] = {0};
  for(i=0;i<=N-1;i++)
    count[S[i]]++;
  for(i=0;i<=26;i++)
    if(count%2 == 1){
    printf("No");
    goto NO;
    };
  printf("Yes");
  NO:;
}

Compiler output:
main.c: In function 'main':
main.c:17:13: error: invalid operands to binary % (have 'int *' and 'int')
   17 |     if(count%2 == 1){
      |        ~~~~~^
      |        |
      |        int *
Language: C

include<stdio.h>

int main(){
  char S[111];
  S[0] = '\0';
  scanf("%s",S);
  int i,N;
  while(S[N] != '\0'){
    N++;
  };
  for(i=0;i<=N-1;i++)
    S[i] -= 'a';
  int count[30] = {0};
  for(i=0;i<=N-1;i++)
    count[S[i]]++;
  for(i=0;i<=26;i++)
    if(count%2 == 1){
    printf("No");
    goto NO;
    };
  printf("Yes");
  NO:;
}

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

include<stdio.h>

int main(){
  char S[111];
  S[0] = '\0';
  scanf("%s",S);
  int i,N;
  while(S[N]){
    N++;
  };
  for(i=0;i<=N-1;i++)
    S[i] -= 'a';
  int count[30] = {0};
  for(i=0;i<=N-1;i++)
    count[S[i]]++;
  for(i=0;i<=26;i++)
    if(count%2 == 1){
    printf("No");
    goto NO;
    };
  printf("Yes");
  NO:;
}

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

#include <bits/stdc++.h>
using namespace std;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
typedef long long int ll;

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define MOD (1000000007)
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};

string w;

void input(){
    cin >> w;
}

int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    input();
  	map<char, int> cnt;
  	for(int i=0;i<w.size();i++) map[w[i]]++;
  	for(auto& e: cnt){
      if(e.second % 2 == 1){
        cout << "No" << endl;
        return 0;
      }
    }
  	cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:42: error: expected ']' before '[' token
   26 |         for(int i=0;i<w.size();i++) map[w[i]]++;
      |                                          ^
      |                                          ]
a.cc:26:46: error: expected initializer before '++' token
   26 |         for(int i=0;i<w.size();i++) map[w[i]]++;
      |                                              ^~
a.cc:26:46: error: expected ';' before '++' token
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <cstdlib>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <stack>
#include <math.h>
using namespace std;

template<class T> inline bool chmax(T& a, T b){ if(a < b) { a=b; return 1; }return 0;}
template<class T> inline bool chmin(T& a, T b){ if(a > b) { a=b; return 1; }return 0;}


const long long INF = 1LL << 60;
long long c[30][10010];
long long dp[30][10010];


//bucket1
// bool ch[10] = {0};
// bool check(int n){
//     while(n!=0){
//         if(ch[n%10]) return false;
//         n /= 10;
//     }
//     return true;
// }



// --------write my code!!!!!----------//

int counter[200];

int main(){
    bool flag=true;
    string s; cin >> s;
    for(int i=0; i<200; ++i) counter[i] = 0;
 
    for(int i=0; i<s.length(); ++i){
        int chr = (int)s[i]-97;
        counter[chr]++;å
        if(counter[chr]%2!=0) flag = false;
        else flag = true;
    }
    if(flag) cout << "Yes" <<endl;
    else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:24: error: '\U000000e5' was not declared in this scope
   44 |         counter[chr]++;å
      |                        ^
a.cc:46:9: error: 'else' without a previous 'if'
   46 |         else flag = true;
      |         ^~~~
Language: C++

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

int main(){
  string s;
  cin >> s;
  
  int alphb[26];
  fill_n(alphab, 26, 0);
  
  if(s.size() % 2 != 0){
    cout << "No" << endl;
    return 0;
  }
  
  for(int i = 0; i < s.size(); i++){
    alphab[s[i] - '0']++;
  }
  
  for(int i = 0; i < 26; i++){
    if(alphab[i] % 2 != 0){
      cout << "No" << endl;
      return 0;
    }
  }
  
  cout << "Yes" << endl;
}
     

Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: 'alphab' was not declared in this scope; did you mean 'alphb'?
   11 |   fill_n(alphab, 26, 0);
      |          ^~~~~~
      |          alphb
Language: C++

#include<iostream>
#include<string>

using namespace std;

int main(){
	string s;
  	cin>>s;
  	int i,j,count=1;
  	if(s.size()%2!=0){
      cout<<"No"<<endl;
      return 0;
    }
  	for(i=0;i<s.size();++i){
    	for(j=0;j<s.size()-i;++j){
        	if(s[i]==s[i+j]){
              count++;
              s.erase(s.begin()+(i+j));
        }if(count%2!=0){
            cout<<"No"<<endl;
              	return 0;
            }else count=1;
    }cout<<"Yes"<<endl;
	return 0;
}

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

#include<stdio.h>
int main(void)
{
  char w[100], test;
  int i, j, beau=0;
  for(i=0;i<100;i++)
    scanf(%c, &w[i]);
  i = 0;
  while(w[i] = '\n'){
    
    test = w[i];
    
    for(j=0;j=100;j++){
    if(w[j] == test)
      beau = beau + 1;
    }
      
    if(beau % 2 == 1)
    printf("No\n");
    return 0;
    
    i++;
  }
  printf("Yes\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected expression before '%' token
    7 |     scanf(%c, &w[i]);
      |           ^
Language: C

#include<stdio.h>
int main(void)
{
  char w[100], test;
  int i, j, beau=0;
  for(i=0;i<100;i++)
    scanf(%c, &w[i]);
  i = 0;
  while(w[i] = '\n'){
    
    test = w[i];
    
    for(j=0;j=100,j++){
    if(w[j] == test)
      beau = beau + 1;
    }
      
    if(beau % 2 == 1)
    printf("No\n");
    return 0;
    
    i++
  }
  printf("Yes\n")
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected expression before '%' token
    7 |     scanf(%c, &w[i]);
      |           ^
main.c:13:22: error: expected ';' before ')' token
   13 |     for(j=0;j=100,j++){
      |                      ^
      |                      ;
main.c:22:8: error: expected ';' before '}' token
   22 |     i++
      |        ^
      |        ;
   23 |   }
      |   ~     
main.c:24:18: error: expected ';' before 'return'
   24 |   printf("Yes\n")
      |                  ^
      |                  ;
   25 |   return 0;
      |   ~~~~~~
Language: C

#include<stdio.h>
int main(void)
{
  char w[100], test;
  int i, j, beau=0;
  for(i=0;i<100;i++)
    scanf(%c, &w[i]);
  i = 0
  while(w[i] = '\n'){
    
    test = w[i];
    
    for(j=0;j=100,j++){
    if(w[j] == test)
      beau = beau + 1;
    }
      
    if(beau % 2 == 1)
    printf("No\n");
    return 0;
    
    i++
  }
  printf("Yes\n")
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected expression before '%' token
    7 |     scanf(%c, &w[i]);
      |           ^
main.c:8:8: error: expected ';' before 'while'
    8 |   i = 0
      |        ^
      |        ;
    9 |   while(w[i] = '\n'){
      |   ~~~~~
Language: C++

#include "pch.h"
#include<iostream>
#include<string>
#include<algorithm>
#include<functional>
#include<vector>
#include<cmath>
#include<iomanip>
using namespace std;

int main() {
	string s;
	int count = 0;
	int a[30];
	cin >> s;
	for (int num = 0;num< 30;num++) {
		a[num] = 0;
	}
	for (int i = 0;i < s.size();i++) {
		if (s[i] == 'a')
			a[0] += 1;
		if (s[i] == 'b')
			a[1] += 1;
		if (s[i] == 'c')
			a[2] += 1;
		if (s[i] == 'd')
			a[3] += 1;
		if (s[i] == 'e')
			a[4] += 1;
		if (s[i] == 'f')
			a[5] += 1;
		if (s[i] == 'g')
			a[6] += 1;
		if (s[i] == 'h')
			a[7] += 1;
		if (s[i] == 'i')
			a[8] += 1;
		if (s[i] == 'j')
			a[9] += 1;
		if (s[i] == 'k')
			a[10] += 1;
		if (s[i] == 'l')
			a[11] += 1;
		if (s[i] == 'm')
			a[12] += 1;
		if (s[i] == 'n')
			a[13] += 1;
		if (s[i] == 'o')
			a[14] += 1;
		if (s[i] == 'p')
			a[15] += 1;
		if (s[i] == 'q')
			a[16] += 1;
		if (s[i] == 'r')
			a[17] += 1;
		if (s[i] == 's')
			a[18] += 1;
		if (s[i] == 't')
			a[19] += 1;
		if (s[i] == 'u')
			a[20] += 1;
		if (s[i] == 'v')
			a[21] += 1;
		if (s[i] == 'w')
			a[22] += 1;
		if (s[i] == 'x')
			a[23] += 1;
		if (s[i] == 'y')
			a[24] += 1;
		if (s[i] == 'z')
			a[25] += 1;
	}
	for (int j = 0;j < 26;j++) {
		if (a[j] % 2 == 1)
			count++;
	}
	if (count > 0)
		cout << "No" << endl;
	else
		cout << "Yes" << endl;
}


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

#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#define ll long long
using namespace std;
char a[105]; 
int main()
{
	cnt=1;
	scanf("%s",a);
	if(strlen(a)<2)
	{
		printf("No\n");
	}
	else
	{
		sort(a,a+strlen(a));
		for(int i=1;i<strlen(a);i+=2)
		{
			if(a[i]!=a[i-1])
			{
				printf("No\n");
				break;	
				cnt=0;
			}	
		}	
		if(cnt=1)
		{
			printf("Yes\n");
		}
		else
		{
			printf("No\n");
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
   11 |         cnt=1;
      |         ^~~
      |         int
Language: C++

# Your code here!

s=gets.chomp

n=s.length
flag=true

for c in 'a'..'z' do
    cnt=0
    for i in 0..n-1 do
        if(s[i]==c)
            cnt+=1
        end
    end
    if(cnt%2==1)
        flag=false
        break
    end
end

puts (flag ? "Yes":"No")

Compiler output:
a.cc:1:3: error: invalid preprocessing directive #Your
    1 | # Your code here!
      |   ^~~~
a.cc:10:14: error: too many decimal points in number
   10 |     for i in 0..n-1 do
      |              ^~~~
a.cc:3:1: error: 's' does not name a type
    3 | s=gets.chomp
      | ^
Language: C++

#include<stdio.h>
#include<string.h>
char a[101];
int  b[101];
int main()
{
	int i,len,t,n,c,j;
	c=0;
	n=-1;
	gets(a);
	len = strlen(a);
	if(len % 2 == 0)
	{
	   for(i=0 ; i<len-1 ; i=i+t)
	   {
	   	   n++;
	   	   for(j=i+1 ; j<len ; j++)
		   {
	   	      if(a[i] == a[j])
		      {
		      	  b[n]++;
			  } else t=j;
		   }
	   }
	   for(i=0 ; i<n ; i++)
	   {
	   	   if(b[n] % 2 == 0) c++;
	   }
	   if(c==0) printf("YES");
	   else printf("NO");
	}else printf("NO");
	return 0;
}

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

#include <bits/stdc++.h>
#define FOR(i, n) for(int i = 0;i <n;i++)
#define RFOR(i, n) for(int i = n;i >= 0;i--)
#define REP(i, m, n) for(int i = m;i < n;i++)
#define RREP(i, m, n) for(int i = m;i >= n;i--)
#define INF 999999999
 
using namespace std;
int main(int argc, char const *argv[]) 
{
  int a,count[26],i;
 string s;
 cin >>s;

 a = s.size{};
 FOR(i,a)
 {
   count[s[i]-'a']++; 
 }
 FOR(i,a)
 {
   if(count[i]%2 != 0)
   {
     cout<<"No"<<endl;
   }
 }

 cout<<"Yes"<<endl;

return 0;

}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:15:8: error: cannot convert 'std::__cxx11::basic_string<char>::size' from type 'std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept' {aka 'long unsigned int (std::__cxx11::basic_string<char>::)() const noexcept'} to type 'int'
   15 |  a = s.size{};
      |        ^~~~
Language: C++

#include <bits/stdc++.h>
#define FOR(i, n) for(int i = 0;i <n;i++)
#define RFOR(i, n) for(int i = n;i >= 0;i--)
#define REP(i, m, n) for(int i = m;i < n;i++)
#define RREP(i, m, n) for(int i = m;i >= n;i--)
#define INF 999999999
 
using namespace std;
int main(int argc, char const *argv[]) 
{
  int a;
 string s;
 a = s.size()
 if(a%2 != 0)
 {
   cout<<"No"<<endl;
   return 0;
 }
 cout<<"Yes"<<endl;
 
 
return 0;

}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:13:14: error: expected ';' before 'if'
   13 |  a = s.size()
      |              ^
      |              ;
   14 |  if(a%2 != 0)
      |  ~~
Language: C

#include<stdio.h>

int main(void)
{
  int i[26],flag = 0;
  char n;
  for(;;)
  {
    scanf("%c",&n);
    if(n == '\n'){break;}
    i[n - 97] += 1;
  }
  
  for(int j = 0;i <= 26; i++)
  {
    if(i[j] % 2 != 0){flag = 1;}
  }
  
  if(flag == 0){printf("Yes");}else{printf("No");}
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:19: warning: comparison between pointer and integer
   14 |   for(int j = 0;i <= 26; i++)
      |                   ^~
main.c:14:27: error: lvalue required as increment operand
   14 |   for(int j = 0;i <= 26; i++)
      |                           ^~