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

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

void func144b() {
  int n;
  vector<int> kuku = {1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,28,30,32,35,36,40,42,45,48,49,54,56,63,64,72,81,0};
  cin >> n;
  if (n > 81) {
    cout << "No";
    return;
  }
  auto result = find(kuku.begin(), kuku.end(), n);
  if (result == kuku.end()) {
    cout << "No";
  } else {
    cout << "Yes";
  }
}

int main() {
  while (true){
    func144b();
  }
  return 0;
}

Compiler output:
a.cc: In function 'void func144b()':
a.cc:7:3: error: 'vector' was not declared in this scope
    7 |   vector<int> kuku = {1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,28,30,32,35,36,40,42,45,48,49,54,56,63,64,72,81,0};
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | #include <string>
a.cc:7:10: error: expected primary-expression before 'int'
    7 |   vector<int> kuku = {1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,28,30,32,35,36,40,42,45,48,49,54,56,63,64,72,81,0};
      |          ^~~
a.cc:13:22: error: 'kuku' was not declared in this scope
   13 |   auto result = find(kuku.begin(), kuku.end(), n);
      |                      ^~~~
Language: C++

#include <iostream>
using namespace std;

void solve(){
  int n; cin >> n;
  if(n > 81 || n = 0) cout << "No\n";
  else cout << "Yes\n";
  return;
}

