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


        cout<<s[t n; scanf("%d", &n); int ans = 0;
    for(int i = 1; i <= n; i ++) {
        cin >> s[i];
   endl;
        #include<or(int i=1;i<=n;i++)
        if(vis[s[i]]==mx)
    {bits/stdc++.h>
using namespace std;
h>
usi
    sort(s+1,s+1+n);
    f     ans = max(ans, ++ Map[s[i]]);
    }
    for(int i = 1; i <= n; i ++) {
        if(Map[s[i]] == ans) {
            Map[s[i]] = 0;
            vec.pb(s[i]);
        }
    }
    sort(vec2e5+5;.begin(), vec.end());
    fo0;
} 
typedef long long ll;
const int N=
map<string,int>vis; : vec) printf("%s\n", s.c_str());
    return  n;
string s[N];
int main()
{
    scanf("%d",&n);
    int=n;i++)
    {
vector<string>>>s[i];vis[s[i]]++;
    
map<st
        cinvis[s[i]]=0;
    }ce std;
}
intr(auto s mx=0;
    for(int i=1;i    mx=max(mx,vis[s[i]]);
    }i]<< vec;<
#ng naring, int> Map;
int main() {
    imespa

string s[200010];ninclude <bits/stdc++.

Compiler output:
a.cc:6:38: error: missing terminating > character
    6 |         #include<or(int i=1;i<=n;i++)
      |                                      ^
a.cc:6:17: fatal error: or(int i=1;i<=n;i++): No such file or directory
    6 |         #include<or(int i=1;i<=n;i++)
      |                 ^
compilation terminated.
Language: C++


        cout<<s[t n; scanf("%d", &n); int ans = 0;
    for(int i = 1; i <= n; i ++) {
        cin >> s[i];
   endl;
        #include<or(int i=1;i<=n;i++)
        if(vis[s[i]]==mx)
    {bits/stdc++.h>
using namespace std;
h>
usi
    sort(s+1,s+1+n);
    f     ans = max(ans, ++ Map[s[i]]);
    }
    for(int i = 1; i <= n; i ++) {
        if(Map[s[i]] == ans) {
            Map[s[i]] = 0;
            vec.pb(s[i]);
        }
    }
    sort(vec2e5+5;.begin(), vec.end());
    fo0;
} 
typedef long long ll;
const int N=
map<string,int>vis; : vec) printf("%s\n", s.c_str());
    return  n;
string s[N];
int main()
{
    scanf("%d",&n);
    int
intr(auto s mx=0;
    for(int i=1;i<=n;i++)
    {
        cinvis[s[i]]=0;
    }
}
#ng na
vector<string>>>s[i];vis[s[i]]++;
        mx=max(mx,vis[s[i]]);
    }i]<< vec;
