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

#include <bits/stdc++.h>
#define ALL(A) (A).begin(),(A).end()
#define ll long long
#define rep(i,n) for(int i=0;i<(n);i++)

const ll mod = 1e9+7;
const ll INF = 2*1e18;
const int inf = 1e9+7;

using namespace std;

int main(void){
	int N;
	bool ok = 0
	rep(i,10)rep(j,10){
		if(i*j==N)ok =1;
	}
	if(ok)cout << "Yes" << endl;
	else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: expected ',' or ';' before 'for'
    4 | #define rep(i,n) for(int i=0;i<(n);i++)
      |                  ^~~
a.cc:15:9: note: in expansion of macro 'rep'
   15 |         rep(i,10)rep(j,10){
      |         ^~~
a.cc:15:13: error: 'i' was not declared in this scope
   15 |         rep(i,10)rep(j,10){
      |             ^
a.cc:4:30: note: in definition of macro 'rep'
    4 | #define rep(i,n) for(int i=0;i<(n);i++)
      |                              ^
a.cc:15:22: error: 'j' was not declared in this scope
   15 |         rep(i,10)rep(j,10){
      |                      ^
a.cc:4:30: note: in definition of macro 'rep'
    4 | #define rep(i,n) for(int i=0;i<(n);i++)
      |                              ^
Language: C++

#include <iostream>
int main() {
	int n; cin>>n;
	for (int i=1; i<10; i++) {
		if (n%i==0 and n/i<10) {
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:16: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    3 |         int n; cin>>n;
      |                ^~~
      |                std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |                         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:6:38: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |                         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:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         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:10:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         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<stdio.h>
using namespace std;

int main(){
int n;
  cin>>n;
	for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
	if(a*b==n){
	puts("Yes");
	return 0;
 	}
 }
 puts("No");
}

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

#include <stdio.h>

int main(){
  int N;
  int i;
  int flag = 0;
  scanf("%d", &N);
  
  for(i = 1; i <= 9; i++){
    if(N%i == 0 && (N/i >=1 && N/i = 9))
      flag = 1;
  }
  if(flag)
    printf("Yes\n");
  else
    printf("No\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:29: error: lvalue required as left operand of assignment
   10 |     if(N%i == 0 && (N/i >=1 && N/i = 9))
      |                     ~~~~~~~~^~~~~~
Language: C++

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

int main(void) {
    int n;
    cin >> n;

    for (int i = 1; i <= 9; i++) {
        if (n % i == 0 && n / i <= 9) {
            cout << Yes;
            return 0;
        }
        cout << No;
    }
    return 0;
}

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

#include<iostream>
using namespace std;
int main(){
    int N;
    cin >> N;
    for(int a=1; a<=9; a++){
        for(int b=1; b<=9; b++){
            if(a*b==N){
            cout <<"Yes"<<endl;
            return 0;
            }
        }
    }
    cout << "No" << endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: expected '}' at end of input
   14 |     cout << "No" << endl;
      |                          ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Boolean b = false;
    int n = Integer.parseInt(sc.next());
    String pattern = "[1-9]";
    Pattern p = Pattern.compile(pattern);
    for(int i = 1; i < 10; i++) {
	  if(n % i == 0) {
        if(p.matcher(String.value(n/i)).find()){
    		System.out.println("Yes");
            b = true;
		}
        if(b)
        break;
      }
    }
    if(!b)
      System.out.println("No");

Compiler output:
Main.java:21: error: reached end of file while parsing
      System.out.println("No");
                               ^
1 error
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main()
{
    int b;
    cin>>b;
    for(int i=1;i<=9;i++)
    {
        if(b%i==0%%b/i<=9)
        {
            cout<<"YES";
            return 0;
        }
    }
    cout<<"No";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: expected primary-expression before '%' token
   11 |         if(b%i==0%%b/i<=9)
      |                   ^
Language: C++

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

int main()
{
  int n;
  cin >> n;
  for(int x = 1; x < 10; ++x)
  {
    for (int y = 1; y < 10; ++y)
    {
      if(x * y == n)
      {
        cout << "Yes" << endl;
        return 0;
      }
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc:1:24: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++>h>
      |                        ^
a.cc:1:10: fatal error: bits/stdc++>: No such file or directory
    1 | #include <bits/stdc++>h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include"stdio.h"
#include"iostream"
using namespace std;
int main(void){
	int a;
  cin >> a;
  int b;
  int c = 1;
  int flg = 0;
  for(b=1 , b < 10 ,b++){
  	c = a%b
      if(c=0){
      	flg = 1;
        break;
      }
  }
  if(flg == 1){
  	cout << "Yes";
  }else{
  	cout << "No";
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: expected ';' before ')' token
   10 |   for(b=1 , b < 10 ,b++){
      |                        ^
      |                        ;
a.cc:17:3: error: expected primary-expression before 'if'
   17 |   if(flg == 1){
      |   ^~
a.cc:16:4: error: expected ';' before 'if'
   16 |   }
      |    ^
      |    ;
   17 |   if(flg == 1){
      |   ~~
a.cc:17:3: error: expected primary-expression before 'if'
   17 |   if(flg == 1){
      |   ^~
a.cc:16:4: error: expected ')' before 'if'
   16 |   }
      |    ^
      |    )
   17 |   if(flg == 1){
      |   ~~
a.cc:10:6: note: to match this '('
   10 |   for(b=1 , b < 10 ,b++){
      |      ^
Language: C++

#include"stdio.h"
#include"iostream"
using namespace std;
int main(void){
	int a;
  cin >> a;
  int b = 1;
  int c = 1;
  int flg = 0;
  for( , b < 10 ,b++){
  	c = a%b
      if(c=0){
      	flg = 1;
        break;
      }
  }
  if(flg = 1){
  	cout << "Yes";
  }else{
  	cout << "No":
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: expected primary-expression before ',' token
   10 |   for( , b < 10 ,b++){
      |        ^
a.cc:17:3: error: expected primary-expression before 'if'
   17 |   if(flg = 1){
      |   ^~
a.cc:16:4: error: expected ';' before 'if'
   16 |   }
      |    ^
      |    ;
   17 |   if(flg = 1){
      |   ~~
a.cc:17:3: error: expected primary-expression before 'if'
   17 |   if(flg = 1){
      |   ^~
a.cc:16:4: error: expected ')' before 'if'
   16 |   }
      |    ^
      |    )
   17 |   if(flg = 1){
      |   ~~
a.cc:10:6: note: to match this '('
   10 |   for( , b < 10 ,b++){
      |      ^
a.cc:20:21: error: expected ';' before ':' token
   20 |         cout << "No":
      |                     ^
      |                     ;
Language: C++

include<iostream>

using namespace std;

int main() {
	int n,a;
	int b[82];
	for(int i=1;i<=9;i++){
		for(int j=1;j<=9;j++){
			a=i*j;
			b[a]=1;
		}
	}
	cin >> n;

	if(b[n]==1) cout << "Yes" << endl;
	else cout << "No" << endl;
	
	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:14:9: error: 'cin' was not declared in this scope
   14 |         cin >> n;
      |         ^~~
a.cc:16:21: error: 'cout' was not declared in this scope
   16 |         if(b[n]==1) cout << "Yes" << endl;
      |                     ^~~~
a.cc:16:38: error: 'endl' was not declared in this scope
   16 |         if(b[n]==1) cout << "Yes" << endl;
      |                                      ^~~~
a.cc:17:14: error: 'cout' was not declared in this scope
   17 |         else cout << "No" << endl;
      |              ^~~~
a.cc:17:30: error: 'endl' was not declared in this scope
   17 |         else cout << "No" << endl;
      |                              ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a;cin>>a;
  for(int i=1;i<10;++i)for(int j=1;j<10;++j)if(i*j==a)return true;
  return false;
}
}

Compiler output:
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

#include<iostream>
using namespace std;

bool check(int a) {
  for (int i = 1; i <= 10; ++i) {
    for (int j = 1; j <= 10; ++j) {
      if (I * j == a) {
        return true;
      }
    }
  }
  return false;
}

int main() {
  int a;
  cin >> a;
  cout << (check(a) ? "Yes" : "No") << endl;
}

Compiler output:
a.cc: In function 'bool check(int)':
a.cc:7:11: error: 'I' was not declared in this scope
    7 |       if (I * j == a) {
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
float n;
cin>>n;
if((n>81)
cout<<"No";
else
cout<<"Yes";
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected ';' before 'cout'
    6 | if((n>81)
      |          ^
      |          ;
    7 | cout<<"No";
      | ~~~~      
a.cc:8:1: error: expected primary-expression before 'else'
    8 | else
      | ^~~~
a.cc:7:12: error: expected ')' before 'else'
    7 | cout<<"No";
      |            ^
      |            )
    8 | else
      | ~~~~        
a.cc:6:3: note: to match this '('
    6 | if((n>81)
      |   ^
Language: C++

#include <iostream>
using namespace std;

int main() {
    int a, b;
    cin << N;
  	for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
  		if(a * b = N){
          	cout << "Yes";
        }
    } else {
      		cout << "No";
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'N' was not declared in this scope
    6 |     cin << N;
      |            ^
a.cc:11:7: error: 'else' without a previous 'if'
   11 |     } else {
      |       ^~~~
Language: C++

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

int main(int argc, char const *argv[])
{
	int n;
	cin>>n;
    for(int i=1; i<=9; ++i)
    {
        if(n%i==0&&1<=n/i&&n/i<=9)
        {
            cout"Yes\n";
            return 0;
        }
    }
    cout<<"No\n";
	return 0;
}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:12:17: error: expected ';' before string constant
   12 |             cout"Yes\n";
      |                 ^~~~~~~
      |                 ;
Language: Java

import java.util.Scanner;
import java.util.stream.IntStream;

public class Q2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        boolean ans = IntStream.range(1,10).anyMatch(i -> N % i == 0 && N / i <= 9);
        System.out.println(ans ? "Yes" : "No");
    }
}

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

#include <iostream>
using namespace std;

int main(){
  int N;
  int s = 0
  cin >> N;
  for (int i = 1; ++i; i < 10){
    if ( N % i == 0 && N / i < 10){
      s = 1
      break;
    }
  }
  if (s == 1){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected ',' or ';' before 'cin'
    7 |   cin >> N;
      |   ^~~
a.cc:10:12: error: expected ';' before 'break'
   10 |       s = 1
      |            ^
      |            ;
   11 |       break;
      |       ~~~~~
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    if(N > 81){
      System.out.println("No");
      return;
    }
    
    if(N < 10){
      System.out.println("Yes");
      return;
    }
    
    for(int i=2; i<10; i++){
      if(N % i == 0){
        System.out.println("Yes");
        return
      }
    }
    
    System.out.println("No");
  }
}


Compiler output:
Main.java:22: error: illegal start of expression
      }
      ^
1 error
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 INF 2e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
int main()
{
  string flg="No";
  int N;
  cin >> N;
  REP(i,9){
    REP(j,9){
      if((i+1)*(j+1) == N) flg = "Yes"
    }
  }
  cout << flg << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:39: error: expected ';' before '}' token
   16 |       if((i+1)*(j+1) == N) flg = "Yes"
      |                                       ^
      |                                       ;
   17 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
  cin>>n;
  for (i=1;i<=9;i++)
  {
    if (n%i==0 and n/i>=1 and n/i<=9)
      return cout << "Yes", 0; 
    else
      continue;
  }
  cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'i' was not declared in this scope
    7 |   for (i=1;i<=9;i++)
      |        ^
Language: C++

#include<bits/stdc++.h>
#define vll vector<ll>
#define vi vector<int>
#define vpll vector<pair<ll,ll>>
#define pii pair<int,int>
#define REP(i,a) for(int (i)=0; (i)<(a); (i)++)
#define RREP(i,a) for(int (i)=a-1; (i)>=(0); (i)--)
#define REP2(i,a,b) for(int (i)=(a); (i)<(b); (i)++)
#define MOD 1000000007
#define ALL(v) v.begin(), v.end()
#define m0(x) memset(x,0,sizeof(x))
typedef long long ll;

using namespace std;

int gcd(int a,int b){return b?gcd(b,a%b):a;}
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};

int main(){
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int N;
  cin >> N;
  bool ans = false;
  REP2(i,1,10)REP(j,1,10){
    if(i * j == N) ans = true;
  }
  if(ans) cout << "Yes" << endl;
  else cout << "No" << endl;

  return 0;
}


Compiler output:
a.cc:26:25: error: macro "REP" passed 3 arguments, but takes just 2
   26 |   REP2(i,1,10)REP(j,1,10){
      |                         ^
a.cc:6:9: note: macro "REP" defined here
    6 | #define REP(i,a) for(int (i)=0; (i)<(a); (i)++)
      |         ^~~
a.cc: In function 'int main()':
a.cc:26:15: error: 'REP' was not declared in this scope
   26 |   REP2(i,1,10)REP(j,1,10){
      |               ^~~
Language: C++

1 #include<stdio.h>

2 int main(){
3 int n;
4 scanf("%d",&n);
5 for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
6 if(a*b==n){
7 puts("Yes");
8 return 0;
9 }
10 }
11 puts("No")
}

Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | 1 #include<stdio.h>
      |   ^
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 1 #include<stdio.h>
      | ^
Language: C++

1 #include<stdio.h>
2 int main(){
3	 int n;
4	 scanf("%d",&n);
5 	for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
6 		if(a*b==n){
7 			puts("Yes");
8			return 0;
9 		}
10 	}
11 puts("No")
}

Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | 1 #include<stdio.h>
      |   ^
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 1 #include<stdio.h>
      | ^
Language: C++

1 #include<stdio.h>
2 int main(){
3 int n;
4 scanf("%d",&n);
5 for(int a=1;a<=9;a++)for(int b=1;b<=9;b++){
6 if(a*b==n){
7 puts("Yes");
8 return 0;
9 }
10 }
11 puts("No")

Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | 1 #include<stdio.h>
      |   ^
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 1 #include<stdio.h>
      | ^
Language: C++

#include<iostream>
using namespace std;
bool Calcable(int n) {
	for (int i = 2; i < 10; i++) {
    	if (n % i == 0) {
        	return 1;
        }
    }
  	return 0;
}

int main() {
  	int n;
  	cin >> n;
  	if Calcable(n) {
    	cout << "Yes" << endl;
    } else {
    	cout << "No" << endl;
    }
  
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: expected '(' before 'Calcable'
   15 |         if Calcable(n) {
      |            ^~~~~~~~
      |            (
a.cc:17:7: error: 'else' without a previous 'if'
   17 |     } else {
      |       ^~~~
Language: C

#include<stdio.h>

int main(){
	int a = 0;
	int flag = 0;
	int i,j = 0;

	scanf("%d",&a);
		for(i = 1 ; i < 10;i++){

			for(j = 1;j < 10;j++){
				if((a / i > 0 && a / i <= 9) && j * (a/i) == a){
					flag = 1;
					break;
				}else{
					flag = 0;
				}
			}
			if(flag == 1) break;


		}

		if(flag == 1){
			printf("Yes\n");
		}else{
			printf("NO\n");
		}

	}
	return 0;
}


Compiler output:
main.c:31:9: error: expected identifier or '(' before 'return'
   31 |         return 0;
      |         ^~~~~~
main.c:32:1: error: expected identifier or '(' before '}' token
   32 | }
      | ^
Language: C++

#include<stdio.h>
#include<stdlib.h>

int main(){
	int a = 0;
	scanf("%d,&a");

	for (int i = 2; i <= 10; i++){
		if (a%i == 0){
			printf("Y");
			return;
		}
		if (i == 10){
			printf("N");
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   11 |                         return;
      |                         ^~~~~~
Language: C++

#include<stdio.h>
#include<stdlib.h>

int main(){
	int a = 0;
	scanf("%d,&a");

	for (int i = 1; i <= 10; i++){
		if (a%i == 0){
			printf("Y");
			return;
		}
		if (i == 10){
			printf("N");
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   11 |                         return;
      |                         ^~~~~~
Language: C

#include<stdio.h>
int main()
{
  int n,c=0;
  scanf("%d",&n);
  for(int i=2;i<=9;i++)
  {
    if(n%i==0)
    c=i;
  }
  int x=n/c;
  if(a<10)
    printf("Yes");
  else if(x<10)
    printf("Yes");
  else
    printf("No");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:6: error: 'a' undeclared (first use in this function)
   12 |   if(a<10)
      |      ^
main.c:12:6: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(void){
  int n,i;
  scanf("%d",&n);
  for(i=1;i<=9;i++){
  	if(n/i>=1&&n/i<=9&&n%i=0)
    printf("Yes\n");
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:31: error: lvalue required as left operand of assignment
    6 |         if(n/i>=1&&n/i<=9&&n%i=0)
      |                               ^
Language: C

//atcoder beginer contest 144 B

#include <stdio.h>
int main(){
 int i;
 int m;
 int flag=0;
 scanf("%d",&m);
 for (i=1;i<=9;i++){
  if(m/i<=9&&m%i==0){
   flag++;
   break;
  }
 if(flag==1) printf("Yes");
 else printf("No");
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

//atcoder beginer contest 144 B

#include <stdio.h>
int main(){
 int i;
 int m;
 int flag=0
 scanf("%d",&m);
 for (i=1;i<=9;i++){
  if(m/i<=9&&m%i==0){
   flag++;
   break;
  }
 if(flag==1) printf("Yes");
 else printf("No");
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:2: error: expected ',' or ';' before 'scanf'
    8 |  scanf("%d",&m);
      |  ^~~~~
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C++

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

int main() {
  int n;
  cin >> n;
  for(int i = 0, i < 9,i++){
    if(n % (9 - i) == 0){
      n /= (9 - i);
      if(n <= 9){
        cout << "Yes" << endl;
      }else{
        cout << "No" << endl;
      }
      break;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before '<' token
    7 |   for(int i = 0, i < 9,i++){
      |                   ^~
      |                   ;
a.cc:7:20: error: expected primary-expression before '<' token
    7 |   for(int i = 0, i < 9,i++){
      |                    ^
a.cc:7:27: error: expected ';' before ')' token
    7 |   for(int i = 0, i < 9,i++){
      |                           ^
      |                           ;
Language: C

#iclude<stdio.h>
int main(void){
  int n,a,b;
  scanf("%d%d%d",&a,&b,&c);
  if(1<=a&&a<=9&&1<=b&&<=9){
    n=Yes;
  }else{
    n=No;
  }
  printf("%d\n",n);
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #iclude; did you mean #include?
    1 | #iclude<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   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 | #iclude<stdio.h>
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d%d%d",&a,&b,&c);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:25: error: 'c' undeclared (first use in this function)
    4 |   scanf("%d%d%d",&a,&b,&c);
      |                         ^
main.c:4:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:24: error: expected expression before '<=' token
    5 |   if(1<=a&&a<=9&&1<=b&&<=9){
      |                        ^~
main.c:6:7: error: 'Yes' undeclared (first use in this function)
    6 |     n=Yes;
      |       ^~~
main.c:8:7: error: 'No' undeclared (first use in this function)
    8 |     n=No;
      |       ^~
main.c:10:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |   printf("%d\n",n);
      |   ^~~~~~
main.c:10:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    for (int a = 1; a <= 9; a ++) {
      for (int b = 1; b <= 9; b ++) {
        if (a*b == n) {
          System.out.println("Yes");
        } else {
          System.out.println("NO");
        }
      }
    }
  }
}

Compiler output:
Main.java:8: error: cannot find symbol
        if (a*b == n) {
                   ^
  symbol:   variable n
  location: class Main
1 error
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    int a = sc.nextInt();
    
    if (a >= 82 || a != 80 || a != 70 || a != 60 || a != 50) {
      System.out.println("NO");
    } else if () {
      System.out.println("Yes");
    }
  }
}

Compiler output:
Main.java:10: error: illegal start of expression
    } else if () {
               ^
1 error
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    int a = sc.nextInt();
    
    if (a % 10 == 0) {
      system.out.println("NO");
    } else {
      system.out.println("Yes");
    }
  }
}

Compiler output:
Main.java:9: error: package system does not exist
      system.out.println("NO");
            ^
Main.java:11: error: package system does not exist
      system.out.println("Yes");
            ^
2 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		if(n==1) {
			System.out.print("Yes");
			found = true;
		}
		boolean found = false;
		for(int i = 1;i<=9 && !found;i++) {
			if(n%i == 0) {
				for(int j = 2;j<=9;j++) {
					if(n/i % j == 0 && n/i<=9) {
						System.out.print("Yes");
						found = true;
						break;
					}
				}
			}
		}
		if(!found) {
			System.out.print("No");
		}
	}
}



Compiler output:
Main.java:8: error: cannot find symbol
			found = true;
			^
  symbol:   variable found
  location: class Main
1 error
Language: C++

#include <stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  int count = 0;
  for(int i=1; i<9; i++){
    if(n%i === 0) count++;
  }
  printf((1<count)? "YES\n" : "NO\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '=' token
    7 |     if(n%i === 0) count++;
      |              ^
Language: C++

#include <stdio.h>

int isMultiply(int a){
  for(i=1;i<9;i++){
    for(j=1;j<9;i++){
      if(a % (i * j) == 0){
        return 1;
      }
    }
  }
  return 0;
}

int main(){
  int a, i, j;
  scanf("%d", &a);

  if(isMultiply(a) == 1){
    printf("Yes\n");
  }else{
    printf("No\n");
  }

  return 0;
}


Compiler output:
a.cc: In function 'int isMultiply(int)':
a.cc:4:7: error: 'i' was not declared in this scope
    4 |   for(i=1;i<9;i++){
      |       ^
a.cc:5:9: error: 'j' was not declared in this scope
    5 |     for(j=1;j<9;i++){
      |         ^
Language: C++

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

int main(){
    int N;
    cin >> N;
    bool ans = false;

    for(int i = 2;i<10;i++){
        if( N % i = 0 && 2 <= N/i <= 9){
            ans = true;
            break;
        }
        
    }
    if(ans = true){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: lvalue required as left operand of assignment
   10 |         if( N % i = 0 && 2 <= N/i <= 9){
      |             ~~^~~
Language: C++

#include <iostream>
#include <cmath>

using namespace std;

int main(){
  int N;
  int i,j;
  
  cin >> N;
  
  for(i=1; i<10; i++){
    if(N < 10) cout << "Yes" <<endl;
    else if(N%i==0 && N/i <10) cout<<"Yes"<<endl;
    else cout <<"No"<<endl;
    return 0;
  }

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

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

int main()
{
    int n;
    cin>>n;
    for(int i = 1 ; i<10 ; i++)
    {
        for(int j = 1 ; j<10 ; j++)
        {
            if(i*j==n)
            {
                cout<<"Yes";
                return 0;
            }
        }
    }
    cout<<"No";
    return 0;
}
        }
    }


Compiler output:
a.cc:22:9: error: expected declaration before '}' token
   22 |         }
      |         ^
a.cc:23:5: error: expected declaration before '}' token
   23 |     }
      |     ^
Language: C++

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

int main()
{
    int n;
    cin>>n;
    for(int i = 1 ; i<10 ; i++)
    {
        for(int j = 1 ; j<10 ; j++)
        {
            if(i*j==n)
            {
                cout<<"Yes";
                return 0;
            }
        }
    }
    oout<<"No";
    return 0;
}
        

Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: 'oout' was not declared in this scope
   19 |     oout<<"No";
      |     ^~~~
Language: C++

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

int main()
{
    int n;
    cin>>n;
    for(int i = 1 ; i<10 ; i++)
    {
        for(int j = 1 ; j<10 ; j++)
        {
            if(i*j==n)
            {
                cout<<"Yes";
                return 0;
            }
        }
    }
    oout<<"No";
    return 0;
}
      

Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: 'oout' was not declared in this scope
   19 |     oout<<"No";
      |     ^~~~
Language: C++

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

int main()
{
    int n;
    cin>>n;
    int flag = false;
    vector<int> v;
    for(int i = 1 ; i<10 ; i++)
    {
        if(!(n%i))
            v.push_back(i);
    }
    for(int i = 0 ; i<v.size() ; i++)
    {
        for(int j = i+1 ; j<v.size() ; j++)
        {
            if(v[i]*v[j] == n)
            {
                cout<<"Yes";
                flag = true;
                break;
            }
        }
    }
    if(!flag)
        cout<<"No";
    return 0;
}
        }
    }


Compiler output:
a.cc:31:9: error: expected declaration before '}' token
   31 |         }
      |         ^
a.cc:32:5: error: expected declaration before '}' token
   32 |     }
      |     ^
Language: C++

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

int main()
{
    int n;
    cin>>n;
    int flag = false;
    vector<int> v;
    for(int i = 1 ; i<10 ; i++)
    {
        if(!(n%i))
            v.push_back(i);
    }
    for(int i = 0 ; i<v.size() ; i++)
    {
        for(int j = 0 ; j<v.size() ; j++)
        {
            if(v[i]*v[j] == n)
            {
                cout<<"Yes";
                flag = true;
                break;
            }
        }
    }
        }
    }
    if(!flag)
        cout<<"No";
    return 0;
}



Compiler output:
a.cc:28:5: error: expected declaration before '}' token
   28 |     }
      |     ^
a.cc:29:5: error: expected unqualified-id before 'if'
   29 |     if(!flag)
      |     ^~
a.cc:31:5: error: expected unqualified-id before 'return'
   31 |     return 0;
      |     ^~~~~~
a.cc:32:1: error: expected declaration before '}' token
   32 | }
      | ^
Language: Java

import java.util.Scanner;

public class Main5 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int A,numero = 0;
        boolean sw=false;
        numero=sc.nextInt();
        for (int j = 1; j <10 ; j++) {
            for (int k = 1; k <10 ; k++) {
                if ((j*k)==numero){
                    sw=true;
                }
            }
        }
        if (sw==true){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }
}

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

import java.util.Scanner;

public class Main5 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int A, B;
        A=sc.nextInt();
        B=sc.nextInt();
        if (A>9 || B>9){
            System.out.println(-1);
        }else{
            System.out.println(A*B);
        }
    }
}

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

public class Main{

public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int A, B;
        A=sc.nextInt();
        B=sc.nextInt();
        if (A>9 || B>9){
            System.out.println(-1);
        }else{
            System.out.println(A*B);
        }
    }



}

Compiler output:
Main.java:4: error: cannot find symbol
        Scanner sc=new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        Scanner sc=new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int num = scan.nextInt();
    int a = 0;
    
    for(int i=1;i<=9;i++){
      for(int j=1;j<=9;j++){
        if(i*j==num){
          System.out.println("Yes");
          int a =1;
          break;
        }
      }
    }
    
    if(a=0){
    	System.out.println("No");
    }
  }
}


Compiler output:
Main.java:13: error: variable a is already defined in method main(String[])
          int a =1;
              ^
Main.java:19: error: incompatible types: int cannot be converted to boolean
    if(a=0){
        ^
2 errors
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int num = scan.nextInt();
    
    for(int i=1;i<=9;i++){
      for(int j=1;b<=9;j++){
        if(a*b==num){
          System.out.println("Yes");
          break;
        }
      }
    }
    
    System.out.println("No");
  }
}


Compiler output:
Main.java:9: error: cannot find symbol
      for(int j=1;b<=9;j++){
                  ^
  symbol:   variable b
  location: class Main
Main.java:10: error: cannot find symbol
        if(a*b==num){
           ^
  symbol:   variable a
  location: class Main
Main.java:10: error: cannot find symbol
        if(a*b==num){
             ^
  symbol:   variable b
  location: class Main
3 errors
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    
    for(int i=9;i<1;i--){
      if(a%i==0){
		b=a/i;
        if(b<=9){
          System.out.println("Yes");
          return;
        }
        else{
          System.out.println("No");
          return;
        }
      }
    }
     
  }
}


Compiler output:
Main.java:10: error: cannot find symbol
		b=a/i;
		^
  symbol:   variable b
  location: class Main
Main.java:11: error: cannot find symbol
        if(b<=9){
           ^
  symbol:   variable b
  location: class Main
2 errors
Language: C++

#include <stdio.h>
int main(){
  int a=0,b=0,c=0,i=0;
  scanf("%d",&a);
  for(b=1;b<=10;b++){
    c=a/b;
    for(i=1;i<=10;i++){
      if(c==i){
        break;
      }
    }
  }
  if(b==10 && i=10){
    printf("No\n");
  }
  else printf("Yes\n");
  return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define pb push_back
#define endl "\n"
#define inf 1000000007
#define FOR(i, a, b) for(int i=a; i<b; i++)
int dp[1000001] = {0};

void solve(){
	int n;
	cin>>n;
  bool flag = false;
	FOR(i, 1, 10){
      FOR(j, 1, 10){
        if(i*j==n) flag = true;
      }
    }
  if(flag)cout<<"Yes"<<endl;;
  else cout<<"No"<<endl;;
}
signed main(){
	#ifdef _DEBUG
		freopen("input.txt", "r", stdin);
    	freopen("output.txt", "w", stdout);
	#endif
	
	ios::sync_with_stdio(false);
	cin.tie(0);
	int t=1;
	//cin>>t;
	while(t--){
		solve();
	}
	return 0;
 
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:20:3: error: 'else' without a previous 'if'
   20 |   else cout<<"No"<<endl;;
      |   ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define pb push_back
#define endl "\n"
#define inf 1000000007
#define FOR(i, a, b) for(int i=a; i<b; i++)
int dp[1000001] = {0};

void solve(){
	int n;
	cin>>n;
  bool flag = false;
	FOR(i, 1, 10){
      FOR(j, 1, 10){
        if(i*j==n) flag = true;
      }
    }
  (flag==true)?cout<<"Yes";cout<<"No";
}
signed main(){
	#ifdef _DEBUG
		freopen("input.txt", "r", stdin);
    	freopen("output.txt", "w", stdout);
	#endif
	
	ios::sync_with_stdio(false);
	cin.tie(0);
	int t=1;
	//cin>>t;
	while(t--){
		solve();
	}
	return 0;
 
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:19:27: error: expected ':' before ';' token
   19 |   (flag==true)?cout<<"Yes";cout<<"No";
      |                           ^
      |                           :
a.cc:19:27: error: expected primary-expression before ';' token
Language: C

#include <stdio.h>
int mai(void)
{
  int n;
  if(n<=81){
    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

#include <stdio.h>
int mai(void)
{
  int n;
  if(n<=81){
    printf("Yes\n")
  }
  else{
    printf("No\n")
  }
  return 0;
}

Compiler output:
main.c: In function 'mai':
main.c:6:20: error: expected ';' before '}' token
    6 |     printf("Yes\n")
      |                    ^
      |                    ;
    7 |   }
      |   ~                 
main.c:9:19: error: expected ';' before '}' token
    9 |     printf("No\n")
      |                   ^
      |                   ;
   10 |   }
      |   ~
Language: C++

#include<iostream>
#inlude<string.h>
using namespace std;

int main()
{
  int N,i;
  cin>>N;
  for(i=9;i>0;i--)
  if(N%i==0)
  {
    if(N/i<10)
      cout<<"Yes";
    else
      cout<<"No";
  }
}

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #inlude; did you mean #include?
    2 | #inlude<string.h>
      |  ^~~~~~
      |  include
Language: C++

#include<iostream>
#inlude<string.h>
using namespace std;

int main()
{
  int N;
  cin>>N;
  for(i=9;i>0;i--)
  if(N%i==0)
  {
    if(N/i<10)
      cout<<'Yes';
    else
      cout<<'No';
  }
}

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #inlude; did you mean #include?
    2 | #inlude<string.h>
      |  ^~~~~~
      |  include
a.cc:13:13: warning: multi-character character constant [-Wmultichar]
   13 |       cout<<'Yes';
      |             ^~~~~
a.cc:15:13: warning: multi-character character constant [-Wmultichar]
   15 |       cout<<'No';
      |             ^~~~
a.cc: In function 'int main()':
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   for(i=9;i>0;i--)
      |       ^
Language: C++

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

int main(){
	int n,f=0;
  	for(int i=1;i<=9;i++){
    	for(int j=1;j<=9;j++){
        	if((i*j)==n)f=1;
        }
    }
  if(f==1)cout << "No";
  else cout << "Yes";
  
  return 0;
}

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

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

int main(){
    int N;
    cin >> N;
    for(int i=1;i<10;i++){
        for(int x=1;x<10;X++){
            if(N==i*x){
                cout << "Yes" << endl;
                return 0
            }
        }
    }
    cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: 'X' was not declared in this scope
    8 |         for(int x=1;x<10;X++){
      |                          ^
a.cc:11:25: error: expected ';' before '}' token
   11 |                 return 0
      |                         ^
      |                         ;
   12 |             }
      |             ~
Language: C++

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

int main(){
    int N;
    cin >> N;
    for(int i=1,i<10,i++){
        for(int x=1,x<10,X++){
            if(N==i*x){
                cout << "Yes" << endl;
                return 0
            }
        }
        cout << "No" << endl;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before '<' token
    7 |     for(int i=1,i<10,i++){
      |                  ^
      |                  ;
a.cc:7:18: error: expected primary-expression before '<' token
a.cc:7:25: error: expected ';' before ')' token
    7 |     for(int i=1,i<10,i++){
      |                         ^
      |                         ;
a.cc:8:22: error: expected ';' before '<' token
    8 |         for(int x=1,x<10,X++){
      |                      ^
      |                      ;
a.cc:8:22: error: expected primary-expression before '<' token
a.cc:8:26: error: 'X' was not declared in this scope
    8 |         for(int x=1,x<10,X++){
      |                          ^
a.cc:8:29: error: expected ';' before ')' token
    8 |         for(int x=1,x<10,X++){
      |                             ^
      |                             ;
a.cc:11:25: error: expected ';' before '}' token
   11 |                 return 0
      |                         ^
      |                         ;
   12 |             }
      |             ~            
a.cc:15:6: error: expected '}' at end of input
   15 |     }
      |      ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main(){
  int n,i,b=0;
  bool a=0,b=0;
  cin>>n;
  for(i=9;i>=1;i++){
    if(n%i==0){
      n=n/i;
      a=1;
    }
  }
  a=0;
  for(i=9;i>=1;i++){
    if(n%i==0){
      n=n/i;
      a=1;
    }
  }
    if(n==1)
      cout<<"Yes"<<endl;
      else
        cout<<"No"<<endl;
      return 0;
    }
    
    


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: conflicting declaration 'bool b'
    6 |   bool a=0,b=0;
      |            ^
a.cc:5:11: note: previous declaration as 'int b'
    5 |   int n,i,b=0;
      |           ^
Language: C++

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

int main(){
  int n,i;
  bool a=0,b=0;
  cin>>n;
  while(n>1&&a==0&&b<2){
    for(i=2;i<10;i++){
      if(n%i==0){
        n=n/i;
        b++
      }
      else a=1;
    }
  }
    if(n==1)
      cout<<"Yes"<<endl;
      else
        cout<<"No"<<endl;
      return 0;
    }
    
    


Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
   12 |         b++
      |         ^
Language: C++

N = int(input())

a = [0]*100
for i in range(10):
    for j in range(10):
        k = i*j
        a[k] = 1
        
if a[N] == 1:
    print('Yes')
else:
    print('No')

Compiler output:
a.cc:10:11: warning: multi-character character constant [-Wmultichar]
   10 |     print('Yes')
      |           ^~~~~
a.cc:12:11: warning: multi-character character constant [-Wmultichar]
   12 |     print('No')
      |           ^~~~
a.cc:1:1: error: 'N' does not name a type
    1 | N = int(input())
      | ^
Language: C++

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

int main(){
  int n,i;
  cin>>n;
  while(n>1){
    for(i=2;i<10;i++){
      if(n%i==0)
        n=n/i;
    }
    if(n==1){
      cout<<"Yes"<<endl;
      else
        cout<<"No"<<endl;
      return 0;
    }
    
    


Compiler output:
a.cc: In function 'int main()':
a.cc:14:7: error: expected '}' before 'else'
   14 |       else
      |       ^~~~
a.cc:12:13: note: to match this '{'
   12 |     if(n==1){
      |             ^
a.cc:17:6: error: expected '}' at end of input
   17 |     }
      |      ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main(){
  int n,i;
  cin>>n;
  while(n>1){
    for(i=2;i<10;i++){
      if(n%i==0)
        n=n/i;
    }
    if(n==1){
      cout<<"Yes"<<endl;
      else
        cout<<"No"<<endl;
      return 0;
    }
    
    


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

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

int main()
{
   int n;
   cin >> n;
   for(int i = 1; i <= 9; i++){
       for(int j = 1;j <= 9; j++){
           if(i*j == n){
               cout <<"Yes" << endl;
               return 0;
           }
           }
       }
   }
   cout <<"No" << endl;
  
}


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

#include<bits/stdc++.h>
using namespace std;
int a;
bool c=false;
int main(){
  cin>>a;
  for(int i=1;i<=9;i++){
    if(a%i==0)c=true;
  }
  if(c==ture)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'ture' was not declared in this scope
   10 |   if(c==ture)cout<<"Yes"<<endl;
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a;
bool c=true;
int main(){
  cin>>a;
  for(int i=1;i<=9;i++)if(a%i!=0)c=false;
  if(c==ture)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'ture' was not declared in this scope
    8 |   if(c==ture)cout<<"Yes"<<endl;
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a;
bool c=true;
int main(){
  cin>>a;
  for(int i=1;i<=9;i++){
    if(a%i)c=false;
  }
  if(c==ture)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'ture' was not declared in this scope
   10 |   if(c==ture)cout<<"Yes"<<endl;
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a;
bool c=true;
int main(){
  cin>>a;
  for(int i=1;i<=9;i++)if(a%i)c=false;
  if(c==ture)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'ture' was not declared in this scope
    8 |   if(c==ture)cout<<"Yes"<<endl;
      |         ^~~~
Language: C++

#include<iosteram>

using namespace std;

int main(){
	int n;
  	cin >> n;
  	for(int i = 1; i<10 ; i++){
     	if(n/i <= 9){
       		cout << "Yes";
          	return 0;
        }
    }
  	cout << "No";
  	return 0;
}

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

#include <iostream>
using namespace std;
int main(){	
	ios_base::sync_with_stdio(0);
	int n;
	cin >> n;	

	bool cont=1;
	for(int i=1;i<10;i++){
		for(int j=1;j<10;j++){
			if(i*j==n){
				cont=0;
				break;
			}
		}
	}
	
	if(!cont){
		cout << "Yes\n";
	}
	else	cout << "No\n";
} 
}

Compiler output:
a.cc:23:1: error: expected declaration before '}' token
   23 | }
      | ^
Language: C++

#include<iostream>
using namespace std;

main() {
  int N;
  cin >> N;
  for (int i=2; i<=9; i++;) {
    if (N % i == 0) {
      if (N / i <= 9) {
        cout << "Yes";
        return 0;
      }
    }
  }
  cout << "No";
  return 0;
}


Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:26: error: expected ')' before ';' token
    7 |   for (int i=2; i<=9; i++;) {
      |       ~                  ^
      |                          )
a.cc:7:27: error: expected primary-expression before ')' token
    7 |   for (int i=2; i<=9; i++;) {
      |                           ^
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int N=sc.nextInt();
for(int A=1;A<=9;A++) { 
for(int B=1;B<=9;B++){
if(A*B==n){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
}
}
}


Compiler output:
Main.java:8: error: cannot find symbol
if(A*B==n){
        ^
  symbol:   variable n
  location: class Main
1 error