int main(){
  solve();
  return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:6:13: error: lvalue required as left operand of assignment
    6 |   if(n > 81 || n = 0) cout << "No\n";
      |      ~~~~~~~^~~~
Language: C++

/*   _/                _/                 _/_/_/   _/
  _/_/_/_/   _/_/   _/_/_/_/   _/_/    _/       _/_/
   _/     _/    _/   _/     _/    _/  _/_/_/     _/
  _/     _/    _/   _/     _/    _/  _/    _/   _/
   _/_/   _/_/       _/_/   _/_/      _/_/     _/ */
#include<iostream>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<set>
#include<map>
#include<queue>
#include<vector>
using namespace std;
using ll=long long;
const int MOD=1e9+7;
const double pi=3.14159265358979323846;
const int inf=2e9;
const ll INF=1e18;
using P=pair<int,int>;
int dx[4]={1,0,-1,0},dy[4]={0,1,0,-1};
int main() {
  cin.tie(0),cout.tie(0);
  ios::sync_with_stdio(false);
  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: In function 'int main()':
a.cc:27:7: error: 'Int' was not declared in this scope; did you mean 'int'?
   27 |   for(Int i=1; i<=9; i++) {
      |       ^~~
      |       int
a.cc:27:16: error: 'i' was not declared in this scope
   27 |   for(Int i=1; i<=9; i++) {
      |                ^
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <set>
#include <map>

using namespace std;

int main() 
{
	int N;
	cin >> N;

	for (int i = 0; i < 9; ++i) {
		if (N % (9 - i) == 0) 
			if (N / (9 - i) < 10) {
				cout << "Yes" << endl;
				return;
			}
	}
	cout << "No" << endl;
}


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

#include <bits/stdc++.h>
using namespace std;
 
 
int main(){
  int N;
  for(ii=9; ii>0; ii--){
    if(N%ii!=0) continue;
    if(N/ii<=9){
      cout << "Yes" << endl;
    }
  }
  cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'ii' was not declared in this scope
    7 |   for(ii=9; ii>0; ii--){
      |       ^~
Language: C

#include <stdio.h>
int main(void){
	int a,i,c=0;
	float f;
	scanf("%d",&a);
	f=a
	for(i=2;i<10;i++){
		if((a%i==0)&&(f/i<10))c=1;
	}
	c==1?printf("Yes"):printf("No");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: expected ';' before 'for'
    6 |         f=a
      |            ^
      |            ;
    7 |         for(i=2;i<10;i++){
      |         ~~~
Language: Java


import java.util.*;

public class Abc144_b {
	public static void main(String[] args) {
		int flag = 0;
		
		Scanner sc = new Scanner(System.in);
		
		//intを受け取る
		int n = sc.nextInt();
		
		for(int i=1;i<=9;i++) {
			for(int j=1;j<=9;j++) {
				if(i*j == n) {
					flag = 1;
					break;
				}
			}
		}
		if(flag == 1) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
}


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


import java.util.*;

public class Abc144_b {
	public static void main(String[] args) {
		int flag = 0;
		
		Scanner sc = new Scanner(System.in);
		
		//intを受け取る
		int n = sc.nextInt();
		
		for(int i=1;i<=9;i++) {
			for(int j=1;j<=9;j++) {
				if(i*j == n) {
					flag = 1;
					break;
				}
			}
		}
		if(flag == 1) {
			System.out.println("yes");
		}else {
			System.out.println("no");
		}
	}
}


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

#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#include<algorithm>
#define N 81

int main(){
  int a[N];
  rep(i, N){
    rep(j, N){
      a[N*i+ j] = (i+1)*(j+1);
    }
  }
  int tf=0;
  int x;
  cin >> x;
  rep(i, N*N){
    if(x==a[i]){
       tf=1;
    }
  }
  if(t==1){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:23:6: error: 't' was not declared in this scope
   23 |   if(t==1){
      |      ^
Language: C++

#include<iostream>
#include<vector>
#define rep(i, , s, n) for(int i=(s);i<(n);i++)
using namespace std;

int main(){
  int x;
  cin >> x;
  bool exist = false;
  
  rep(i, 1, 10){
    rep(j, i, 10){
      if (i * j == x) exist = true;
    }
  }
  if(exist) cout << "Yes" << endl;
  else cout << "No" << endl;
    

Compiler output:
a.cc:3:16: error: expected parameter name, found ","
    3 | #define rep(i, , s, n) for(int i=(s);i<(n);i++)
      |                ^
a.cc: In function 'int main()':
a.cc:11:7: error: 'i' was not declared in this scope
   11 |   rep(i, 1, 10){
      |       ^
a.cc:11:3: error: 'rep' was not declared in this scope
   11 |   rep(i, 1, 10){
      |   ^~~
a.cc:17:29: error: expected '}' at end of input
   17 |   else cout << "No" << endl;
      |                             ^
a.cc:6:11: note: to match this '{'
    6 | int main(){
      |           ^
Language: C++

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

int main(){

  int N=0;
  cin>>N;

  for(int i=1;i<10;i++){
    
    if(N%i==0 && N/i<10){cout<<"Yes";return 0}

  }
  
  cout<<"No"<<endl;

  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:46: error: expected ';' before '}' token
   14 |     if(N%i==0 && N/i<10){cout<<"Yes";return 0}
      |                                              ^
      |                                              ;
Language: C++

#include<iostream>

using namespace
int main()
{
  int n;
  cin>>n;
  int counter=0;
  if(n>81)
    cout<<"No"<<endl;
  else
  {
    for(int i=1;i<82;i++)
    {
      int a=n%i;
      int b=n/i;
      if(a==0&&b<10)
      {
        cout<<"Yes"<<endl;
        counter++;
        break;
      }
    }
    if(counter==0)
      cout<<"No"<<endl;
  }
}

Compiler output:
a.cc:4:1: error: expected identifier before 'int'
    4 | int main()
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | int main()
      | ~~~             
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   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:10:5: 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:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout<<"No"<<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:19:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |         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:19:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   19 |         cout<<"Yes"<<endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:25:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   25 |       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:25:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   25 |       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<iostream>

using namespace
{
  int n;
  cin>>n;
  int counter=0;
  if(n>81)
    cout<<"No"<<endl;
  else
  {
    for(int i=1;i<82;i++)
    {
      int a=n%i;
      int b=n/i;
      if(a==0&&b<10)
      {
        cout<<"Yes"<<endl;
        counter++;
        break;
      }
    }
    if(counter==0)
      cout<<"No"<<endl;
  }
}

Compiler output:
a.cc:4:1: error: expected identifier before '{' token
    4 | {
      | ^
a.cc:3:16: error: expected ';' before '{' token
    3 | using namespace
      |                ^
      |                ;
    4 | {
      | ~               
a.cc:4:1: error: expected unqualified-id before '{' token
    4 | {
      | ^
Language: C++

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

int main(){
  int N;
  cin >> N;
  bool ans = flase;
  for(int i = 1; i <= 9; i++){
    for(int j = 1; j <= 9; j++){
      if(i*j == N) ans = true;
    }
  }
  if(ans) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: 'flase' was not declared in this scope; did you mean 'fclose'?
    7 |   bool ans = flase;
      |              ^~~~~
      |              fclose
Language: C++

#include<bits/stdc++.h>

int main(){
  using namespace std;
  unsigned long N;
  cin >> N;
  for(unsigned long i{1}; i < 10; ++i)
    if(N & i ~~ 0 && N / i <= 9)return 0 & puts("Yes");
  puts("No");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected ')' before '~' token
    8 |     if(N & i ~~ 0 && N / i <= 9)return 0 & puts("Yes");
      |       ~     ^~
      |             )
Language: C++

#include<iostream>
using namespace std;
int main(){
int n,i,j;
cin >> n;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
if(i*j==n){
cout << "Yes" <<endl;
return0;
}
}
}
cout << "No" <<endl;
return0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:1: error: 'return0' was not declared in this scope
   10 | return0;
      | ^~~~~~~
a.cc:15:1: error: 'return0' was not declared in this scope
   15 | return0;
      | ^~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
if(i*j==n){
cout << "Yes" <<endl;
return0;
}
}
}
cout << "No" <<endl;
return0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before '<' token
    6 |   for(i=1;i=<9;i++){
      |             ^
a.cc:7:15: error: expected primary-expression before '<' token
    7 |     for(j=1;j=<9;j++){
      |               ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
for(i=1;i<=9;i++){
for(j=a;j<=9;j++){
if(i*j==n){
cout << "Yes" <<endl;
return0;
}
}
}
cout << "No" <<endl;
return0;
}

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

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

int main() {
  int N, M, A;
  cin >> N;
  int count = 0;
  for(int i = 2; i < 10; i++){
      M = N/i;
      A = N%i;
      if(M > 0 && M < 10 && A == 0){
          count++;
      }
  }
  if(N == 1 || N == 2) cout << "Yes" << endl;

  if(count > 0){
      cout << "Yes" << endl;
  }
  else cout << "No" << endl;

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

int main() {
  int N, M, A;
  cin >> N;
  int count = 0;
  for(int i = 2; i < 10; i++){
      M = N/i;
      A = N%i;
      if(M > 0 && M < 10 && A == 0){
          count++;
      }
  }
  if(N == 1 || N == 2) cout << "Yes" << endl;

  if(count > 0){
      cout << "Yes" << endl;
  }
  else cout << "No" << endl;

}

Compiler output:
a.cc:22:2: error: stray '#' in program
   22 | }#include <bits/stdc++.h>
      |  ^
a.cc:22:3: error: 'include' does not name a type
   22 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:25:5: error: redefinition of 'int main()'
   25 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
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;
        std::cin >> n;
        for (int a = 1; a < 9; ++a) for (int b = 1; b < 9; ++b)
        {
            if(a*b == n){
                std::cout << "Yes" << "\n";
                return 0;
            }
            
            }
        }
        else{
                std::cout << "No" << "\n";

        return 0;
    }


Compiler output:
a.cc:22:9: error: expected unqualified-id before 'else'
   22 |         else{
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
#define int long long
#define mod 1000000007
#define trace(x) cerr<<#x<<": "<<x<<" "<<endl
#define tarce(x) cerr<<#x<<": "<<x<<" "<<endl
#define trace2(x, y) cerr<<#x<<": "<<x<<" | "<<#y<<": "<<y<<endl
#define trace3(x, y, z) cerr<<#x<<":" <<x<<" | "<<#y<<": "<<y<<" | "<<#z<<": "<<z<<endl
#define trace4(a, b, c, d) cerr<<#a<<": "<<a<<" | "<<#b<<": "<<b<<" | "<<#c<<": "<<c<<" | "<<#d<<": "<<d<<endl
#define sa(a,n) for(int i =0 ; i<n ; i++) cin>>a[i]
#define max3(a,b,c) max(a,max(b,c))
#define min3(a,b,c) min(a,min(b,c))
#define pb push_back
#define inf 2e18
#define scan() int n; cin>>n ; int a[n]; for(int i = 0 ; i<n ; i++) cin>>a[i]
#define print(a,n) for(int i = 0 ; i < n ; i++) cout<<a[i]<<' '
#define mem(a,v) memset(a,v,sizeof(a))
#define pii pair<int,int>
#define mkp make_pair
using namespace std;
#define N 200005


int32_t main(){
        ios_base::sync_with_stdio(false);
        cin.tie(NULL);
        cout.tie(NULL);
  
  int n;
  cin >> n;
  for(int i=1; i<=9; i++){
    if(n%i==0 && n/i <9){
    cout << "Yes";
      return 0
    }
  }
     cout << "No";     

}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:33:15: error: expected ';' before '}' token
   33 |       return 0
      |               ^
      |               ;
   34 |     }
      |     ~
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {


		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		for(int i =1;i <=9; i++) {
			for(int j =1;j <=9; j++) {
				if(i * j == n) {
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

	}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ')' before ';' token
    8 |     for(int j=1;;j<=9;j++){
      |        ~             ^
      |                      )
a.cc:8:23: error: 'j' was not declared in this scope
    8 |     for(int j=1;;j<=9;j++){
      |                       ^
Language: C++

using namespace std;
int main(){
    float N;cin >> N;
    bool a;
    for(float i=1;i<10;i++){
        if(float(N/i)==1||float(N/i)==2||float(N/i)==3||float(N/i)==4||float(N/i)==5||float(N/i)==6||float(N/i)==7||float(N/i)==8||float(N/i)==9){
            a = true;
        }
    }
    if(a == true){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:13: error: 'cin' was not declared in this scope
    3 |     float N;cin >> N;
      |             ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:26: error: 'endl' was not declared in this scope
   11 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "No" << endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:25: error: 'endl' was not declared in this scope
   13 |         cout << "No" << endl;
      |                         ^~~~
a.cc:13:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include<iostream>
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";
                exit(0);
            }
        }
    }
    cout << "No" << endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:15:26: error: expected '}' at end of input
   15 |     cout << "No" << endl;
      |                          ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include<iostream>
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";
                exit(0);
            }
        }
    }
    cout << "No" endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:15:17: error: expected ';' before 'endl'
   15 |     cout << "No" endl;
      |                 ^~~~~
      |                 ;
a.cc:15:23: error: expected '}' at end of input
   15 |     cout << "No" endl;
      |                       ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include<iostream>
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";
                exit(0);
            }
        }
    }
    cout << "No";

Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected '}' at end of input
   15 |     cout << "No";
      |                  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#inckude <iostream>
using namespace std;

int main(){
  	// ask user for a number
  	int N;
  	cin >> N;
  	
  	int i, j, temp;
  	for(i=1; i<=9; i++){
      for(j=1; j<=9; j++){
        temp = i*j;
      }
    }
  	if (N==temp){
          cout << "Yes" << endl;
      
    }
  	else{
          cout << "No" << endl;
    }
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude <iostream>
a.cc:16:11: error: 'cout' was not declared in this scope
   16 |           cout << "Yes" << endl;
      |           ^~~~
a.cc:16:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:28: error: 'endl' was not declared in this scope
   16 |           cout << "Yes" << endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude <iostream>
a.cc:20:11: error: 'cout' was not declared in this scope
   20 |           cout << "No" << endl;
      |           ^~~~
a.cc:20:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:20:27: error: 'endl' was not declared in this scope
   20 |           cout << "No" << endl;
      |                           ^~~~
a.cc:20:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#inckude <iostream>
using namespace std;

int main(){
  	// ask user for a number
  	int N;
  	cin >> N;
  	
  	int i, j, temp;
  	for(i=1; i<=9; i++){
      for(j=1; j<=9; j++){
        temp = i*j;
      }
    }
  	if (N==temp){
          cout << "Yes" << endl;
  	else{
          cout << "No" << endl;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude <iostream>
a.cc:16:11: error: 'cout' was not declared in this scope
   16 |           cout << "Yes" << endl;
      |           ^~~~
a.cc:16:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:28: error: 'endl' was not declared in this scope
   16 |           cout << "Yes" << endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude <iostream>
a.cc:17:9: error: expected '}' before 'else'
   17 |         else{
      |         ^~~~
a.cc:15:21: note: to match this '{'
   15 |         if (N==temp){
      |                     ^
a.cc:18:11: error: 'cout' was not declared in this scope
   18 |           cout << "No" << endl;
      |           ^~~~
a.cc:18:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:18:27: error: 'endl' was not declared in this scope
   18 |           cout << "No" << endl;
      |                           ^~~~
a.cc:18:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#inckude <iostream>
using namespace std;

int main(){
  	// ask user for a number
  	int N;
  	cin >> N;
  	
  	int i, j, temp;
  	for(i=1; i<9; i++){
      for(j=1; j<9; j++){
        temp = i*j;
        if (N==temp){
          cout << "Yes" << endl;
        }
        else{
          cout << "No" << endl;
        }
      }
    }
  
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude <iostream>
a.cc:14:11: error: 'cout' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |           ^~~~
a.cc:14:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:28: error: 'endl' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude <iostream>
a.cc:17:11: error: 'cout' was not declared in this scope
   17 |           cout << "No" << endl;
      |           ^~~~
a.cc:17:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:27: error: 'endl' was not declared in this scope
   17 |           cout << "No" << endl;
      |                           ^~~~
a.cc:17:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#inckude <iostream>
using namespace std;

int main(){
  	// ask user for a number
  	int N;
  	cin >> N;
  	
  	int i, j, temp;
  	for(i=1; i<10; i++){
      for(j=1; j<10; j++){
        temp = i*j;
        if (N==temp){
          cout << "Yes" << endl;
        }
        else{
          cout << "No" << endl;
        }
      }
    }
  
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude <iostream>
a.cc:14:11: error: 'cout' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |           ^~~~
a.cc:14:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:28: error: 'endl' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude <iostream>
a.cc:17:11: error: 'cout' was not declared in this scope
   17 |           cout << "No" << endl;
      |           ^~~~
a.cc:17:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:27: error: 'endl' was not declared in this scope
   17 |           cout << "No" << endl;
      |                           ^~~~
a.cc:17:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#inckude <iostream>
using namespace std;

int main(){
  	// ask user for a number
  	int N;
  	cin >> N;
  	
  	int i, j;
  	for(i=1; i<10; i++){
      for(j=1; j<10; j++){
        temp = i*j;
        if (N==temp){
          cout << "Yes" << endl;
        }
        else{
          cout << "No" << endl;
        }
      }
    }
  
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude <iostream>
a.cc:12:9: error: 'temp' was not declared in this scope
   12 |         temp = i*j;
      |         ^~~~
a.cc:14:11: error: 'cout' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |           ^~~~
a.cc:14:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:28: error: 'endl' was not declared in this scope
   14 |           cout << "Yes" << endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude <iostream>
a.cc:17:11: error: 'cout' was not declared in this scope
   17 |           cout << "No" << endl;
      |           ^~~~
a.cc:17:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:27: error: 'endl' was not declared in this scope
   17 |           cout << "No" << endl;
      |                           ^~~~
a.cc:17:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
using namespace std;

int main(){
  	// ask user for a number
    int N;
    cin >> N;
  
  	// make a nested for loop. Compare the input to the numbers we make
    int i, j;
	for (i=1; i<10; i++){
    	for(j=1; j<10; j++){
          temp = i*j;
          if (N==temp){
            cout << "Yes";
          }
          else{
            cout << "No";
          }
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: 'temp' was not declared in this scope; did you mean 'tm'?
   13 |           temp = i*j;
      |           ^~~~
      |           tm
Language: C++

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

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

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,x;
  cin >> n;
  x=0;
  for(int i=2;i<10;i++){
    if(n%i!=0){
      if(n/i=<9){
        x++;
    }
  }
  }
  if(x==0){
    cout << "No" << endl;
  }else{
    cout << "Yes" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected primary-expression before '<' token
    9 |       if(n/i=<9){
      |              ^
Language: C++

#include<iostream>
int main()
{
    int n,k=0;
    cin>>n;

    for(int i=1;i<=9;i++){
        for(int j=1;j<=9;j++){
            if(i*j==n){
                k=1;
                cout<<"YES"<<endl;
                break;
            }
        }
        }

        if(k==0){
            cout<<"NO"<<endl;
        }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     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:11:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |                 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:11:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |                 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:18:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |             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:18:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |             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<iostream>
using namespace std;
int main()
{
  int n,p;
  cin>>n;
  for(int i=1;i<=9;i++)
  {
    for(int j=1;j<=9;j++)
    {
      if(i*j==n)
      {
        cout<<"Yes";
        p=1;
        break;
      }
     if(p==1)
       break;
    }
    if(p!=1)
      cout<<"No";
    return 0;
  }

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

#include<bits/stdc++.h>
using namespace std;
int main(){
int N;
  bool flag;
  cin >> N;
  flag = 0;
  for(int i=1; i<10;i++){
for(int j=1; j<10; j++){
if(i*j==N){
  flag = 1;
  break;
}
  
  if(flag) cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:8:25: note: to match this '{'
    8 |   for(int i=1; i<10;i++){
      |                         ^
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int N;
  bool flag;
  cin >> N;
  flag = 0;
  for(int i=1; i<10;i++){
for(int j=1; j<10; j++){
if(i*j=N){
  flag = 1;
  break;
}
  
  if(flag) cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: lvalue required as left operand of assignment
   10 | if(i*j=N){
      |    ~^~
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:8:25: note: to match this '{'
    8 |   for(int i=1; i<10;i++){
      |                         ^
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
int main(){
int N;
  bool flag;
  cin >> N;
  flag = 0;
  for(int i=1; i<10;i++){
for(int j=1; j<10; j++){
if(i*j=N){
  flag = 1;
  break;
}
  
  if(flag) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> N;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:5: error: lvalue required as left operand of assignment
    9 | if(i*j=N){
      |    ~^~
a.cc:14:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |   if(flag) 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:14:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |   if(flag) cout << "Yes" << endl;
      |                             ^~~~
      |                             std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 |   else 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:15:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   15 |   else cout << "No" << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:7:25: note: to match this '{'
    7 |   for(int i=1; i<10;i++){
      |                         ^
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:2:11: note: to match this '{'
    2 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std;

int void(){
  int n;
  cin>>n;
  int flg=0;
  for(int i=9;i<1;i--){
    if(n%i){
      if(n/i<10){
        flg=1;
        break;
      }else{
        break;
      }
    }
  }
  if(flg==1){
    cout<<"Yes";
  }else{
    cout<<"No";
  }
}

Compiler output:
a.cc:4:10: error: expected unqualified-id before ')' token
    4 | int void(){
      |          ^
Language: C++

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


Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(void) {  int qq, n, i, u;scanf("%d", &n);  for(i = 1;i <= 9;i++) {for(u = 1;u <= 9;u++) { qq = i * u; if(qq == n){puts("Yes"); return 0;}}}puts("No");return 0;}
      |                      ^~~~
a.cc:1:9: fatal error: stdio.h>in: No such file or directory
    1 | #include<stdio.h>int main(void) {  int qq, n, i, u;scanf("%d", &n);  for(i = 1;i <= 9;i++) {for(u = 1;u <= 9;u++) { qq = i * u; if(qq == n){puts("Yes"); return 0;}}}puts("No");return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i=0; i<(int)(n); ++i)
 
template<class T> inline bool chmin(T &a, T b) { if(a>b){ a=b; return true; }  return false;}
template<class T> inline bool chmax(T &a, T b) { if(a<b){ a=b; return true; }  return false;}

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



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

 #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"); 12 }


Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    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"); 12 }
      |                    ^
/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> 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"); 12 }


Compiler output:
a.cc:1:20: warning: extra tokens at end of #include directive
    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"); 12 }
      |                    ^
/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<bits/stdc++.h>
using namespace std;

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


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: expected ';' before ')' token
   10 |     for(int j = 0;i < 10){
      |                         ^
      |                         ;
Language: Java

import java.util.*;

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();

    for(int i=1; i<10 i++){
       for(int j=1 j<10 j++){
           
          if(N == i*j){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }

       }
    }
  }
}

Compiler output:
Main.java:10: error: ';' expected
    for(int i=1; i<10 i++){
                     ^
Main.java:11: error: ';' expected
       for(int j=1 j<10 j++){
                  ^
Main.java:11: error: ';' expected
       for(int j=1 j<10 j++){
                       ^
3 errors
Language: C++

#include<bits/stdc++.h>
#define int long long
using namespace std;
#define deb(x) cout<<#x<<" = "<<x<<"\n";
 
signed 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\n"; return 0;
			}
		}
	}
	cout<<"No\n"; return 0;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:29: error: lvalue required as left operand of assignment
   15 |                         if(i*j = n)
      |                            ~^~
Language: C++

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

#define rep(i,n) for(ll i=0;i<(ll)n;i++)
#define rep2(i, begin_i, end_i) for (ll i = (ll)begin_i; i < (ll)end_i; i++)

long long INF = 1LL<<60;
int n;
int main(){
    cin>>n;
    rep(i,10){
        rep(j,10)[
            if(i*j==n){
                cout<<"Yes"<<endl;
                return 0;
            }
        ]
    }
    cout<<"No"<<endl;
    return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:16:13: error: expected identifier before 'if'
   16 |             if(i*j==n){
      |             ^~
a.cc: In lambda function:
a.cc:21:5: error: expected '{' before '}' token
   21 |     }
      |     ^
a.cc: In function 'int main()':
a.cc:20:10: error: expected ';' before '}' token
   20 |         ]
      |          ^
      |          ;
   21 |     }
      |     ~
Language: C++

//g++  5.4.0

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

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

//g++  5.4.0

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

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

//g++  5.4.0

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

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

//g++  5.4.0

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

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

//g++  5.4.0

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

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