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

#include <iostream>
#include <cmath>
#include <string>
#include <numeric>
#include <algorithm>
#include <iomanip>
#include <queue>
#include <vector>
using namespace std;
#define INF 1000000007
#define ll long long
#define rep(i_, __start, __end) for(ll i_=(ll)__start; i_<(ll)__end; i_++)
#define print(_a) cout << _a << endl;
#define printarray(a, len) rep(ii,0,len) cout << a[ii] << " ";
#define printarray2(aa, len) rep(ij,0,len) printarray(aa[ij], aa[ij].size()); print("");


int main(){
    ll x;
    if(x == 3 || x == 5 || x == 7) print("YES");
    else print("NO");
   
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:5: error: 'else' without a previous 'if'
   21 |     else print("NO");
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#include <algorithm>
#include <string>
using namespace std;
 
int main() {
    ios::sync_with_stdio(false);
    cin.tie(NULL);
    int X;
    cin >> a;
    if (X == 7 || X == 5 || X == 3) {
        cout << "YES" << endl;
    } else {
        cout << "NO" << endl;
    }
    return 0;
}

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


#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'q' was not declared in this scope
    6 |     q a,b,c;
      |     ^
a.cc:7:10: error: 'a' was not declared in this scope
    7 |     cin>>a;
      |          ^
Language: C++

#include <iostream>
 
using namespace std;
 
int main()
{
  int x;
  cin>>x;
  if(x>=1&&x<=9)
  {
      if(x==3||x==7||x==5)
      cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated
 
"<<endl;
      
      else 
      cout<<"No\n"<<"See you next year."<<endl;
      
      
      
      
      
      
      
  }
 
    return 0;
}

Compiler output:
a.cc:12:22: warning: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated
      |                      ^
a.cc:12:22: error: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:14:1: warning: missing terminating " character
   14 | "<<endl;
      | ^
a.cc:14:1: error: missing terminating " character
   14 | "<<endl;
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:16:7: error: expected primary-expression before 'else'
   16 |       else
      |       ^~~~
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int x;
  cin>>x;
  if(x>=1&&x<=9)
  {
      if(x==3||x==7||x==5)
      cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.

"<<endl;
      
      else 
      cout<<"No\n"<<"See you next year."<<endl;
      
      
      
      
      
      
      
  }

    return 0;
}

Compiler output:
a.cc:12:22: warning: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.
      |                      ^
a.cc:12:22: error: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:14:1: warning: missing terminating " character
   14 | "<<endl;
      | ^
a.cc:14:1: error: missing terminating " character
   14 | "<<endl;
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:16:7: error: expected primary-expression before 'else'
   16 |       else
      |       ^~~~
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int x;
  cin>>x;
  if(x<=9)
  {
      if(x==3||x==7||x==5)
      cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.

"<<endl;
      
      else 
      cout<<"No\n"<<"See you next year."<<endl;
      
      
      
      
      
      
      
  }

    return 0;
}

Compiler output:
a.cc:12:22: warning: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.
      |                      ^
a.cc:12:22: error: missing terminating " character
   12 |       cout<<"YES\n"<<"The growth of a five-year-old child will be celebrated.
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:14:1: warning: missing terminating " character
   14 | "<<endl;
      | ^
a.cc:14:1: error: missing terminating " character
   14 | "<<endl;
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:16:7: error: expected primary-expression before 'else'
   16 |       else
      |       ^~~~
Language: C++

 #include <bits/stdc++.h>
     using namespace std;
 
     ];
 
     int main()
     {
         mp[] = mp[] = mp[] = ;
         int x; cin >> x;
         puts(mp[x] ? "YES" : "NO");
       return 0;
     }

Compiler output:
a.cc:4:6: error: expected unqualified-id before ']' token
    4 |      ];
      |      ^
a.cc: In function 'int main()':
a.cc:8:10: error: 'mp' was not declared in this scope
    8 |          mp[] = mp[] = mp[] = ;
      |          ^~
a.cc:8:13: error: expected primary-expression before ']' token
    8 |          mp[] = mp[] = mp[] = ;
      |             ^
a.cc:8:20: error: expected primary-expression before ']' token
    8 |          mp[] = mp[] = mp[] = ;
      |                    ^
a.cc:8:27: error: expected primary-expression before ']' token
    8 |          mp[] = mp[] = mp[] = ;
      |                           ^