map<string, int> Map;
int main() {
    imespace std;

string s[200010];ninclude <bits/stdc++.
  

Compiler output:
a.cc:6:38: error: missing terminating > character
    6 |         #include<or(int i=1;i<=n;i++)
      |                                      ^
a.cc:6:17: fatal error: or(int i=1;i<=n;i++): No such file or directory
    6 |         #include<or(int i=1;i<=n;i++)
      |                 ^
compilation terminated.
Language: C++

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

string s[200010];
vector<string> vec;
map<string, int> Map;
int main() {
    int n; scanf("%d", &n); int ans = 0;
    for(int i = 1; i <= n; i ++) {
        cin >> s[i];
        ans = max(ans, ++ Map[s[i]]);
    }
    for(int i = 1; i <= n; i ++) {
        if(Map[s[i]] == ans) {
            Map[s[i]] = 0;
            vec.pb(s[i]);
        }
    }
    sort(vec.begin(), vec.end());
    for(auto s : vec) printf("%s\n", s.c_str());
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:16:17: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
   16 |             vec.pb(s[i]);
      |                 ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a = b && b = c) {
    cout << "No" << endl;
  }
  else if ((a = b && b != c) || (b = c && c != a) || (c = a && a != b)) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
    ll a[4];
    for(int i=0;i<3;i++)
        cin>>a[i];
    sort(a,a+3);
    if(a[0]==a[2])
        cout<<"No"<<endl;
    else if(a[0]==a[1] && a[0]!=a[2])
        cout<<"Yes"<<endl;
    else if(a[1]==a[2] && a[0]!=a[2])
        cout<<"Yes"<<endl;
    else
        cout<<"No"<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'll' was not declared in this scope
    5 |     ll a[4];
      |     ^~
a.cc:7:14: error: 'a' was not declared in this scope
    7 |         cin>>a[i];
      |              ^
a.cc:8:10: error: 'a' was not declared in this scope
    8 |     sort(a,a+3);
      |          ^
Language: C++

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

int main() {
  
  int A=0, B-0, C=0;
  cin >> A >> B >> C;
  
  if(A==B || A==C || B==C) {
    
    cout << "Yes" << endl;
    
  } else {
    
    cout << "No" << endl;
    
  }
  
  return 0;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected initializer before '-' token
    6 |   int A=0, B-0, C=0;
      |             ^
a.cc:7:15: error: 'B' was not declared in this scope
    7 |   cin >> A >> B >> C;
      |               ^
a.cc:7:20: error: 'C' was not declared in this scope
    7 |   cin >> A >> B >> C;
      |                    ^
Language: C++

import sys
input = sys.stdin.readline
from operator import itemgetter
sys.setrecursionlimit(10000000)
INF = 10**18

# 一方をpに固定したとき、積がx未満になるペアの個数
def f(p, x, n, a):
    if p > 0:
        l = -1
        r = n
        while l + 1 < r:
            mid = (l + r) // 2
            if p * a[mid] < x:
                l = mid
            else:
                r = mid
        return l+1
    else:
        l = -1
        r = n
        while l + 1 < r:
            mid = (l + r)//2
            if p * a[mid] < x:
                r = mid
            else:
                l = mid
        return n-r

# x未満になる組み合わせ数がk未満ならTrue
def is_under(x, k, n, a):
    ans = 0
    for c in a:
        ans += f(c, x, n, a)
        if c**2 < x:
            ans -= 1
    ans /= 2
    return ans < k

def main():
    n, k = list(map(int, input().strip().split()))
    a = sorted(list(map(int, input().strip().split())))
    l = -INF
    r = INF
    while l + 1 < r:
        mid = (l+r)//2
        if is_under(mid, k, n, a):
            l = mid
        else:
            r = mid
    print(l)

if __name__ == '__main__':
    main()


Compiler output:
a.cc:7:3: error: extended character 、 is not valid in an identifier
    7 | # 一方をpに固定したとき、積がx未満になるペアの個数
      |   ^
a.cc:7:3: error: invalid preprocessing directive #\U00004e00\U000065b9\U00003092p\U0000306b\U000056fa\U00005b9a\U00003057\U0000305f\U00003068\U0000304d\U00003001\U00007a4d\U0000304cx\U0000672a\U00006e80\U0000306b\U0000306a\U0000308b\U000030da\U000030a2\U0000306e\U0000500b\U00006570
    7 | # 一方をpに固定したとき、積がx未満になるペアの個数
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:30:3: error: invalid preprocessing directive #x\U0000672a\U00006e80\U0000306b\U0000306a\U0000308b\U00007d44\U0000307f\U00005408\U0000308f\U0000305b\U00006570\U0000304ck\U0000672a\U00006e80\U0000306a\U00003089True
   30 | # x未満になる組み合わせ数がk未満ならTrue
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:53:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   53 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

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

int main(void){
  int a,b,c;
  cin >> a >> b >> c;
  if((a == b && a != c) || (a == c && a != b) || (c == b && c != a)){
    cout << "Yes" << endl;
  }
  else cout << " No" << endl;
  return 0;
}


Compiler output:
a.cc:3:20: error: expected ';' before 'typedef'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | typedef long long ll;
      | ~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()

int main() {
  int a, b, c;
  cin >> a >> b >> c;
  ans = "No";
  if (a == b && b != c) ans = "Yes";
  if (a == c && a != b) ans = "Yes";
  if (b == c && a != b) ans = "Yes";
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   ans = "No";
      |   ^~~
      |   abs
Language: C++

#include<cstdio>
#include<iostream>
#include<string>
#include<set>
#include<map>
#include<vector>
#include<deque>
#include<tuple>
#include<algorithm>
#include<numeric>
#include<limits>
#include<boost/multiprecision/cpp_int.hpp>
using namespace boost::multiprecision;
using namespace std;
#define BEGIN ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define END return EXIT_SUCCESS
#define rep(I,N) for(auto I=0;I<(N);++I)
#define up(I,A,B) for(auto I=(A);I<=(B);++I)
#define dw(I,A,B) for(auto I=(A);I>=(B);--I)
#define all(C) (C).begin(),(C).end()
#define rall(C) (C).rbegin(),(C).rend()
#define ft first
#define sd second
#define mp make_pair
#define mt make_tuple
#define pf push_front
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define rs resize
typedef long long ll;
typedef unsigned long long ull;
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;}
template<class T>inline void                                      in(T &p){cin>>p;}
template<class T1,class T2>inline void                            in(T1 &p1,T2 &p2){cin>>p1>>p2;}
template<class T1,class T2,class T3>inline void                   in(T1 &p1,T2 &p2,T3 &p3){cin>>p1>>p2>>p3;}
template<class T1,class T2,class T3,class T4>inline void          in(T1 &p1,T2 &p2,T3 &p3,T4 &p4){cin>>p1>>p2>>p3>>p4;}
template<class T1,class T2,class T3,class T4,class T5>inline void in(T1 &p1,T2 &p2,T3 &p3,T4 &p4,T5 &p5){cin>>p1>>p2>>p3>>p4>>p5;}
template<class T>inline void                                      ins(T &p){for_each(all(p),in<decltype(p[0])>);}
template<class T>inline void                             out(T p){cout<<p<<endl;}
template<class T1,class T2>inline void                   out(T1 p1,T2 p2){cout<<p1<<" "<<p2<<endl;}
template<class T1,class T2,class T3>inline void          out(T1 p1,T2 p2,T3 p3){cout<<p1<<" "<<p2<<" "<<p3<<endl;}
template<class T1,class T2,class T3,class T4>inline void out(T1 p1,T2 p2,T3 p3,T4 p4){cout<<p1<<" "<<p2<<" "<<p3<<" "<<p4<<endl;}
inline                                              void out(double p){printf("%.10f\n",p);}
template<class T>inline                             void outs(T p){for_each(all(p),out<decltype(p[0])>);}
template<class T>inline void outs(vector<T> V){int n=V.size();rep(i,n)cout<<V[i]<<" \n"[i==n-1];}
//const long mod=(long)1e9+7;
inline void solve(void){
  set<int>s;
  rep(i,3){
    int a;
    in(a);
    s.insert(a);
  }
  out(a.size()==2?"Yes":"No");
}
int main(int argc,char**argv){
  BEGIN;
  solve();
  END;
}


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

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

int main() {
  int A, B, C;
  bool kawaiso = false;
  cin >> A >> B >> C;

  if (A == B) {
    if (A != C) {
      kawaiso = true;
    }
  } else {
    if (A == C || B == C) {
      kawiso = true;
    }
  }

  if (kawaiso = true) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:7: error: 'kawiso' was not declared in this scope; did you mean 'kawaiso'?
   15 |       kawiso = true;
      |       ^~~~~~
      |       kawaiso
Language: C++

#include<stdio.h>
using namespace std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  if(a==b || a==c || b==c)
    cout<<"Yes\n";
  else cout<<"No\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b>>c;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<"Yes\n";
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:8: error: 'cout' was not declared in this scope
    9 |   else cout<<"No\n";
      |        ^~~~
a.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
    int n; 
	scanf("%d", &n); bool ok = 1;
    while(n --) {
        int x; scanf("%d", &x);
        if(x % 2 == 0 && (x % 3 != 0 && x % 5 != 0)) {
            ok = 0;
        }
    }
    puts(ok ? "APPROVED" : "DENIED");
    return 0;


Compiler output:
a.cc:5:14: error: expected constructor, destructor, or type conversion before '(' token
    5 |         scanf("%d", &n); bool ok = 1;
      |              ^
a.cc:6:5: error: expected unqualified-id before 'while'
    6 |     while(n --) {
      |     ^~~~~
a.cc:12:9: error: expected constructor, destructor, or type conversion before '(' token
   12 |     puts(ok ? "APPROVED" : "DENIED");
      |         ^
a.cc:13:5: error: expected unqualified-id before 'return'
   13 |     return 0;
      |     ^~~~~~
Language: C++

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

    int n; 
	scanf("%d", &n); bool ok = 1;
    while(n --) {
        int x; scanf("%d", &x);
        if(x % 2 == 0 && (x % 3 != 0 && x % 5 != 0)) {
            ok = 0;
        }
    }
    puts(ok ? "APPROVED" : "DENIED");
    return 0;


Compiler output:
a.cc:5:14: error: expected constructor, destructor, or type conversion before '(' token
    5 |         scanf("%d", &n); bool ok = 1;
      |              ^
a.cc:6:5: error: expected unqualified-id before 'while'
    6 |     while(n --) {
      |     ^~~~~
a.cc:12:9: error: expected constructor, destructor, or type conversion before '(' token
   12 |     puts(ok ? "APPROVED" : "DENIED");
      |         ^
a.cc:13:5: error: expected unqualified-id before 'return'
   13 |     return 0;
      |     ^~~~~~
Language: C++

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

int main() 
    int n; 
	scanf("%d", &n); bool ok = 1;
    while(n --) {
        int x; scanf("%d", &x);
        if(x % 2 == 0 && (x % 3 != 0 && x % 5 != 0)) {
            ok = 0;
        }
    }
    puts(ok ? "APPROVED" : "DENIED");
    return 0;


Compiler output:
a.cc:5:5: error: expected initializer before 'int'
    5 |     int n;
      |     ^~~
a.cc:6:14: error: expected constructor, destructor, or type conversion before '(' token
    6 |         scanf("%d", &n); bool ok = 1;
      |              ^
a.cc:7:5: error: expected unqualified-id before 'while'
    7 |     while(n --) {
      |     ^~~~~
a.cc:13:9: error: expected constructor, destructor, or type conversion before '(' token
   13 |     puts(ok ? "APPROVED" : "DENIED");
      |         ^
a.cc:14:5: error: expected unqualified-id before 'return'
   14 |     return 0;
      |     ^~~~~~
Language: C++

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

int main() 
    int n; 
	scanf("%d", &n); bool ok = 1;
    while(n --) {
        int x; scanf("%d", &x);
        if(x % 2 == 0 && (x % 3 != 0 && x % 5 != 0)) {
            ok = 0;
        }
    }
    puts(ok ? "APPROVED" : "DENIED");
    return 0;



Compiler output:
a.cc:5:5: error: expected initializer before 'int'
    5 |     int n;
      |     ^~~
a.cc:6:14: error: expected constructor, destructor, or type conversion before '(' token
    6 |         scanf("%d", &n); bool ok = 1;
      |              ^
a.cc:7:5: error: expected unqualified-id before 'while'
    7 |     while(n --) {
      |     ^~~~~
a.cc:13:9: error: expected constructor, destructor, or type conversion before '(' token
   13 |     puts(ok ? "APPROVED" : "DENIED");
      |         ^
a.cc:14:5: error: expected unqualified-id before 'return'
   14 |     return 0;
      |     ^~~~~~
Language: C++

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

int main()

	int m ,i;
	cin>>m>>i;
	
	if(i=m)
	    cout<<"="<<endl;
	else
	    cout<<"!="<<endl;
	return 0;


Compiler output:
a.cc:6:9: error: expected initializer before 'int'
    6 |         int m ,i;
      |         ^~~
a.cc:7:9: error: 'cin' does not name a type
    7 |         cin>>m>>i;
      |         ^~~
a.cc:9:9: error: expected unqualified-id before 'if'
    9 |         if(i=m)
      |         ^~
a.cc:11:9: error: expected unqualified-id before 'else'
   11 |         else
      |         ^~~~
a.cc:13:9: error: expected unqualified-id before 'return'
   13 |         return 0;
      |         ^~~~~~
Language: C++

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

using namespace std;

int main(inta argc, char** argv) {
  int a, b, c;
  cin >> a >> b >> c;
  if ((a == b && a != c) ||
      (a == c && a != b) ||
      (b == c && a != b)) {
    cout << "Yes\n";
    return 0;
  }
  cout << "No\n";
  return 0;
}


Compiler output:
a.cc:7:5: error: cannot declare '::main' to be a global variable
    7 | int main(inta argc, char** argv) {
      |     ^~~~
a.cc:7:10: error: 'inta' was not declared in this scope; did you mean 'int'?
    7 | int main(inta argc, char** argv) {
      |          ^~~~
      |          int
a.cc:7:21: error: expected primary-expression before 'char'
    7 | int main(inta argc, char** argv) {
      |                     ^~~~
a.cc:7:32: error: expression list treated as compound expression in initializer [-fpermissive]
    7 | int main(inta argc, char** argv) {
      |                                ^
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a,b,c;
	cin>>a>>b>>c;
	if((a==b&&a!=c)||(a==c&&a!=b)||(b==c&&a!=b)){
		cout<<"Yes\n";
	else{
		cout<<"No\n";
	}
	return 0;

}

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

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = Integer.parseInt(sc.next());
    int b = Integer.parseInt(sc.next());
    int c = Integer.parseInt(sc.next());
    if(a == b && a == c){
      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:4:9: error: expected ':' before 'static'
    4 |   public static void main(String[] args){
      |         ^~~~~~~
      |         :
a.cc:4:27: error: 'String' has not been declared
    4 |   public static void main(String[] args){
      |                           ^~~~~~
a.cc:4:36: error: expected ',' or '...' before 'args'
    4 |   public static void main(String[] args){
      |                                    ^~~~
a.cc:15:2: error: expected ';' after class definition
   15 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:5: error: 'Scanner' was not declared in this scope
    5 |     Scanner sc = new Scanner(System.in);
      |     ^~~~~~~
a.cc:6:13: error: 'Integer' was not declared in this scope
    6 |     int a = Integer.parseInt(sc.next());
      |             ^~~~~~~
a.cc:6:30: error: 'sc' was not declared in this scope
    6 |     int a = Integer.parseInt(sc.next());
      |                              ^~
a.cc:10:7: error: 'System' was not declared in this scope
   10 |       System.out.println("NO");
      |       ^~~~~~
a.cc:12:7: error: 'System' was not declared in this scope
   12 |       System.out.println("YES");
      |       ^~~~~~
Language: C++

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

int main(){
	int A,B,C;
    cin >> A >> B >> C;
  	int flag = 0
     if((A=B && (A !=C || A != B))||(B=C && (B !=A || C != A))||(A=C && (A !=B || C != B))){
     	flag = 1;
     }
  	if(flag == 1){
    cout << "Yes"<< endl;
    else{
     cout << "No" << endl; 
    }
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: expected ',' or ';' before 'if'
    8 |      if((A=B && (A !=C || A != B))||(B=C && (B !=A || C != A))||(A=C && (A !=B || C != B))){
      |      ^~
a.cc:13:5: error: expected '}' before 'else'
   13 |     else{
      |     ^~~~
a.cc:11:22: note: to match this '{'
   11 |         if(flag == 1){
      |                      ^
a.cc: At global scope:
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  map<int,int>m;
  int n = 3;
  int s =0;
  int arr[n];
  for(int i=0;i<3;i++)
    cin>>arr[i];
  for(int i=0;i<n;i++)
    m[i]++;
  for(auto it = m.begin();it!=m.end();it++)
    s+=it->second;
  bool k = m.find(2);
    if(k && s==3)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: cannot convert 'std::map<int, int>::iterator' {aka 'std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int> >, std::less<int>, std::allocator<std::pair<const int, int> > >::iterator'} to 'bool' in initialization
   15 |   bool k = m.find(2);
      |            ~~~~~~^~~
      |                  |
      |                  std::map<int, int>::iterator {aka std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int> >, std::less<int>, std::allocator<std::pair<const int, int> > >::iterator}
Language: C++

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

int main(){
 int A;
 int B;
 int C;
 cout << A,B,C ;
 
  string D;
  
 if (A == B == C){
   cout << D << "Yes";
 }
 else if{
    cout << D <<"No";
 }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:9: error: expected '(' before '{' token
   15 |  else if{
      |         ^
      |         (
Language: C++

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

int main(){
 int A;
 int B;
 int C;
 cout << A,B,C ;
 
  string D;
  
 if (A == B == C){
   cout << D << "Yes";
 }
 else if(){
    cout << D <<"No";
 }
}


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

# include <bits/stdc++.h>
# define pb push_back
# define ll long long
# define fi first
# define se second
# define speed ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
# define mkp make_pair
//# define time cerr << "\nTime elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n"

using namespace std;

int q , w , e , z ;


int main()
{
speed;

    int n ;
    n = 3 ;
    int a[n];
    for(int i = 0 ; i < 3 ; i ++ ){
        cin >> a[i] ;
    }
    sort(a,n);
    if( a[0] == a[1] ){
        cout << "Yes" << endl ;
    }
    else{
        cout << "No" << endl ;
    }

time;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:9: error: no matching function for call to 'sort(int [n], int&)'
   25 |     sort(a,n);
      |     ~~~~^~~~~
In file included from /usr/include/c++/14/algorithm:61,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algo.h:4762:5: note: candidate: 'template<class _RAIter> void std::sort(_RAIter, _RAIter)'
 4762 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4762:5: note:   template argument deduction/substitution failed:
a.cc:25:9: note:   deduced conflicting types for parameter '_RAIter' ('int*' and 'int')
   25 |     sort(a,n);
      |     ~~~~^~~~~
/usr/include/c++/14/bits/stl_algo.h:4793:5: note: candidate: 'template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)'
 4793 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4793:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:86:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator, class _Compare> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator, _Compare)'
  292 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note:   candidate expects 4 arguments, 2 provided
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator)'
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note:   candidate expects 3 arguments, 2 provided
Language: C++

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

int main(){
 int A;
 int B;
 int C;
 cout << A,B,C ;
 
 if (A == B == C){
   cout << "Yes";
 
 else if(){
   cout << "No";
 }
 }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:2: error: expected '}' before 'else'
   13 |  else if(){
      |  ^~~~
a.cc:10:18: note: to match this '{'
   10 |  if (A == B == C){
      |                  ^
a.cc:13:10: error: expected primary-expression before ')' token
   13 |  else if(){
      |          ^
a.cc: At global scope:
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
 int A;
 int B;
 int C;
 cout << A,B,C ;
 
 if (A == B == C){
   cout << "Yes";
 
 if else{
   cout << "No";
 }
 }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected '(' before 'else'
   12 |  if else{
      |     ^~~~
      |     (
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{int A;
 int B;
 int C;
 cout << A,B,C ;
 
 if (A == B == C){
   cout << "Yes";
 }
 if else{
   cout << "No";
 }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected '(' before 'else'
   12 |  if else{
      |     ^~~~
      |     (
Language: C++

 #include <stdio.h>

 int main(void){
 int a, b, c;

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

 int ispoor = 0;
 if (a == b && b != c) ispoor = 1;
 if (b == c && c != a) ispoor = 1;
 if (c == a && a != b) ispoor = 1;
   
 if (ispoor) {
   puts("Yes");
 } else {
 puts("No");
 }

 return 0;
20 }

Compiler output:
a.cc: In function 'int main()':
a.cc:20:3: error: expected ';' before '}' token
   20 | 20 }
      |   ^~
      |   ;
Language: C++

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

int main() {
	int a, b, c;
  	cin >> a >> b >> c;
  	if((a == b && b != c) || (a == c && b != c) || (b == c && a != c)
       cout << "Yes";
    else
       cout << "No";



}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:74: error: expected ';' before 'cout'
    7 |         if((a == b && b != c) || (a == c && b != c) || (b == c && a != c)
      |                                                                          ^
      |                                                                          ;
    8 |        cout << "Yes";
      |        ~~~~                                                               
a.cc:9:5: error: expected primary-expression before 'else'
    9 |     else
      |     ^~~~
a.cc:8:22: error: expected ')' before 'else'
    8 |        cout << "Yes";
      |                      ^
      |                      )
    9 |     else
      |     ~~~~              
a.cc:7:11: note: to match this '('
    7 |         if((a == b && b != c) || (a == c && b != c) || (b == c && a != c)
      |           ^
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      	//データ取り込み
		Scanner sc = new Scanner(System.in);
      	int A = sc.nextInt();
      	int B = sc.nextInt();
        int C = sc.nextInt();
       if(A==B && B==C){
       	System.out.println("No");
       }else{
         if(A!=B && B!= C && C!=A){
         System.out.println("No");
         }else{
         System.out.println("Yes");
         }
       }
		
    }

Compiler output:
Main.java:19: error: reached end of file while parsing
    }
     ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a,b,c;
int main()
{
	cin>>a>>b>>c;
	if((a==b&&b!=c)||(a==c%%b!=c)||(b==c&&a!=b)) cout<<"Yes";
	else cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:32: error: expected primary-expression before '%' token
    7 |         if((a==b&&b!=c)||(a==c%%b!=c)||(b==c&&a!=b)) cout<<"Yes";
      |                                ^
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      	//データ取り込み
		Scanner sc = new Scanner(System.in);
      	int A = sc.nextInt();
      	int B = sc.nextInt();
        int C = sc.nextInt();
       if(A=B&& B=C){
       	System.out.println("No");
       }else{
         System.out.println("Yes");
       }
		
    }
}

Compiler output:
Main.java:9: error: bad operand types for binary operator '&&'
       if(A=B&& B=C){
             ^
  first type:  int
  second type: int
Main.java:9: error: incompatible types: int cannot be converted to boolean
       if(A=B&& B=C){
           ^
2 errors
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int A, B, C;
  cin >> A >> B >> C;
  if (A != B）
      cout << "Yes";
  else
      if (A != C)
      	cout << "Yes";
      else
      	cout << "No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'B\U0000ff09' was not declared in this scope
    7 |   if (A != B）
      |            ^~~
a.cc:9:3: error: expected primary-expression before 'else'
    9 |   else
      |   ^~~~
a.cc:8:21: error: expected ')' before 'else'
    8 |       cout << "Yes";
      |                     ^
      |                     )
    9 |   else
      |   ~~~~               
a.cc:7:6: note: to match this '('
    7 |   if (A != B）
      |      ^
Language: C++

#include <bits/sdtc++.h>
#include <iostream>
using namespace std;
typedef long long ll;

int main(){
  int a,b,c;
  cin >> a >> b >> c;
  if(a == b){
    if(a == c) cout << "No" << endl;
    else cout << "Yes" << endl;
  }
  else if(a == c) cout << "Yes" << endl;
  else if(c == b) cout << "Yes" << endl;
  else cout << "No" << endl;
  
  return 0;
}

  
  

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

#include<bits/stdc++.h>
using namespacce std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  if((a==b && b!=c) || (a==c&& c!=b )|| (b==c && a!=b))
    cout<<"Yes";
  else cout<<"No";
  return 0;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacce'
    2 | using namespacce std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<"No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using namespacce std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  if((a==b && b!=c) || (a==c&& c!=b )|| (b==c && a!=b))
    cout<<"YES";
  else cout<<"NO";
  return 0;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacce'
    2 | using namespacce std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"YES";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<"NO";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
using namespacce std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  if((a==b && b!=c) || (a==c&& c!=b )|| (b==c && a!=b))
    cout<<"YES";
  else cout<<"NO";
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacce'
    2 | using namespacce std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b>>c;
      |   ^~~
      |   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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"YES";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<"NO";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
      int n,ne;
      cin>>n;
      int arr[n];
      ne=0;
      bool flag=true;
      for(int i=0;i<n;i++)
      {
    		cin>>arr[i];
        if(arr[i]%2==0)
        {
          if(arr[i]%3!=0 &&  arr[i]%5!=0)
          {
            flag=false;
          }
        }
      }
      if(bool)
      {
        cout<<"APPROVED";
      }
      else
      {
        cout<<"DENIED";
      }
      return 0;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:21:14: error: expected unqualified-id before ')' token
   21 |       if(bool)
      |              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define FOR(var, begin, end) for (int var = (begin); var <= (end); var++)
#define RFOR(var, begin, end) for (int var = (begin); var >= (end); var--)
#define REP(var, length) FOR(var, 0, length - 1)
#define RREP(var, length) RFOR(var, length - 1, 0)
#define EACH(value, var) for (auto value : var)
#define SORT(var) sort(var.begin(), var.end())
#define REVERSE(var) reverse(var.begin(), var.end())
#define RSORT(var) SORT(var); REVERSE(var)
#define OPTIMIZE_STDIO ios::sync_with_stdio(false);cin.tie(0);cout.precision(10);cout << fixed
#define endl '\n'

const ll MOD = 1e9 + 7;
struct mint {
    ll x;
    mint() : x(0) {}
    mint(ll x) : x((x % MOD + MOD) % MOD) {}
    mint& operator+=(const mint& r) { if ((x += r.x) >= MOD) { x -= MOD; } return *this; }
    mint& operator-=(const mint& r) { if ((x -= r.x) < 0) { x += MOD; } return *this; }
    mint& operator*=(const mint& r) { if ((x *= r.x) > MOD) { x %= MOD; } return *this; }
    mint& operator++() { if ((++x) >= MOD) { x -= MOD; } return *this; }
    mint operator++(int) { mint ret = x; if ((++x) >= MOD) { x-= MOD; } return ret; }
    mint& operator--() { if ((--x) < 0) { x += MOD; } return *this; }
    mint operator--(int) { mint ret = x; if ((--x) < 0) { x += MOD; } return ret; }
    mint operator+(const mint& r) { mint ret; return ret = x + r.x; }
    mint operator-(const mint& r) { mint ret; return ret = x - r.x; }
    mint operator*(const mint& r) { mint ret; return ret = x * r.x; }
    mint operator-() { return mint() - *this; }
    bool operator<(const mint& a) { return x < a.x; }
    bool operator>(const mint& a) { return x > a.x; }
    bool operator<=(const mint& a) { return x <= a.x; }
    bool operator>=(const mint& a) { return x >= a.x; }
    bool operator==(const mint& a) { return x == a.x; }
    bool operator!=(const mint& a) { return x != a.x; }
};
ostream& operator<<(ostream& os, const mint& r) { os << r.x; return os; }
ostream& operator>>(ostream& os, const mint& r) { os >> r.x; return os; }

void solve(istream& cin, ostream& cout) {
  int a, b, c;
  cin >> a >> b >> c;
  if ((a == b && a != c)
  ||(a == c && a != b)
  ||(b == c && a != b)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <iostream>
#include <map>
#include <algorithm>
#include <utility>
 
int main()
{
  std::map<char*,int> doc;
  int n;
  std::cin>>n;
  int max = 0;
  for(int i=0; i<n; ++i){
  	char* lit;
    std::cin>>lit;
    if(!doc.count(lit))
      doc.emplace(lit,1);
    else{
      doc[lit]++; 
      if(max < doc[lit])
        max = doc[lit];
    }
  }
   std::for_each(doc.begin(), doc.end(), [&](std::_map<char*,int>::value_type p){
   	if(p.second==max)
      std::cout<<p.first<<std::endl;
   }
)}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:46: error: 'std::_map' has not been declared
   23 |    std::for_each(doc.begin(), doc.end(), [&](std::_map<char*,int>::value_type p){
      |                                              ^~~
a.cc:23:55: error: expected ',' or '...' before '<' token
   23 |    std::for_each(doc.begin(), doc.end(), [&](std::_map<char*,int>::value_type p){
      |                                                       ^
a.cc: In lambda function:
a.cc:24:12: error: 'p' was not declared in this scope
   24 |         if(p.second==max)
      |            ^
a.cc: In function 'int main()':
a.cc:27:2: error: expected ';' before '}' token
   27 | )}
      |  ^
      |  ;
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:3:
/usr/include/c++/14/bits/stl_algo.h: In instantiation of '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = _Rb_tree_iterator<pair<char* const, int> >; _Funct = main()::<lambda(int)>]':
a.cc:23:17:   required from here
   23 |    std::for_each(doc.begin(), doc.end(), [&](std::_map<char*,int>::value_type p){
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   24 |         if(p.second==max)
      |         ~~~~~~~~~~~~~~~~~
   25 |       std::cout<<p.first<<std::endl;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   26 |    }
      |    ~             
   27 | )}
      | ~                
/usr/include/c++/14/bits/stl_algo.h:3786:12: error: no match for call to '(main()::<lambda(int)>) (std::pair<char* const, int>&)'
 3786 |         __f(*__first);
      |         ~~~^~~~~~~~~~
a.cc:23:42: note: candidate: 'main()::<lambda(int)>'
   23 |    std::for_each(doc.begin(), doc.end(), [&](std::_map<char*,int>::value_type p){
      |                                          ^
a.cc:23:42: note:   no known conversion for argument 1 from 'std::pair<char* const, int>' to 'int'
Language: C++

#include <iostream>
#include <unordered_map>
#include <algorithm>
#include <utility>
 
int main()
{
  std::map<char*,int> doc;
  int n;
  std::cin>>n;
  int max = 0;
  for(int i=0; i<n; ++i){
  	char* lit;
    std::cin>>lit;
    if(!doc.count(lit))
      doc.emplace(lit,1);
    else{
      doc[lit]++; 
      if(max < doc[lit])
        max = doc[lit];
    }
  }
   std::for_each(doc.begin(), doc.end(), [](std::unordered_map<char*,int>::value_type p){
   	if(p.second==max)
      std::cout<<p.first<<std::endl;
   }
)}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'map' is not a member of 'std'
    8 |   std::map<char*,int> doc;
      |        ^~~
a.cc:5:1: note: 'std::map' is defined in header '<map>'; this is probably fixable by adding '#include <map>'
    4 | #include <utility>
  +++ |+#include <map>
    5 | 
a.cc:8:12: error: expected primary-expression before 'char'
    8 |   std::map<char*,int> doc;
      |            ^~~~
a.cc:15:9: error: 'doc' was not declared in this scope
   15 |     if(!doc.count(lit))
      |         ^~~
a.cc:23:18: error: 'doc' was not declared in this scope
   23 |    std::for_each(doc.begin(), doc.end(), [](std::unordered_map<char*,int>::value_type p){
      |                  ^~~
a.cc: In lambda function:
a.cc:24:22: error: 'max' is not captured
   24 |         if(p.second==max)
      |                      ^~~
a.cc:23:43: note: the lambda has no capture-default
   23 |    std::for_each(doc.begin(), doc.end(), [](std::unordered_map<char*,int>::value_type p){
      |                                           ^
a.cc:11:7: note: 'int max' declared here
   11 |   int max = 0;
      |       ^~~
Language: C++

#include <iostream>
#include <map>
#include <algorithm>
#include <utility>
 
int main()
{
  std::map<char*,int> doc;
  int n;
  std::cin>>n;
  int max = 0;
  for(int i=0; i<n; ++i){
  	char* lit;
    std::cin>>lit;
    if(!doc.count(lit))
      doc.emplace(lit,1);
    else{
      doc[lit]++; 
      if(max < doc[lit])
        max = doc[lit];
    }
  }
   std::for_each(doc.begin(), doc.end(), [&](std::map<char*,int>::value_type p){
   	if(p.second==max)
      std::cout<<p.first<<std::endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:5: error: expected ')' before '}' token
   26 |    }
      |     ^
      |     )
   27 | }
      | ~    
a.cc:23:17: note: to match this '('
   23 |    std::for_each(doc.begin(), doc.end(), [&](std::map<char*,int>::value_type p){
      |                 ^
Language: C++

#include<std/bitsc++.h>

using namespace std;

int main(){
  int a, b, c;
  cin>>a>>b>>c;
  int count = 0;
  if (a == b)
    count++;
  if (b == c)
    count++;
  if (a == c)
    count++;
  
  if(count == 1)
    cout<<"Yes";
  else
    cout<<"No";
  
  return 0;
}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
        private static class FastScanner {
            private BufferedReader reader = null;
            private StringTokenizer tokenizer = null;

            public FastScanner(InputStream in) {
                reader = new BufferedReader(new InputStreamReader(in));
                tokenizer = null;
            }

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

            public String nextLine() {
                if (tokenizer == null || !tokenizer.hasMoreTokens()) {
                    try {
                        return reader.readLine();
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }

                return tokenizer.nextToken("\n");
            }

            public long nextLong() {
                return Long.parseLong(next());
            }

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

            public double nextDouble() {
                return Double.parseDouble(next());
            }

            public int[] nextIntArray(int n) {
                int[] a = new int[n];
                for (int i = 0; i < n; i++)
                    a[i] = nextInt();
                return a;
            }

            public long[] nextLongArray(int n) {
                long[] a = new long[n];
                for (int i = 0; i < n; i++)
                    a[i] = nextLong();
                return a;
            }
        }
    public static void main(String[] args) {
        Main2.FastScanner sc = new Main.FastScanner(System.in);

        int N = 0;
        N = sc.nextInt();
        boolean flag = true;
        int array[] = new int[N];
        for (int i = 0; i < N; i++) {
            array[i] = sc.nextInt();
        }
        for (int i = 0; i < N; i++) {
            if (array[i] % 2 == 0) {
                if (array[i] % 3 == 0 || array[i] % 5 == 0) {
                    flag = true;
                } else {
                    flag = false;
                }
            }
        }

        System.out.println(flag == true ? "APPROVED" : "DENIED");
    }
}



Compiler output:
Main.java:67: error: package Main2 does not exist
        Main2.FastScanner sc = new Main.FastScanner(System.in);
             ^
1 error