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

int main(){
	int n, 1;
	vector<string> v;
	string s;
	cin >> n >> 1;

	int i = 0;
	for(i = 0; i < n; i++){
		cin >> s;
		v.push_back(s);
	}

	sort(v.begin(), v.end());

	for(i = 0; i < n; i++){
		cout << v[i];
	}

	cout << endl;
}


Compiler output:
main.c: In function 'main':
main.c:2:16: error: expected identifier or '(' before numeric constant
    2 |         int n, 1;
      |                ^
main.c:3:9: error: 'vector' undeclared (first use in this function)
    3 |         vector<string> v;
      |         ^~~~~~
main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:16: error: 'string' undeclared (first use in this function)
    3 |         vector<string> v;
      |                ^~~~~~
main.c:3:24: error: 'v' undeclared (first use in this function)
    3 |         vector<string> v;
      |                        ^
main.c:4:15: error: expected ';' before 's'
    4 |         string s;
      |               ^~
      |               ;
main.c:5:9: error: 'cin' undeclared (first use in this function)
    5 |         cin >> n >> 1;
      |         ^~~
main.c:9:24: error: 's' undeclared (first use in this function)
    9 |                 cin >> s;
      |                        ^
main.c:13:9: error: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
   13 |         sort(v.begin(), v.end());
      |         ^~~~
main.c:16:17: error: 'cout' undeclared (first use in this function)
   16 |                 cout << v[i];
      |                 ^~~~
main.c:19:17: error: 'endl' undeclared (first use in this function)
   19 |         cout << endl;
      |                 ^~~~
Language: C++