a.cc:8:31: error: expected primary-expression before ';' token
    8 |          mp[] = mp[] = mp[] = ;
      |                               ^
Language: C

#include<stdio.h>
int main(){
  int x;
  scanf("%d",&x);
  
  if(x==3){
    printf("YES");
  }
  if else(x==5){
    printf("YES");
  }
  if else(x==7){
	printf("YES");
  }
  else{
    printf("NO");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:6: error: expected '(' before 'else'
    9 |   if else(x==5){
      |      ^~~~
      |      (
Language: C++

n=int(input())
if n==3 or n==5 or n==7:
  print('YES')
else:
  print('NO')

Compiler output:
a.cc:3:9: warning: multi-character character constant [-Wmultichar]
    3 |   print('YES')
      |         ^~~~~
a.cc:5:9: warning: multi-character character constant [-Wmultichar]
    5 |   print('NO')
      |         ^~~~
a.cc:1:1: error: 'n' does not name a type
    1 | n=int(input())
      | ^
Language: C++

#include <iostream>

int main() {
  int n;
  std::cin >> n;
  
  if(n==3||n==5||n==7){
    cout << 'Yes'
  }else{
    cout << 'No'
  }
  
  return 0;
}

Compiler output:
a.cc:8:13: warning: multi-character character constant [-Wmultichar]
    8 |     cout << 'Yes'
      |             ^~~~~
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     cout << 'No'
      |             ^~~~
a.cc: In function 'int main()':
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << 'Yes'
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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;
#define ll long long
#define REP(i,n) for(long long i=0;i<n;++i)
#define REPP(i,m,n) for(long long i=m;i<n;++i)
#define rep(i,n) for(long long i = n-1;i>=0;--i)
#define repp(i,n,m) for(long long i = n-1; i >= m; --i)
#define ALL(N) (N.begin(),N.end())
#define de cout << "line : " << __LINE__ << " debug" << endl;
#define pb push_back
#define pq priority_queue
#define Dcout(N) cout << setprecision(20) << N << endl
constexpr ll INF = 2147483647;
constexpr long long INFF = 9223372036854775807;

signed main() {
    cin.tie(0);
	ios::sync_with_stdio(false);
    cin >> X;
    if(X == 7 || X == 5 || X == 3){
        cout << "YES" << endl;
    }
    else cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:12: error: 'X' was not declared in this scope
   19 |     cin >> X;
      |            ^
Language: C++

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

using lint = long long int;
using pint = pair<int, int>;
using plint = pair<lint, lint>;
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((lint)(x).size())
#define POW2(n) (1LL << (n))
#define FOR(i, begin, end) for (int i = (begin), i##_end_ = (end); i < i##_end_; i++)
#define IFOR(i, begin, end) for (int i = (end)-1, i##_begin_ = (begin); i >= i##_begin_; i--)
#define REP(i, n) FOR(i, 0, n)
#define IREP(i, n) IFOR(i, 0, n)

int main()
{
    lint n;cin >> n;
    if(n==3||n==5||n==7){
        cout < < "YES"< < "\n";
    }else
    cout << "NO" <<"\n";

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:16: error: expected primary-expression before '<' token
   19 |         cout < < "YES"< < "\n";
      |                ^
a.cc:19:25: error: expected primary-expression before '<' token
   19 |         cout < < "YES"< < "\n";
      |                         ^
Language: C

/*753*/
#include<stdio.h>
int mait(void)
{
    int X;
    scanf("%d",&X);
    if(X==3||X==5||X==7){
      printf("YES\n");
    }
      else{
          printf("NO\n");
      }
      return 0;
      }

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

/*753*/
#include<stdio.h>
int mait(void)
{
    int X;
    scanf("%d",&X);
    if(X==3||X==5||X==7){
      printf("YES\n");
      {
      else{
          printf("NO\n");
      }
      return 0;
      }

Compiler output:
main.c: In function 'mait':
main.c:10:7: error: 'else' without a previous 'if'
   10 |       else{
      |       ^~~~
main.c:14:7: error: expected declaration or statement at end of input
   14 |       }
      |       ^
main.c:14:7: error: expected declaration or statement at end of input
Language: C

/*753*/
#include<stdio.h>
int mait(void)
{
    int X;
    scanf("%d",&X);
    if(X=3||5||7){
      printf("yes\n");
      {
      else{
          printf("no\n");
      }
      return 0;
      }

Compiler output:
main.c: In function 'mait':
main.c:10:7: error: 'else' without a previous 'if'
   10 |       else{
      |       ^~~~
main.c:14:7: error: expected declaration or statement at end of input
   14 |       }
      |       ^
main.c:14:7: error: expected declaration or statement at end of input
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int g=sc.nextInt();
    System.out.println((a==3||a==5||a==7)?"YES":"NO");
  }
}


Compiler output:
Main.java:7: error: cannot find symbol
    System.out.println((a==3||a==5||a==7)?"YES":"NO");
                        ^
  symbol:   variable a
  location: class Main
Main.java:7: error: cannot find symbol
    System.out.println((a==3||a==5||a==7)?"YES":"NO");
                              ^
  symbol:   variable a
  location: class Main
Main.java:7: error: cannot find symbol
    System.out.println((a==3||a==5||a==7)?"YES":"NO");
                                    ^
  symbol:   variable a
  location: class Main
3 errors
Language: C++

#import<cstdio>
main(){int x;std::cin>>x;if(x==5||x==7||x==3)puts("YES");else puts("NO");}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<cstdio>
      |  ^~~~~~
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int x;std::cin>>x;if(x==5||x==7||x==3)puts("YES");else puts("NO");}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:19: error: 'cin' is not a member of 'std'
    2 | main(){int x;std::cin>>x;if(x==5||x==7||x==3)puts("YES");else puts("NO");}
      |                   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #import<cstdio>
  +++ |+#include <iostream>
    2 | main(){int x;std::cin>>x;if(x==5||x==7||x==3)puts("YES");else puts("NO");}
Language: C++

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

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

  




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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0;i < (n);i++)
using namespace std;
  
int main () {
  int x;
  cin >> x;
  if(x == 3 || x == 5 || x == 7) 
    cout << "YES";
  else 
    cout <, "NO";
}

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

use std::io;

fn read_i32_exn() -> i32 {
	let mut n = String::new();
	io::stdin().read_line(&mut n).expect("Failed to input");
	(*n).trim().parse::<i32>().unwrap()

}

fn main() {
   // println!("Hello, world!");
	let x = read_i32_exn();
	println!("{}",match x { 3|5|7 => "YES", _=>"N0",});

}


Compiler output:
a.cc:1:1: error: 'use' does not name a type
    1 | use std::io;
      | ^~~
a.cc:3:1: error: 'fn' does not name a type
    3 | fn read_i32_exn() -> i32 {
      | ^~
a.cc:10:1: error: 'fn' does not name a type
   10 | fn main() {
      | ^~
Language: C++

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

int main() {
	
	int X;
	cin >>X;
	
	if(X==7||X==5||X==3){
		
		cout <<YES <<endl;
		
	}
	else{
		
		cout <<NO <<endl;
		
	}
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: 'YES' was not declared in this scope
   11 |                 cout <<YES <<endl;
      |                        ^~~
a.cc:16:24: error: 'NO' was not declared in this scope
   16 |                 cout <<NO <<endl;
      |                        ^~
Language: C++

#include<iostream>
int main(){
	int a;
  std::cin >> a;
  if(a == 3 || a == 5|| a == 7) cout << "YES" << endl;
  else std::cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:33: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   if(a == 3 || a == 5|| a == 7) cout << "YES" << endl;
      |                                 ^~~~
      |                                 std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:50: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   if(a == 3 || a == 5|| a == 7) cout << "YES" << endl;
      |                                                  ^~~~
      |                                                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:6:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   else std::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>
using namespace std;

int main (){

int x;
string a;

cin >> x;

if(x == 3 || x == 5 || x == 7){
a = "YES";
}else{
a = "NO";
}

}
cout << a <<endl;
}


Compiler output:
a.cc:18:1: error: 'cout' does not name a type
   18 | cout << a <<endl;
      | ^~~~
a.cc:19:1: error: expected declaration before '}' token
   19 | }
      | ^
Language: C++

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

int main (){

int x;
string a;

cin >> x;

if(x == 3 || x == 5 || x == 7){
a = "YES"
}else{
a = "NO"
}

}
cout << a <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: expected ';' before '}' token
   12 | a = "YES"
      |          ^
      |          ;
   13 | }else{
      | ~         
a.cc:14:9: error: expected ';' before '}' token
   14 | a = "NO"
      |         ^
      |         ;
   15 | }
      | ~        
a.cc: At global scope:
a.cc:18:1: error: 'cout' does not name a type
   18 | cout << a <<endl;
      | ^~~~
a.cc:19:1: error: expected declaration before '}' token
   19 | }
      | ^
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main(){
  string a;
  cin a;
  if(a=="7"||a=="5"||a=="3"){
  cout<<"YES"<<endl;}
  else {cout<<"NO"<<endl;}
return 0;
}


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

#include<iostream>
#include<string>
using namespace std;
int main(){
  int a;
  cin a;
  if(a=="7"||a=="5"||a=="3"){
  cout<<"YES"<<endl;}
  else {cout<<"NO"<<endl;}
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'a'
    6 |   cin a;
      |      ^~
      |      ;
a.cc:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(a=="7"||a=="5"||a=="3"){
      |      ~^~~~~
a.cc:7:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(a=="7"||a=="5"||a=="3"){
      |              ~^~~~~
a.cc:7:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(a=="7"||a=="5"||a=="3"){
      |                      ~^~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
    int x;
    if(x==3||x==5||x==7){
        cout<<"YES"<<endl;
    }
    els{
    cout<<"No"<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'els' was not declared in this scope
    8 |     els{
      |     ^~~
Language: Java

import java.util.Scanner;
2
​
3
public class Main{
4
  public static void main(String[] args){
5
    Scanner sc = new Scanner(System.in);
6
    int an = sc.nextInt();
7
    System.out.println((an==3|an==5|an==7) ? "Yes":"No");
8
  }
9
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
2
^
Main.java:3: error: illegal character: '\u200b'
?
^
Main.java:6: error: illegal start of type
4
^
Main.java:8: error: not a statement
5
^
Main.java:8: error: ';' expected
5
 ^
Main.java:10: error: not a statement
6
^
Main.java:10: error: ';' expected
6
 ^
Main.java:12: error: not a statement
7
^
Main.java:12: error: ';' expected
7
 ^
Main.java:14: error: not a statement
8
^
Main.java:14: error: ';' expected
8
 ^
Main.java:16: error: illegal start of type
9
^
12 errors
Language: C++

#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
int main()
{
  intx;
  cin >> x;
  if(x==3||x==5||x==7) cout << "YES" << endl;
  else cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'intx' was not declared in this scope; did you mean 'int'?
   10 |   intx;
      |   ^~~~
      |   int
a.cc:11:10: error: 'x' was not declared in this scope
   11 |   cin >> x;
      |          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
    int X;
    cin >> X;

    if (X == 7 || X == 5 || x == 3){
        cout << "YES" << endl;
    }
    else {
        cout << "NO" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: 'x' was not declared in this scope
    8 |     if (X == 7 || X == 5 || x == 3){
      |                             ^
Language: Java

import java.uitl.*;
import java.io.*;

public class Main{
  	public static void main(String[] args)throws IOException{
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      int n=Integer.parseInt(br.readLine());
      if(n==7 || n==5 || n==3)
        System.out.println("YES");
      else
        System.out.println("NO");
    }
}

Compiler output:
Main.java:1: error: package java.uitl does not exist
import java.uitl.*;
^
1 error
Language: Java

import java.uitl.*;
import java.io.*;

public class Main{
  	public statcic void main(String[] args)throws IOException{
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      int n=Integer.parseInt(br.readLine());
      if(n==7 || n==5 || n==3)
        System.out.println("YES");
      else
        System.out.println("NO");
    }
}

Compiler output:
Main.java:5: error: <identifier> expected
  	public statcic void main(String[] args)throws IOException{
  	              ^
1 error
Language: C++

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

int main() {
  int x; cin >> x;
  if (x == 3 || x == 5 || x == 7) printf("YES");
  else printf("NO")
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: expected ';' before '}' token
    7 |   else printf("NO")
      |                    ^
      |                    ;
    8 | }
      | ~
Language: C++

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

int main() {
  int x; cin >> x;
  if (x == 3 || X == 5 || X == 7) printf("YES");
  else printf("NO")
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: 'X' was not declared in this scope
    6 |   if (x == 3 || X == 5 || X == 7) printf("YES");
      |                 ^
a.cc:7:20: error: expected ';' before '}' token
    7 |   else printf("NO")
      |                    ^
      |                    ;
    8 | }
      | ~
Language: C++

#include<bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
#define all(x) (x).begin(),(x).end()
typedef long long ll;
#define rep(i,n) for(ll i=0, i##_len=(n); i<i##_len; ++i)
#define REP(i,num,n) for(ll i=num, i##_len=(n); i<i##_len; ++i)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
#define print(x) cout << (x) << endl;
#define sz(x) int(x.size())
 
ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
const ll LLINF = 1LL<<60;
const int INF = 1<<29;
const int MOD = 1000000007;
 
void add(long long &a, long long b) {
  a += b;
  if (a >= MOD) a -= MOD;
}
 
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, 1, -1, -1};

ll dp[100100];

int main(void){
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout<<fixed<<setprecision(10);
    int x;
    cin >> x;
    if(x == 7 or x == 5 or x == 3) print("YES");
    else print("NO");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:5: error: 'else' without a previous 'if'
   35 |     else print("NO");
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int x;
  ci>>x;
  if(x==3||x==5||x==7){
    cout<<"YES"<<endl;
  }else{
    cout<<"NO"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'ci' was not declared in this scope
    5 |   ci>>x;
      |   ^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
int n;
  cin>>n;
  if(n==3||n==5||n==7)
    cout<<"YES';
    else
      cout<<"NO";
  return 0;
}

Compiler output:
a.cc:8:11: warning: missing terminating " character
    8 |     cout<<"YES';
      |           ^
a.cc:8:11: error: missing terminating " character
    8 |     cout<<"YES';
      |           ^~~~~~
a.cc: In function 'int main()':
a.cc:9:5: error: expected primary-expression before 'else'
    9 |     else
      |     ^~~~
Language: C++

#include<iostream>
#using<cstdio>
using namespace std;
int main()
{
  int n;
  scanf("%d",&n);
  if(n==5||n==3||n==7)
    printf("YES");
  else
    printf("NO");
  return 0;
}
  

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #using
    2 | #using<cstdio>
      |  ^~~~~
Language: C++

#include<stdio.h>
int main(void)
{
	int x;
	scanf("%d",&x);
	if(x==7){
		printf("YES\n");
	}
	if(x==5){
		printf("YES\n");
	}
	if(x==3){
		printf("YES\n");
	}
	else{
		pfintf("NO\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:17: error: 'pfintf' was not declared in this scope; did you mean 'printf'?
   16 |                 pfintf("NO\n");
      |                 ^~~~~~
      |                 printf
Language: C++

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

int main() {
  int n;
  cin >> n;
  if(n == 3 || n == 5 || n = 7)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: lvalue required as left operand of assignment
    7 |   if(n == 3 || n == 5 || n = 7)
      |      ~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include <iostream>

using namespace std;

int main()
{
    int Y;
    cin>>X;
    if(Y==3||Y==5||Y==7){
        cout<<"YES";
    }
    else{
        cout<<"NO";
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: 'X' was not declared in this scope
    8 |     cin>>X;
      |          ^
Language: C++

 class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

            Console.ReadKey();

        }
    }

Compiler output:
a.cc:3:26: error: 'string' has not been declared
    3 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:3:35: error: expected ',' or '...' before 'args'
    3 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:16:6: error: expected ';' after class definition
   16 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:5:21: error: expected primary-expression before 'int'
    5 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:9:17: error: 'Console' was not declared in this scope
    9 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:11:17: error: 'Console' was not declared in this scope
   11 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:13:13: error: 'Console' was not declared in this scope
   13 |             Console.ReadKey();
      |             ^~~~~~~
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
           
           int  x = int.Parse(Console.ReadLine());

            if (x == 7 || x == 5 || x == 3)

                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:25:6: error: expected ';' after class definition
   25 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:14:21: error: expected primary-expression before 'int'
   14 |            int  x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:18:17: error: 'Console' was not declared in this scope
   18 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:21:17: error: 'Console' was not declared in this scope
   21 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:23:13: error: 'Console' was not declared in this scope
   23 |             Console.ReadKey();
      |             ^~~~~~~
Language: C++

{
            int x = int.Parse(Console.ReadLine());
            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");
            Console.ReadKey();

            }

Compiler output:
a.cc:1:1: error: expected unqualified-id before '{' token
    1 | {
      | ^
Language: C++

include <iostream>
using namespace std;

int main() {
	int a;
	cin>>a;
	if(a==3){
	    cout<<"YES"<<'\n';
    }
    else if(a==5){
        cout<<"YES"<<'\n';
    }
    else if(a==7){
        cout<<"YES"<<'\n';
    }
    else{
        cout<<"NO"<<'\n';
    }
	return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>a;
      |         ^~~
a.cc:8:13: error: 'cout' was not declared in this scope
    8 |             cout<<"YES"<<'\n';
      |             ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout<<"YES"<<'\n';
      |         ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout<<"YES"<<'\n';
      |         ^~~~
a.cc:17:9: error: 'cout' was not declared in this scope
   17 |         cout<<"NO"<<'\n';
      |         ^~~~
Language: C

//A.cpp
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <vector>
using namespace std;

int main(){
  int x;
  cin >> x;
  if(x==7||x==5||x==3) printf("YES\n");
  else printf("NO\n");
  return 0;
}


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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());

            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

                   Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:22:6: error: expected ';' after class definition
   22 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:13:21: error: expected primary-expression before 'int'
   13 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:16:17: error: 'Console' was not declared in this scope
   16 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:18:17: error: 'Console' was not declared in this scope
   18 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:20:20: error: 'Console' was not declared in this scope
   20 |                    Console.ReadKey();
      |                    ^~~~~~~
Language: C++

class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());

            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

                   Console.ReadKey();
        }
    }

Compiler output:
a.cc:3:26: error: 'string' has not been declared
    3 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:3:35: error: expected ',' or '...' before 'args'
    3 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:14:6: error: expected ';' after class definition
   14 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:5:21: error: expected primary-expression before 'int'
    5 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:8:17: error: 'Console' was not declared in this scope
    8 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:10:17: error: 'Console' was not declared in this scope
   10 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:12:20: error: 'Console' was not declared in this scope
   12 |                    Console.ReadKey();
      |                    ^~~~~~~
Language: C++

 {
            int x = int.Parse(Console.ReadLine());
            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");
            Console.ReadKey();

            }

Compiler output:
a.cc:1:2: error: expected unqualified-id before '{' token
    1 |  {
      |  ^
Language: C++

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());

            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

                   Console.ReadKey();
        }
    }
}

Compiler output:
a.cc:5:26: error: 'string' has not been declared
    5 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:5:35: error: expected ',' or '...' before 'args'
    5 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:16:6: error: expected ';' after class definition
   16 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:7:21: error: expected primary-expression before 'int'
    7 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:10:17: error: 'Console' was not declared in this scope
   10 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:12:17: error: 'Console' was not declared in this scope
   12 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:14:20: error: 'Console' was not declared in this scope
   14 |                    Console.ReadKey();
      |                    ^~~~~~~
Language: C++

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

int main(){
  cin >> X;
  if (X == 3 || X == 5 || X == 7){
    cout << "YES" << endl;
  }
  else{
    cout << "NO" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'X' was not declared in this scope
    5 |   cin >> X;
      |          ^
Language: C++

#include<iostream>
#include<algorism>
using namespace std;
main()
{
  int a;
  cin>>a;
  if(a==3||a==5||a==7)
    cout<<"YES"<<endl;
  else
    cout<<"NO"<<endl;
  return 0;
}

Compiler output:
a.cc:2:9: fatal error: algorism: No such file or directory
    2 | #include<algorism>
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

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

int main() {
  int n;
  cin >> n;
  if(n == 3 || n == 5 || n == 7) {
    cout << YES << end;
  }
  else cout << NO << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'YES' was not declared in this scope
    8 |     cout << YES << end;
      |             ^~~
a.cc:10:16: error: 'NO' was not declared in this scope
   10 |   else cout << NO << endl;
      |                ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
  int main () {
  int X;
    
  cin >> X;
  
  if ( X == 3 || 5 || 7 ){
  cout << "Yes" << endl;
  }
  
  else {
  cout << "No" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:14:4: error: expected '}' at end of input
   14 |   }
      |    ^
a.cc:3:15: note: to match this '{'
    3 |   int main () {
      |               ^
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        if(x == 3 || x== 5 || x == 7){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
}

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC114_753
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            x = int.Parse(Console.ReadLine());
            if ((x == 3) || (x == 5) || (x == 7))
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:22:6: error: expected ';' after class definition
   22 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114_753::Program::Main(int*)':
a.cc:14:17: error: expected primary-expression before 'int'
   14 |             x = int.Parse(Console.ReadLine());
      |                 ^~~
a.cc:16:17: error: 'Console' was not declared in this scope
   16 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:18:17: error: 'Console' was not declared in this scope
   18 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:20:13: error: 'Console' was not declared in this scope
   20 |             Console.ReadKey();
      |             ^~~~~~~
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:24:6: error: expected ';' after class definition
   24 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:13:21: error: expected primary-expression before 'int'
   13 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:17:17: error: 'Console' was not declared in this scope
   17 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:20:17: error: 'Console' was not declared in this scope
   20 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:22:13: error: 'Console' was not declared in this scope
   22 |             Console.ReadKey();
      |             ^~~~~~~
Language: C++

 static void Main(string[] args)
        {
            int x;
            x = int.Parse(Console.ReadLine());
            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }

Compiler output:
a.cc:1:14: error: variable or field 'Main' declared void
    1 |  static void Main(string[] args)
      |              ^~~~
a.cc:1:19: error: 'string' was not declared in this scope
    1 |  static void Main(string[] args)
      |                   ^~~~~~
a.cc:1:26: error: expected primary-expression before ']' token
    1 |  static void Main(string[] args)
      |                          ^
Language: C

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'using'
    2 | using System.Collections.Generic;
      | ^~~~~
main.c:2:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | using System.Collections.Generic;
      |             ^
main.c:3:1: error: unknown type name 'using'
    3 | using System.Linq;
      | ^~~~~
main.c:3:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | using System.Linq;
      |             ^
main.c:4:1: error: unknown type name 'using'
    4 | using System.Text;
      | ^~~~~
main.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | using System.Text;
      |             ^
main.c:5:1: error: unknown type name 'using'
    5 | using System.Threading.Tasks;
      | ^~~~~
main.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | using System.Threading.Tasks;
      |             ^
main.c:7:1: error: unknown type name 'namespace'
    7 | namespace ABC114A
      | ^~~~~~~~~
main.c:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    8 | {
      | ^
Language: C++

 {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:1:2: error: expected unqualified-id before '{' token
    1 |  {
      |  ^
a.cc:13:5: error: expected declaration before '}' token
   13 |     }
      |     ^
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

     static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}

Compiler output:
a.cc:1:18: error: variable or field 'Main' declared void
    1 |      static void Main(string[] args)
      |                  ^~~~
a.cc:1:23: error: 'string' was not declared in this scope
    1 |      static void Main(string[] args)
      |                       ^~~~~~
a.cc:1:30: error: expected primary-expression before ']' token
    1 |      static void Main(string[] args)
      |                              ^
a.cc:14:5: error: expected declaration before '}' token
   14 |     }
      |     ^
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());


            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");

            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:5:26: error: 'string' has not been declared
    5 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:5:35: error: expected ',' or '...' before 'args'
    5 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:18:6: error: expected ';' after class definition
   18 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:7:21: error: expected primary-expression before 'int'
    7 |             int x = int.Parse(Console.ReadLine());
      |                     ^~~
a.cc:11:17: error: 'Console' was not declared in this scope
   11 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:14:17: error: 'Console' was not declared in this scope
   14 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:16:13: error: 'Console' was not declared in this scope
   16 |             Console.ReadKey();
      |             ^~~~~~~
Language: C++

namespace ABC114A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            x = int.Parse(Console.ReadLine());
            if (x == 3 || x == 5 || x == 7)
                Console.WriteLine("YES");
            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }
    }
}


Compiler output:
a.cc:5:26: error: 'string' has not been declared
    5 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:5:35: error: expected ',' or '...' before 'args'
    5 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:16:6: error: expected ';' after class definition
   16 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ABC114A::Program::Main(int*)':
a.cc:8:17: error: expected primary-expression before 'int'
    8 |             x = int.Parse(Console.ReadLine());
      |                 ^~~
a.cc:10:17: error: 'Console' was not declared in this scope
   10 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:12:17: error: 'Console' was not declared in this scope
   12 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
a.cc:14:13: error: 'Console' was not declared in this scope
   14 |             Console.ReadKey();
      |             ^~~~~~~