int main(){
	int n, 1;
	vector<string> v;
	string s;
	cin >> n >> 1;

	int i = 0;
	for(i = 0; i < n; i++){
		cin >> s;
		v.push_back(s);
	}

	sort(v.begin(), v.end());

	for(i = 0; i < n; i++){
		cout << v[i];
	}

	cout << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:2:16: error: expected unqualified-id before numeric constant
    2 |         int n, 1;
      |                ^
a.cc:3:9: error: 'vector' was not declared in this scope
    3 |         vector<string> v;
      |         ^~~~~~
a.cc:3:16: error: 'string' was not declared in this scope
    3 |         vector<string> v;
      |                ^~~~~~
a.cc:3:24: error: 'v' was not declared in this scope
    3 |         vector<string> v;
      |                        ^
a.cc:4:15: error: expected ';' before 's'
    4 |         string s;
      |               ^~
      |               ;
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> n >> 1;
      |         ^~~
a.cc:9:24: error: 's' was not declared in this scope
    9 |                 cin >> s;
      |                        ^
a.cc:13:9: error: 'sort' was not declared in this scope; did you mean 'short'?
   13 |         sort(v.begin(), v.end());
      |         ^~~~
      |         short
a.cc:16:17: error: 'cout' was not declared in this scope
   16 |                 cout << v[i];
      |                 ^~~~
a.cc:19:9: error: 'cout' was not declared in this scope
   19 |         cout << endl;
      |         ^~~~
a.cc:19:17: error: 'endl' was not declared in this scope
   19 |         cout << endl;
      |                 ^~~~
Language: C++

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

int main(){
  int a,b,c;
  cin >> a >> b >> c;
  if (max({a,b,c}==7 && min({a,b,c}==5 && a+b+c==17))) cout << "YES" << endl;
  else cout << "NO" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ')' before '==' token
    7 |   if (max({a,b,c}==7 && min({a,b,c}==5 && a+b+c==17))) cout << "YES" << endl;
      |          ~       ^~
      |                  )
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b,c;
  cin >> a >> b >> c;
  string ans;
  vector<int> vec = {a,b,c};
  sort(vec.begin(),vec.end());
  if (vec[0]==5 && vec[1]==7 && vec[2]==5)
    ans = "YES";
  else
    ans = "NO";
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'vector' was not declared in this scope
    7 |   vector<int> vec = {a,b,c};
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | using namespace std;
a.cc:7:10: error: expected primary-expression before 'int'
    7 |   vector<int> vec = {a,b,c};
      |          ^~~
a.cc:8:8: error: 'vec' was not declared in this scope
    8 |   sort(vec.begin(),vec.end());
      |        ^~~
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |   sort(vec.begin(),vec.end());
      |   ^~~~
      |   short
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b,c;
  string ans;
  vector<int> vec = {a,b,c};
  sort(vec.begin(),vec.end());
  if(vec[0]==5 && vec[1]==7 && vec[2]==5)
    ans = "YES";
  else
    ans = "NO";
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'vector' was not declared in this scope
    6 |   vector<int> vec = {a,b,c};
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | using namespace std;
a.cc:6:10: error: expected primary-expression before 'int'
    6 |   vector<int> vec = {a,b,c};
      |          ^~~
a.cc:7:8: error: 'vec' was not declared in this scope
    7 |   sort(vec.begin(),vec.end());
      |        ^~~
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(vec.begin(),vec.end());
      |   ^~~~
      |   short
Language: C++

#include<bits/stdc++.h>
#include<iostream>
#include<vector>

int main(){
  vector<int> A(3);
  cin >> A[0] >> A[1] >> A[2];
  sort(A.begin(), A.end());
  if(A[0]==5 && A[1]==5 && A[2]==7){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'vector' was not declared in this scope
    6 |   vector<int> A(3);
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/vector:66,
                 from /usr/include/c++/14/functional:64,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:53,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_vector.h:428:11: note:   'std::vector'
  428 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
/usr/include/c++/14/vector:93:13: note:   'std::pmr::vector'
   93 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
a.cc:6:10: error: expected primary-expression before 'int'
    6 |   vector<int> A(3);
      |          ^~~
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> A[0] >> A[1] >> A[2];
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:10: error: 'A' was not declared in this scope
    7 |   cin >> A[0] >> A[1] >> A[2];
      |          ^
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    8 |   sort(A.begin(), A.end());
      |   ^~~~
      |   std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
Language: C++

#include<bits/stdc++.h>

int main(){
  vector<int> A(3);
  cin >> A[0] >> A[1] >> A[2];
  sort(A.begin(), A.end());
  if(A[0]==5 && A[1]==5 && A[2]==7){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'vector' was not declared in this scope
    4 |   vector<int> A(3);
      |   ^~~~~~
a.cc:4:3: note: suggested alternatives:
In file included from /usr/include/c++/14/vector:66,
                 from /usr/include/c++/14/functional:64,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:53,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_vector.h:428:11: note:   'std::vector'
  428 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
/usr/include/c++/14/vector:93:13: note:   'std::pmr::vector'
   93 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
a.cc:4:10: error: expected primary-expression before 'int'
    4 |   vector<int> A(3);
      |          ^~~
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> A[0] >> A[1] >> A[2];
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:10: error: 'A' was not declared in this scope
    5 |   cin >> A[0] >> A[1] >> A[2];
      |          ^
a.cc:6:3: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    6 |   sort(A.begin(), A.end());
      |   ^~~~
      |   std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
Language: C++

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

int main() {
  vector<int> vec(3);
  cin >> vec[0] >> vec[1] >> vec[2];
  
  sort(vec.bigin(), vec.end());
  
  if(vec[0] == 5 && vec[1] == 5 && vec[2] == 7) {
    cout << "YES" << endl;
  }
  else {
    cout << "NO" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: 'class std::vector<int>' has no member named 'bigin'; did you mean 'begin'?
    8 |   sort(vec.bigin(), vec.end());
      |            ^~~~~
      |            begin
Language: C++

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

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    bool result;
    if(a==7 && b==5 && c==5 || b==7 && a==5 && c==5 || c==7 && a==5 && c=-5){
        cout << "YES" << endl;
    }else {
        cout << "NO" << endl;
    }
}

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

#include <stdio.h>
#include <algorithm>
#include <math.h>
using namespace std;
int main()
{
int a[3];
scanf("%d %d %d",&a[0],&a[1],&a[2]);
int x=0;
int y=0;
for(i=0;i<3;i++)
{
if(a[i]==5){x++;}
if(a[i]==7){y++;}
}
if(x==2&&y==1){printf("YES\n");}
else{printf("NO\n");}
}

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

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
 
#define REP(i,n) for(i=0;i<n;i++)
 
int iin() {
    int i;
    scanf("%d", &i);
    return i;
}
 
long long llin() {
    long long i;
    scanf("%lld", &i);
    return i; 
}
 
double din() {
    double i;
    scanf("%lf", &i);
    return i;
}
 
char cin() {
    char c;
    scanf("%c", &c);
    return c;
}
 
void stin(char *s) {
    scanf("%s", s);
}
 
void iout(int i) {
    printf("%d\n", i);
}
 
void llout(long long i) {
    printf("%lld\n", i);
}
 
void dout(double i) {
    printf("%lf\n", i);
}
 
void cout(char c) {
    printf("%c\n", c);
}
 
void stout(char *s) {
    printf("%s\n", s);
}
 
int main() {
  	int f = 0, int n = 0;
  	int m, i;
  	REP(i, 3) {
    	m = iin();
  		if (m == 5) f++;
  		if (m == 7) n++;
    }
  	(f == 2 && n == 1) ? stout("YES") : stout("NO");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:58:20: error: expected identifier or '(' before 'int'
   58 |         int f = 0, int n = 0;
      |                    ^~~
main.c:63:29: error: 'n' undeclared (first use in this function)
   63 |                 if (m == 7) n++;
      |                             ^
main.c:63:29: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a,b,c;
  cin>>a>>b>>c;
  if({a,b,c}=={5,5,7}||{a,b,c}=={5,7,5}||{a,b,c}=={7,5,5})
    cout<<"YES";
  else 
    cout<<"NO";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: expected primary-expression before '{' token
    7 |   if({a,b,c}=={5,5,7}||{a,b,c}=={5,7,5}||{a,b,c}=={7,5,5})
      |      ^
a.cc:7:6: error: expected ')' before '{' token
    7 |   if({a,b,c}=={5,5,7}||{a,b,c}=={5,7,5}||{a,b,c}=={7,5,5})
      |     ~^
      |      )
Language: C++

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

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int a, b, c;
  cin >> a >> b >> c;
  if(a * b * c * == 5 * 7 * 5)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: expected primary-expression before '==' token
   11 |   if(a * b * c * == 5 * 7 * 5)
      |                  ^~
Language: C++

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

int main(){
  int a,b,c;
  string ans;
  cin >> a >> b >> c;
  vector<int> vec{a,b,c};
  sort(vec.begin(),vec.end());
  if(vec.(0)==5 && vec.(1)==5 && vec.(2) ==7){
    ans ="YES";
  }
  else{
    ans="NO";
  }
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: expected unqualified-id before '(' token
   10 |   if(vec.(0)==5 && vec.(1)==5 && vec.(2) ==7){
      |          ^
a.cc:10:24: error: expected unqualified-id before '(' token
   10 |   if(vec.(0)==5 && vec.(1)==5 && vec.(2) ==7){
      |                        ^
a.cc:10:38: error: expected unqualified-id before '(' token
   10 |   if(vec.(0)==5 && vec.(1)==5 && vec.(2) ==7){
      |                                      ^
Language: C++

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

int main() {
  int a, b, c;
  int prod;
  
  cin >> a >> b >> c;
  prod = a * b * c;
  if (prod == (5*7*5)) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl
  }
  return 0;
}


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

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

int main() {
  int a, b, c;
  int prod;
  
  cin >> a >> b >> c;
  prd = a * b * c;
  if (prd == (5*7*5)) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'prd' was not declared in this scope; did you mean 'prod'?
    9 |   prd = a * b * c;
      |   ^~~
      |   prod
a.cc:13:25: error: expected ';' before '}' token
   13 |     cout << "NO" << endl
      |                         ^
      |                         ;
   14 |   }
      |   ~
Language: Java

package training1;

import java.util.Scanner;

public class Iroha {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] sArray = s.split(" ");

		int five  = 0;
		int seven = 0;

		for(int i=0; i<3; i++) {
			if(sArray[i].equals("5")) {
				five++;
			}else if(sArray[i].equals("7")){
				seven++;
			}
		}

		//結果表示
		if(five == 2 && seven == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}

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

#include<bits/stdc++.h>
using namespace std;
#define str string
int main(){
    int a,b,c;
    cin>>a>>b>>c;
    if(a==5||a==7){
        else if(b==5||==7){
            else if(c==5||c==7){
                else if(a+b+c==17){
                    cout<<"YES"<<endl;
                }
            }
        }
    }
    else cout<<"NO"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected '}' before 'else'
    8 |         else if(b==5||==7){
      |         ^~~~
a.cc:7:19: note: to match this '{'
    7 |     if(a==5||a==7){
      |                   ^
a.cc:8:23: error: expected primary-expression before '==' token
    8 |         else if(b==5||==7){
      |                       ^~
a.cc:9:13: error: expected '}' before 'else'
    9 |             else if(c==5||c==7){
      |             ^~~~
a.cc:8:27: note: to match this '{'
    8 |         else if(b==5||==7){
      |                           ^
a.cc:10:17: error: expected '}' before 'else'
   10 |                 else if(a+b+c==17){
      |                 ^~~~
a.cc:9:32: note: to match this '{'
    9 |             else if(c==5||c==7){
      |                                ^
a.cc: At global scope:
a.cc:14:9: error: expected declaration before '}' token
   14 |         }
      |         ^
a.cc:15:5: error: expected declaration before '}' token
   15 |     }
      |     ^
a.cc:16:5: error: expected unqualified-id before 'else'
   16 |     else cout<<"NO"<<endl;
      |     ^~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define str string
int main(){
    int a,b,c;
    cin>>a>>b>>c;
    if(a==5||a==7){
        if(b==5||==7){
            if(c==5||c==7){
                if(a+b+c==17){
                    cout<<"YES"<<endl;
                }
            }
        }
    }
    else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected primary-expression before '==' token
    8 |         if(b==5||==7){
      |                  ^~
Language: C++

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

int main(){
    vector<int> haiku(3);
    int p=0, q=0;
    
    for (int i = 0; i < 3; i++){
        cin >> haiku.at(i);
    }
    for (int i = 0; i < 3; i++){
        if (haiku.at(i) == 5){
            p++;
        }
        else if (haiku.at(i) == 7){
            q++;
        }
    }

    if (p==2 || q==1){
        cout << "YES" <<endl;
    }
    else if {
        cout << "NO" << endl;
    }

}

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

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

int main() {
    vector<int> vec (3);
    sort(vec.begin(), vec.end());
  
   if(vec.at(0)==5&&vec.at(1)==7&&vec.at(2)==7){
      cout << Yes << endl;
   }
   else{
    cout << No<< endl; 
   }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: 'Yes' was not declared in this scope
    9 |       cout << Yes << endl;
      |               ^~~
a.cc:12:13: error: 'No' was not declared in this scope
   12 |     cout << No<< endl;
      |             ^~
Language: C++

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

int main(){
	int A,B,C;
	cin >> A>>B>>C;
	
	if(A*B*C==175){
		cout << "YES" << endl;
	}
	else{
		cout < "NO" << endl;
	}
	
	}

	
	

Compiler output:
a.cc: In function 'int main()':
a.cc:12:29: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |                 cout < "NO" << endl;
      |                        ~~~~~^~~~~~~
Language: C++

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

int main(){
	int A,B,C;
	cin >> A>>B>>C;
	
	if(A*B*C==175){
		cout << "YES" << endl;
	}
	else{
		cout < "NO" <<endl;
	}
	
	}

	
	

Compiler output:
a.cc: In function 'int main()':
a.cc:12:29: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |                 cout < "NO" <<endl;
      |                        ~~~~~^~~~~~
Language: C

#include <iostream>
#include <vector>
#include <algorithm>
#include <map>
#include <string>
#include <queue>
#include <stack>
#include <math.h>
#include <set>
#define ALL(obj) (obj).begin(),(obj).end()
#define RALL(obj) (obj).rbegin(),(obj).rend()
#define P pair<int,int>

#define MOD 1000000007
#define INF 2147483647
#define NINF (-2147483647-1)
#define LLINF 9223372036854775807
using ll = long long;
using namespace std;


int main() {
    int a[3];
    cin >> a[0] >> a[1] >> a[2];
    int d, e;
    d = e = 0;
    for (int i = 0; i < 3; i++)
    {
        if (a[i] == 5) {
            d++;
        }
        else if (a[i] == 7) {
            e++;
        }
    }
    if (d == 2 && e == 1) {
        cout << "YES" << endl;
    }
    else {
        cout << "NO" << endl;
    }
    getchar(); getchar();
    return 0;
}

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

#include<iostream>
#include<string>
#include<vector>
#include<cstdint>
using namespace std;
int main()
{
  // 整数の入力
  uint64_t N, L;
  cin >> N >> L;
  vector<string> s;
  s.resize(L);
  for (uint64_t i = 0; i < L; ++i) {
    cin >> s[i];
  }
  sort(s.begin(), s.end());
  for (uint64_t i = 0; i < L; ++i) {
    cout << s[i];
  }
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   16 |   sort(s.begin(), s.end());
      |   ^~~~
      |   short
Language: C++

#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
  // 整数の入力
  uint64_t N, L;
  cin >> N >> L;
  vector<string> s(L);
  for (uint64_t i = 0; i < L; ++i) {
    cin >> s[i];
  }
  sort(s.begin(), s.end());
  for (uint64_t i = 0; i < L; ++i) {
    cout << s[i];
  }
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'uint64_t' was not declared in this scope
    8 |   uint64_t N, L;
      |   ^~~~~~~~
a.cc:4:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    3 | #include<vector>
  +++ |+#include <cstdint>
    4 | using namespace std;
a.cc:9:10: error: 'N' was not declared in this scope
    9 |   cin >> N >> L;
      |          ^
a.cc:9:15: error: 'L' was not declared in this scope
    9 |   cin >> N >> L;
      |               ^
a.cc:11:16: error: expected ';' before 'i'
   11 |   for (uint64_t i = 0; i < L; ++i) {
      |                ^~
      |                ;
a.cc:11:24: error: 'i' was not declared in this scope
   11 |   for (uint64_t i = 0; i < L; ++i) {
      |                        ^
a.cc:14:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   14 |   sort(s.begin(), s.end());
      |   ^~~~
      |   short
a.cc:15:16: error: expected ';' before 'i'
   15 |   for (uint64_t i = 0; i < L; ++i) {
      |                ^~
      |                ;
a.cc:15:24: error: 'i' was not declared in this scope
   15 |   for (uint64_t i = 0; i < L; ++i) {
      |                        ^
Language: Java

import java.util.Scanner;
 
class Main{
  public static void main(String args [])
  {
    Scanner in = new Scanner (System.in);
    int a = in.nextInt();
    int b = in.nextInt();
    int c = in.nextInt();
   	int array[] = new int[3];
    array[0]=a;
    array[1]=b;
    array[2]=c;
    int five =0,seven=0;
    for(int i =0; i<3;i++)
    {
      if(array[i]==5)five++;
      else if(array[i]==7) seven++;
    }
    if(five==2 && seven=1) System.out.println("YES");
    else System.out.println("NO");
  }
}
import java.util.Scanner;

class Main{
  public static void main(String args [])
  {
    Scanner in = new Scanner (System.in);
    int a = in.nextInt();
    int b = in.nextInt();
    int c = in.nextInt();
   	int array[] = new int[3];
    array[0]=a;
    array[1]=b;
    array[2]=c;
    int five =0,seven=0;
    for(int i =0; i<3;i++)
    {
      if(array[i]==5)five++;
      else if(array[i]==7) seven++;
    }
    if(five==2 && seven==1) System.out.println("YES");
    else System.out.println("NO");
  }
}


Compiler output:
Main.java:24: error: class, interface, enum, or record expected
import java.util.Scanner;
^
1 error
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String args [])
  {
    Scanner in = new Scanner (System.in);
    int a = in.nextInt();
    int b = in.nextInt();
    int c = in.nextInt();
   	int array[] = new int[3];
    array[0]=a;
    array[1]=b;
    array[2]=c;
    int five =0,seven=0;
    for(int i =0; i<3;i++)
    {
      if(array[i]==5)five++;
      else if(array[i]==7) seven++;
    }
    if(five==2 && seven=1) System.out.println("YES");
    else System.out.println("NO");
  }
}

Compiler output:
Main.java:20: error: bad operand types for binary operator '&&'
    if(five==2 && seven=1) System.out.println("YES");
               ^
  first type:  boolean
  second type: int
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int s= 0,a,b,c;
	cin>>a>>b>>c;
	if(a ==5 && b==5 || b == 5 && c == 5 || a == 5 && c = 5){
		s ++;
	}
	if(a == 7||b==7||c==7){
		s++;
	}
	if(s == 2)cout<<"YES"<<endl;
	else cout<<"NO"<<endl;
}


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

import java.util.Arrays;
import java.util.Scanner;

public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int SideA = keyboard.nextInt();
		int SideB = keyboard.nextInt();
		int SideC = keyboard.nextInt();
		
		int[] arr = new int[] {SideA, SideB, SideC};
		Arrays.sort(arr);
		
		if (arr[0] == 5  && arr[1] == 5 && arr[2] == 7) {
				System.out.println("YES");					
			}else {
			System.out.println("NO");
		}	
		keyboard.close();	
	}

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

import java.util.Arrays;
import java.util.Scanner;

public class Amondai {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int SideA = keyboard.nextInt();
		int SideB = keyboard.nextInt();
		int SideC = keyboard.nextInt();
		
		int[] arr = new int[] {SideA, SideB, SideC};
		Arrays.sort(arr);
		
		if (arr[0] == 5  && arr[1] == 5 && arr[2] == 7) {
				System.out.println("YES");					
			}else {
			System.out.println("NO");
		}	
		keyboard.close();	
	}
}

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

import java.util.Arrays;
import java.util.Scanner;

public class Amondai {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int SideA = keyboard.nextInt();
		int SideB = keyboard.nextInt();
		int SideC = keyboard.nextInt();
		
		int[] arr = new int[] {SideA, SideB, SideC};
		Arrays.sort(arr);
		
		if (arr[0] == 5  && arr[1] == 5 && arr[2] == 7) {
				System.out.println("YES");					
			}else {
			System.out.println("NO");
		}	
		keyboard.close();	
	}
}

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

package rensyuu;
import java.util.Arrays;
import java.util.Scanner;

public class Amondai {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int SideA = keyboard.nextInt();
		int SideB = keyboard.nextInt();
		int SideC = keyboard.nextInt();
		
		int[] arr = new int[] {SideA, SideB, SideC};
		Arrays.sort(arr);
		
		if (arr[0] == 5  && arr[1] == 5 && arr[2] == 7) {
				System.out.println("YES");					
			}else {
			System.out.println("NO");
		}	
		keyboard.close();	
	}
}

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

#include <bits/stdc++.h>
 
using namespace std;
 
int main()
{
  int N, L;
  cin >> N >> L;
  string s[N];
 
  for (int i = 0; i < N; i++) cin >> s[i];
  sort(s, s + N);
  for (int i = 0; i < N; i++) cout << s[i];
  cout << << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:11: error: expected primary-expression before '<<' token
   14 |   cout << << endl;
      |           ^~
Language: C++

#include <iostream>
#include <vector>

using namespace std;

int main()
{
  int N, L;
  cin >> N >> L;
  vector<string> str(N);

  for (int i = 0; i < N; i++) cin >> str.at(i);
  sort(str.begin(), str.end() );
  for (int i = 0; i < N; i++) cout << str.at(i);
  cout << "" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   13 |   sort(str.begin(), str.end() );
      |   ^~~~
      |   short
Language: C++

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if((a==5)or(a==7))
    and ((b==5)or(b==7))
    and ((c==5)or(c==7))
    and (a+b+c==17)cout<<"YES";
  else cout<<"NO";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected identifier before '(' token
    8 |     and ((b==5)or(b==7))
      |         ^
Language: C++

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a==5)or(a==7)
    if(b==5)or(b==7)
      if(c==5)or(c==7)
        if(a+b+c==17)cout<<"YES"
        else cout<<"NO"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before 'or' token
    7 |   if(a==5)or(a==7)
      |           ^~
Language: C++

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

int main(){
    int A, B, C;
    cin >> A >> B >> C;
    if( A == 5){
        if(B == 5 && C == 7 || B == 7 && C == 5){
            cout << "YES" << endl;
        }
    else if(A == 7){
        if(B == 5 && C == 5){
            cout << "YES" << endl;
        }
    else{
        cout << "NO" << endl;
    }
    }
}
  
 

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

#include <bits/stdc++.h>

using namespace std;

int main() {
  int a[];
  cin >> a[0] >> a[1] >> a[2];
  int count_5 = 0;
  int count_7 = 0;
  for( int i = 0; i < 3; i++ ) {
    if( a[i] == 5 )
      count_5++;
    else if( a[i] == 7 )
      count_7++;
  }
  if( count_5 == 2 && count_7 == 1 )
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: storage size of 'a' isn't known
    6 |   int a[];
      |       ^
Language: C++

cnt=[0 for i in range(11)]
for i in input().split():
    cnt[int(i)]+=1
if cnt[5]==2 and cnt[7]==1:
    print('YES')
else:
    print('NO')


Compiler output:
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('YES')
      |           ^~~~~
a.cc:7:11: warning: multi-character character constant [-Wmultichar]
    7 |     print('NO')
      |           ^~~~
a.cc:1:1: error: 'cnt' does not name a type; did you mean 'int'?
    1 | cnt=[0 for i in range(11)]
      | ^~~
      | int
Language: Java

import java.util.Scanner;

public class AtcoderABC42A {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int a = 0;
        int b = 0;
        for (int i = 0; i < 3; i++) {
            int value = input.nextInt();
            if (value == 5)
                a++;
            if (value == 7)
                b++;
        }

        if (a == 2 && b == 7)
            System.out.println("YES");
        else
            System.out.println("NO");
    }
}


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

#include <bits/stdc++.h>
using namespace std;
int main (){
  vector<int> a;
  for(int i=0;i<3;i++){
    cin>>a.at(i);
  }
  sort(a.begin(),a.end())
    if(a.at(0)=5&&a.at(1)==5&&a.at(2)==7){
      cout<<"YES"<<endl;
    }
  else{
    cout<<"NO"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ';' before 'if'
    8 |   sort(a.begin(),a.end())
      |                          ^
      |                          ;
    9 |     if(a.at(0)=5&&a.at(1)==5&&a.at(2)==7){
      |     ~~                    
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else{
      |   ^~~~
Language: C

#inlcude <stdio.h>

int main()
{
  int a,b,c;
  
  scanf("%d %d %d", &a, &b, &c);
  if(a+b+c == 17){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
  return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:7:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |   scanf("%d %d %d", &a, &b, &c);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inlcude <stdio.h>
main.c:7:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |   scanf("%d %d %d", &a, &b, &c);
      |   ^~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |     printf("YES\n");
      |     ^~~~~~
main.c:9:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |     printf("NO\n");
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

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

int main() {
  int A, B, C;
  cin >> A >> B >> C;
  
  vector<int> vec(3);
  vec.at(0) = A;
  vec.at(1) = B;
  vec.at(2) = C;
  sort(vec.begin(),vec.end());
  
  if( ( vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7 )
    cout << "YES" << endl;
  else 
    cout << "NO" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:61: error: expected ';' before 'cout'
   14 |   if( ( vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7 )
      |                                                             ^
      |                                                             ;
   15 |     cout << "YES" << endl;
      |     ~~~~                                                     
a.cc:16:3: error: expected primary-expression before 'else'
   16 |   else
      |   ^~~~
a.cc:15:27: error: expected ')' before 'else'
   15 |     cout << "YES" << endl;
      |                           ^
      |                           )
   16 |   else
      |   ~~~~                     
a.cc:14:5: note: to match this '('
   14 |   if( ( vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7 )
      |     ^
Language: C++

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

int main() {
  int A, B, C;
  cin >> A >> B >> C;
  
  vector<int> vec(3);
  vec.at(0) = A;
  vec.at(1) = B;
  vec.at(2) = C;
  sort(vec.begin(),vec.end());
  
  if( ( vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7 ) {
    cout << "YES" << endl;
  else 
    cout << "NO" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:61: error: expected ')' before '{' token
   14 |   if( ( vec.at(0) == 5 && vec.at(1) == 5 && vec.at(2) == 7 ) {
      |     ~                                                       ^~
      |                                                             )
a.cc:19:2: error: expected statement at end of input
   19 | }
      |  ^
a.cc:19:2: error: expected '}' at end of input
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int A, B, C;
  cin >> A >> B >> C;
  
  int count5 = 0, count7 = 0;
  if( A = 5 ) {
    count5++;
  }
  if( B = 5 ) {
    count5++;
  }
  if( C = 5 ) {
    count5++;
  }
  if( A = 7 ) {
    count7++;
  }
  if( B = 7 ) {
    count5++;
  }
  if( C = 7 ) {
    count5++;
  }
  
  if( count5 == 2 && count == 1)
    cout << "YES" << endl;
  else 
    cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:28: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator=='
   28 |   if( count5 == 2 && count == 1)
      |                      ~~~~~~^~~~
Language: C++

#include <iostream>
#include <vector>

using namespace std;

// define
#define ALL(x) x.begin(), x.end()

// functions
int ceil(int a, int b) {return (a + b - 1) / b;}
int round(int a, int b) {return (a + b / 2) / b;}
int gcd(int a, int b) {return b ? gcd(b, a % b) : a;}
int lcm(int a, int b) {return a * b / gcd(a, b);}

// =============== main =============== //
int main()
{
  vector<int> v(3); cin >> v[0] >> v[1] >> v[2];
  sort(ALL(v));
  if (v[0]==5 && v[1]==5 && v[2]==7) cout << "YES" << endl;
  else cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   19 |   sort(ALL(v));
      |   ^~~~
      |   short
Language: C++

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if((a==5 && b==5 && c==7) || (a==5 && b==7 && c==5) || (a==7 && b==5 && c=5))cout<<"YES"<<endl;
  else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:72: error: lvalue required as left operand of assignment
    7 |   if((a==5 && b==5 && c==7) || (a==5 && b==7 && c==5) || (a==7 && b==5 && c=5))cout<<"YES"<<endl;
      |                                                           ~~~~~~~~~~~~~^~~~
Language: C++

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

int main() {
  int A,B,C;
  cin A >> B >> C >>;
  
  if(175 == A*B*C){
    if(17 == A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A >> B >> C >>;
      |      ^~
      |      ;
Language: C++

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

int main() {
  int A,B,C;
  cin A >> B >> C >>;
  
  if(175 == A*B*C){
    if(17 == A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A >> B >> C >>;
      |      ^~
      |      ;
Language: C++

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

int main() {
  int A,B,C;
  cin A>> B>> C>>;
  
  if(175 == A*B*C){
    if(17 == A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A>> B>> C>>;
      |      ^~
      |      ;
Language: C++

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

int main() {
  int A,B,C;
  cin A>> B>> C>>;
  
  if(175 = A*B*C){
    if(17 = A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A>> B>> C>>;
      |      ^~
      |      ;
a.cc:8:6: error: lvalue required as left operand of assignment
    8 |   if(175 = A*B*C){
      |      ^~~
a.cc:9:8: error: lvalue required as left operand of assignment
    9 |     if(17 = A+B+C){
      |        ^~
Language: C++

#include <bits/stdc++.h>

int main() {
  int A,B,C;
  cin A>> B>> C>>;
  
  if(175 == A*B*C){
    if(17 == A+B+C){
     cout << "YES";
   }
  }
  
  else{
  cout <<"NO";  
 }
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin A>> B>> 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:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |      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:14:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |   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>

int main() {
  int A,B,C;
  cin A>> B>> C>>;
  
  if(175 == A*B*C){
    if(17 == A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}


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

#include <bits/stdc++.h>

int main() {
  int A,B,C;
  cin A>> B>> C>>;
  
  if(175 = A*B*C){
    if(17 = A+B+C){
     cout << "YES" << endl;
   }
  }
  
  else{
  cout <<"NO" << endl;  
 }
  
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin A>> B>> 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:7:6: error: lvalue required as left operand of assignment
    7 |   if(175 = A*B*C){
      |      ^~~
a.cc:8:8: error: lvalue required as left operand of assignment
    8 |     if(17 = A+B+C){
      |        ^~
a.cc:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |      cout << "YES" << endl;
      |      ^~~~
      |      std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |      cout << "YES" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |   cout <<"NO" << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |   cout <<"NO" << endl;
      |                  ^~~~
      |                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.util.Scanner;
        public class Main{
      		public static void main (String args[]){

                    int n=0;
             //     System.out.println("Aを入力してください");
                		Scanner scan = new Scanner(System.in);
     					int A = scan.nextInt();
                if(A == 5 && A==7){
                     //   System.out.println("Bを入力してください");
                		Scanner scan2 = new Scanner(System.in);
     				int B  = scan2.nextInt();
                	if(B == 5 && B==7){
                      	if(A + B ==12){
                          A=0; B=0;
                          System.out.println("NO");
                       //   break;
                        }
                    //        System.out.println("Cを入力してください");
                      Scanner scan3 = new Scanner(System.in);
     					int C = scan3.nextInt();
                      	if(A + B + C == 17){
                          	System.out.println("Yes");
                        }
                      	else{
                            System.out.println("No");
                          //break;
                        }
                    }
                 
                }
              else{
                System.out.println("NO");
              
 }
 }


Compiler output:
Main.java:36: error: reached end of file while parsing
 }
  ^
1 error