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

#include <bits/stdc++.h>
#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
using namespace std;
 
 
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
 
int main() {
  
  int A;
  cin >> A;
  if (A<=9||(A<=18&&A%2==0)||(A<=27&&A%3==0)||(A<=36&&A%4==0)||(A<=45&&A%5==0)||(A<=54&&A%6==0)||(A<=63&&A%7==0)||(A<=72&&A%8==0)||(A<=81&&A%9==0)){
    cout << "Yes" << endl;
  }
  else { 
  	cout << "No" << endl;
}

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

#include<stdio.h>
int main(void){
  int N,flag=0;
   scanf("%d\n",&N);
  for(int n=1;n<=9;n++){
    for(int j=n;j<=9;j++){
      if(n*j==N){
        flag=1;
        break;
      }
    }
  }
  switch(flag==)
    case 1
      printf("yes\n");
    case 0
      printf("no\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:16: error: expected expression before ')' token
   13 |   switch(flag==)
      |                ^
main.c:17:7: error: expected ':' or '...' before 'printf'
   17 |       printf("no\n");
      |       ^~~~~~
Language: C++

#include <iostream>
#include <algorithm>
#include <string>
#include <cmath>
#include <queue>
#include <cstdio>
using namespace std;
typedef long long ll;

int gcd(int a,int b){
    if(b==0)return a;
    return gcd(b,a%b);
}

int lcm(int a,int b){
    return a*b/gcd(a,b);
}

int main(){
    ll a,b,c,d,e,k,l,m,n,o=0,p,q,r,x,y,z,max1=0,ans=0;
    string s,t,u;
    cin>>n;
    
    for(ll i=1;i<10;i++){
     if(n%i=0&&n/i<10&&n/i>0)o++;   
    }
    if(o==0) cout<<"No"<<endl;
    else cout<<"Yes"<<endl;
    
}






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

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

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

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

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

#include<bits/stdc++.h>

using namespace std;

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


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

#include <iostream>
using namespace std;

int main(void)
{
  int a,b,c;
  cin>>a;
  c=1;
  while(c!=10){
  	b=a/c;
  	if(b>9)
  	{
   	 cout<<"Yes"<<e0ndl;
      break;
  	}
    c+=1;
  }
  if(c==10)
  {
    cout<<"No"<<endl;
  }
  return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected ';' before 'a'
    6 |   for(a=0 a<10 a++){
      |          ^~
      |          ;
a.cc:12:3: error: expected primary-expression before 'return'
   12 |   return 0;
      |   ^~~~~~
a.cc:11:4: error: expected ';' before 'return'
   11 |   }
      |    ^
      |    ;
   12 |   return 0;
      |   ~~~~~~
a.cc:12:3: error: expected primary-expression before 'return'
   12 |   return 0;
      |   ^~~~~~
a.cc:11:4: error: expected ')' before 'return'
   11 |   }
      |    ^
      |    )
   12 |   return 0;
      |   ~~~~~~
a.cc:6:6: note: to match this '('
    6 |   for(a=0 a<10 a++){
      |      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  /int a,b;
  int z;
  cin>>z;
  vector<int>v;
  for(int i=1;i<=9;i++)
    for(int j=1;j<=9;j++)
    {int x=i*j;v.push_back(x);}
 /// int z=a*b;
  if(find(v.begin(),v.end(),z)!=v.end())
    cout<<"YES";
  else
    cout<<"NO";
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: expected primary-expression before '/' token
    4 |   /int a,b;
      |   ^
a.cc:4:4: error: expected primary-expression before 'int'
    4 |   /int a,b;
      |    ^~~
Language: C

#include<stdio.h>
int main(void){

  //９X９までの計算結果を先に用意する
  int ans[10][10];
  for(int i = 1; i <= 9; i++){
    for(int j = 1; j <= 9; j++){
      ans[i][j] = i*j;
    }
  }
  
  //変数を受け取る
  int N;
  scanf("%d", &N);
  
  //受け取った変数と一致するものがあるか調べる
  bool flg = false;
  for(int i = 1; i <= 9; i++){
    for(int j = 1; j <= 9; j++){
      if(N == ans[i][j]){
      	flg = true;
        break;
      }
    }
  }
  
  //結果を出力
  if(flg){
  	printf("Yes\n");
  }else{
  	printf("No\n");
  }
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:3: error: unknown type name 'bool'
   17 |   bool flg = false;
      |   ^~~~
main.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include<stdio.h>
  +++ |+#include <stdbool.h>
    2 | int main(void){
main.c:17:14: error: 'false' undeclared (first use in this function)
   17 |   bool flg = false;
      |              ^~~~~
main.c:17:14: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:17:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:15: error: 'true' undeclared (first use in this function)
   21 |         flg = true;
      |               ^~~~
main.c:21:15: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
Language: C++

#include <bits/stdc++.h>
#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
using namespace std;


#define rep(i, n) for (int i = 0; i < (int)(n); i++)
 
int main() {
  
  int A;
  cin >> A;
  if (A<=9||A==12||A==14||A==15||A==16||A==18||A==20||A==21||A==24||A==25||A==27||A==28||A==30||A==32||A==35||A==36||A==40||A==42||A==45||A==48||A==49||A==54||A==56||A==63||A==72||A==81){
    cout << "Yes" << endl;
  }
  else { 
  	cout << "No" << endl;
}


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


import java.util.Scanner;

public class Main2 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		String ans = "";
		ans = calc(n) ? "Yes" : "No";
		System.out.println(ans);
	}


	public static boolean calc(int n) {
		for (int i = 1; i <= 9; i++) {
			for (int j = 1; j <= 9; j++) {
				if (i * j == n)
					return true;
			}
		}
		return false;
	}

}


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

#include<stdio.h>

int main(void){
  int a=0;
  scanf("%d",&a);
  int j=0;
  for(int i=1;i<=9;i++){
    if(a%i==0){
      int t=a/i
      for(int j=0;j<=9;j++){
        if(t%j==0)
          j++;
      }
    }
  }
  if(j>=0)
    printf("Yes");
  else
    printf("No")
}

Compiler output:
main.c: In function 'main':
main.c:10:7: error: expected ',' or ';' before 'for'
   10 |       for(int j=0;j<=9;j++){
      |       ^~~
main.c:10:27: error: expected ';' before ')' token
   10 |       for(int j=0;j<=9;j++){
      |                           ^
      |                           ;
main.c:10:27: error: expected statement before ')' token
main.c:19:17: error: expected ';' before '}' token
   19 |     printf("No")
      |                 ^
      |                 ;
   20 | }
      | ~
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>

int b(void);
int c(void);

int main(void) {
	b();
	return 0;
}

int c(void) {
	int N;
	std::cin >> N;
	int up_b = static_cast<int>(std::sqrt(N));
	for (int i = 0; i < up_b; i++) {
		return 0;
	}
}

int b(void) {
	int N;
	std::cin >> N;
	if (N > 81) {
		std::cout << "No";
		return 0;
	}
	else {
		for (int i = 1; i < 10; i++) {
			if (N % i == 0 && N / i < 10) {
				
				std::cout << "Yes";
				return 0;
			}
		}
	}
	std::cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int c()':
a.cc:18:42: error: 'sqrt' is not a member of 'std'; did you mean 'sort'?
   18 |         int up_b = static_cast<int>(std::sqrt(N));
      |                                          ^~~~
      |                                          sort
a.cc:22:1: warning: control reaches end of non-void function [-Wreturn-type]
   22 | }
      | ^
Language: C++

#include"bits/stdc++.h"
#include "prettyprint.hpp"

using namespace std;

#define rep(i, n) for(ll i=0; i<n; i++)
#define repr(i, n) for(ll i=n; i>=0; i--)
#define reps(i, s, e) for(ll i=s; i<e; i++)
#define all(x) x.begin(),x.end()

typedef long long ll;

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

	int swich = 0;

	reps(i,1,10){
		if(N % i == 0 && 1 <= N /i && N/i <= 9){
			cout << "Yes" << endl;
			swich = 1;
			break;
		}
	}

	if(swich == 0) cout << "No" << endl;

	return 0; 
}

Compiler output:
a.cc:2:10: fatal error: prettyprint.hpp: No such file or directory
    2 | #include "prettyprint.hpp"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: expected ';' before ')' token
   10 |     for(int j=1;j<=9,j++){
      |                         ^
      |                         ;
Language: C++

#include<cstdio>
using namespace std;
int main(void)
{
	int a;
	scanf("%d",&a);
	for(i=1;i<=9;i++){
		for(j=1;j<=9;j++){
			if(i*j==a){
				flg=1;
				printf("Yes\n");
				break;
			}
		}
	}
	if(flg==0){
		printf("No\n");
	}
	return 0;
}
	

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'i' was not declared in this scope
    7 |         for(i=1;i<=9;i++){
      |             ^
a.cc:8:21: error: 'j' was not declared in this scope
    8 |                 for(j=1;j<=9;j++){
      |                     ^
a.cc:10:33: error: 'flg' was not declared in this scope
   10 |                                 flg=1;
      |                                 ^~~
a.cc:16:12: error: 'flg' was not declared in this scope
   16 |         if(flg==0){
      |            ^~~
Language: C++

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

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



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

#include"bits/stdc++.h"
using namespace std;
int main()
{
 	int n;
  	cin>>n;
  if(n<82) {
    if(n%10==0) {
      if(n/5 < 10) cout<<"Yes\n";
      else cout<<"No\n";
    }
    else {
      cout<<"Yes\n";
  }
    else {
      cout<<"No\n";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: expected '}' before 'else'
   15 |     else {
      |     ^~~~
a.cc:7:12: note: to match this '{'
    7 |   if(n<82) {
      |            ^
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main(void) {
  int n;
  cin >> n;
  bool flag = false;
  for(int i = 1;i < 10;i++){
    if((n % i) < 10　&& n >= i) flag = true;
  }

  if(flag) cout << "Yes" << endl;
  else cout << "No" << endl;

  return 0;
}


Compiler output:
a.cc:12:18: error: extended character 　 is not valid in an identifier
   12 |     if((n % i) < 10　&& n >= i) flag = true;
      |                  ^
a.cc: In function 'int main()':
a.cc:12:18: error: unable to find numeric literal operator 'operator""\U00003000'
   12 |     if((n % i) < 10　&& n >= i) flag = true;
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  vector<int>v;
  for(int i=1;i<=9;i++)
    for(int j=1;j<=9;j++)
    {int x=i*j;v.push_back(x);}
  int z=a*b;
  if(v.find(v.begin(),v.end(),z)!=v.end())
    cout<<"YES";
  else
    cout<<"NO";
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:11:8: error: 'class std::vector<int>' has no member named 'find'
   11 |   if(v.find(v.begin(),v.end(),z)!=v.end())
      |        ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:20: error: 'Yes' was not declared in this scope
   14 |   if(flag) cout << Yes << endl;
      |                    ^~~
a.cc:15:16: error: 'No' was not declared in this scope
   15 |   else cout << No << endl;
      |                ^~
Language: C++

#include<cstdio>
using namespace std;
int main(void)
{
	int a;
	scanf("%d",&a);
	for(i=1;i<=9;i++){
		for(j=1;j<=9;j++){
			if(i*j==a){
				flg=1;
				printf("Yes\n");
				break;
			}
		}
	}
	if(flg==0){
		printf("No\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'i' was not declared in this scope
    7 |         for(i=1;i<=9;i++){
      |             ^
a.cc:8:21: error: 'j' was not declared in this scope
    8 |                 for(j=1;j<=9;j++){
      |                     ^
a.cc:10:33: error: 'flg' was not declared in this scope
   10 |                                 flg=1;
      |                                 ^~~
a.cc:16:12: error: 'flg' was not declared in this scope
   16 |         if(flg==0){
      |            ^~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: 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;
  cin >> n;
  bool flag = 0;
  for(int i = 1; i <= 9; ++i){
    if(n % i == 0){
      int s = n / i;
      if(s >= 1 && s <= 9) flag = 1
    }
  } 
  if(flag) cout << Yes << endl;
  else cout << No << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:36: error: expected ';' before '}' token
   11 |       if(s >= 1 && s <= 9) flag = 1
      |                                    ^
      |                                    ;
   12 |     }
      |     ~                               
a.cc:14:20: error: 'Yes' was not declared in this scope
   14 |   if(flag) cout << Yes << endl;
      |                    ^~~
a.cc:15:16: error: 'No' was not declared in this scope
   15 |   else cout << No << endl;
      |                ^~
Language: Java

//package atcoder.beginner144;

import java.io.*;
import java.util.StringTokenizer;

public class B81 {
    public static void main(String[] args) {
//        try {
//            FastScanner in = new FastScanner(new FileInputStream("src/input.in"));
//            PrintWriter out = new PrintWriter(new FileOutputStream("src/output.out"));
        FastScanner in = new FastScanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
        int n = in.nextInt();
        boolean can = true;
        if(n > 81) {
            can = false;
        }
        for(int i = 1; i <= 9; i++) {
            if(n % i == 0 && n / i <= 9) {
                can = true;
                break;
            }
        }
        out.println(can ? "Yes" : "No");
        out.close();

//        }
//        catch (IOException e) {
//            e.printStackTrace();
//        }
    }

    static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        FastScanner(InputStream stream) {
            try {
                br = new BufferedReader(new InputStreamReader(stream));
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

        String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

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

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

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

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }
}




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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:36: error: expected ';' before '}' token
   11 |       if(s >= 1 && s <= 9) flag = 1
      |                                    ^
      |                                    ;
   12 |     }
      |     ~                               
a.cc:14:20: error: 'Yes' was not declared in this scope
   14 |   if(flag) cout << Yes << endl;
      |                    ^~~
a.cc:15:16: error: 'No' was not declared in this scope
   15 |   else cout << No << endl;
      |                ^~
Language: C++

#include <iostream>
#include <algorithm>
#include <numeric>
#include "math.h"
#include <string>
#include <vector>

using namespace std;


int main() {

	int n,cnt=0;
	cin >> n;
	
	for (int i = 1; i < 10; i++) {
		for (int j = 1; j < 10; j++) {
			if (i * j != n) {
				continue;
			}
			cout << "Yes" << endl;
			return;

		}
	}

	cout << "No" << endl;
	return;


}


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

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

int main(){
  int N;
  bool expressable = false;
  
  cin >> N;
  
  i = 1;
  while(i < 10){
    if(N%i == 0 && N/i <= 9){
      expressable = true;
      break;
    }
    i++;
  }
}


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

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

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;
      }
    }
  }

  cout << "No" << endl;
}


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

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

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

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

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


int main() {
  int A;
  cin >> A;
  
  string ans = 'No';
  
  for ( int i = 0 ; i<9 ; i++){
    for(int j = 0 ; j<9 ; j++){
      if(i * j == A ) ans = 'Yes';
    }
  }
 
  cout << ans << endl;
  
}


Compiler output:
a.cc:9:16: warning: multi-character character constant [-Wmultichar]
    9 |   string ans = 'No';
      |                ^~~~
a.cc:13:29: warning: multi-character character constant [-Wmultichar]
   13 |       if(i * j == A ) ans = 'Yes';
      |                             ^~~~~
a.cc: In function 'int main()':
a.cc:9:16: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    9 |   string ans = 'No';
      |                ^~~~
a.cc:13:29: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]
   13 |       if(i * j == A ) ans = 'Yes';
      |                             ^~~~~
Language: Java

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class B {
    public static void main(String[] args) {
        Set<Integer> set = new HashSet<>();
        for (int i = 1; i < 10; i++) {
            for (int j = 1; j < 10; j++) {
                set.add(i*j);
            }
        }

        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        System.out.println(set.contains(n)?"Yes":"No");
    }
}


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

#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define mpp make_pair
using namespace std;

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

	map<ll,ll>mp;

	for(i=1;i<=9;i++)
	{
		for(j=i;j<=9;j++)
			mp[i*j]++;
	}

	if(mp.find(n)!==mp.end())
		cout<<"YES";
	else
		cout<<"NO";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:13: error: 'i' was not declared in this scope
   14 |         for(i=1;i<=9;i++)
      |             ^
a.cc:16:21: error: 'j' was not declared in this scope
   16 |                 for(j=i;j<=9;j++)
      |                     ^
a.cc:20:24: error: expected primary-expression before '=' token
   20 |         if(mp.find(n)!==mp.end())
      |                        ^
Language: Java

import java.util.*;

public class main {
    final static int MOD = 1000000007;
    
    public static void main(String[] args) {
        MyScanner in = new MyScanner();
        int n = in.nextInt();
        String ans = "No";
        
        for (int i = 1; i < 10; i++) {
            int b = n / i;
            if (b * i == n && b < 10) {
                ans = "Yes";
            }
        }
        System.out.println(ans);
        
    }
    
    static class MyScanner {
        static Scanner sc = new Scanner(System.in);
        
        String next() {
            return sc.next();
        }
        
        String nextLine() {
            return sc.nextLine();
        }
        
        int nextInt() {
            return Integer.parseInt(sc.next());
        }
        
        double nextDouble() {
            return Double.parseDouble(next());
        }
        
        long nextLong() {
            return Long.parseLong(next());
        }
        
        int[] nextIntArray(int n) {
            int[] array = new int[n];
            for (int i = 0; i < n; i++) {
                array[i] = nextInt();
            }
            return array;
        }
        
        double[] nextDoubleArray(int n) {
            double[] array = new double[n];
            for (int i = 0; i < n; i++) {
                array[i] = nextDouble();
            }
            return array;
        }
        
        long[] nextLongArray(int n) {
            long[] array = new long[n];
            for (int i = 0; i < n; i++) {
                array[i] = nextLong();
            }
            return array;
        }
        
        String[] nextLineArray(int n) {
            String[] array = new String[n];
            for (int i = 0; i < n; i++) {
                array[i] = nextLine();
            }
            return array;
        }
        
        int[][] nextIntMatrix(int n, int m) {
            int[][] matrix = new int[n][m];
            for (int i = 0; i < n; i++) {
                for (int j = 0; j < m; j++) {
                    matrix[i][j] = nextInt();
                }
            }
            return matrix;
        }
        
        double[][] nextDoubleMatrix(int n, int m) {
            double[][] matrix = new double[n][m];
            for (int i = 0; i < n; i++) {
                for (int j = 0; j < m; j++) {
                    matrix[i][j] = nextDouble();
                }
            }
            return matrix;
        }
        
        long[][] nextLongMatrix(int n, int m) {
            long[][] matrix = new long[n][m];
            for (int i = 0; i < n; i++) {
                for (int j = 0; j < m; j++) {
                    matrix[i][j] = nextLong();
                }
            }
            return matrix;
        }
    }
}

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

#include <bits/stdc++.h>
#define ROOP(i, N) for(int i=0; i++; i<N)
#define RVROOP(i, N) for(int i=N; i--; i>=0)
#define INF 1e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;

int main() {
  int N; cin>>N;
  
  int ans=0;
  if(N>82){
    cout<<"No"<<endl;
    i=1;
  }
  else{
    for(int i=1; i<=9; i++){
      if(N%i==0){
        cout<<"Yes"<<endl;
        i=1;
        break;
      }
    }
  }
  if(i==0){
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'i' was not declared in this scope
   15 |     i=1;
      |     ^
a.cc:26:6: error: 'i' was not declared in this scope
   26 |   if(i==0){
      |      ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'for'
    8 |   for(int i = 1; i <= 9; ++i){
      |   ^~~
a.cc:8:18: error: 'i' was not declared in this scope
    8 |   for(int i = 1; i <= 9; ++i){
      |                  ^
a.cc:14:20: error: 'Yes' was not declared in this scope
   14 |   if(flag) cout << Yes << endl;
      |                    ^~~
a.cc:15:16: error: 'No' was not declared in this scope
   15 |   else cout << No << endl;
      |                ^~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
 	int N;
  	bool res = false;
  	for (int i = 1; i <= min(9,sqrt(N)); i++) {
    	if (N % i !=0) continue;
      	a = N/i;
      	if (a <= 9) res = true; 
    }
  	if (res) cout << "Yes";
  	else cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:33: error: no matching function for call to 'min(int, __gnu_cxx::__enable_if<true, double>::__type)'
    8 |         for (int i = 1; i <= min(9,sqrt(N)); i++) {
      |                              ~~~^~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:8:33: note:   deduced conflicting types for parameter 'const _Tp' ('int' and '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'})
    8 |         for (int i = 1; i <= min(9,sqrt(N)); i++) {
      |                              ~~~^~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:8:33: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
    8 |         for (int i = 1; i <= min(9,sqrt(N)); i++) {
      |                              ~~~^~~~~~~~~~~
a.cc:10:9: error: 'a' was not declared in this scope
   10 |         a = N/i;
      |         ^
Language: Java

import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());

        boolean result = false;
        if (n <= 81) {
            for (int i = 1; i <= 9 && !result; i++) {
                for (int j = 1; j <= 9 && !result; j++) {
                    if (n == i * j) {
                        result = true;
                    }
                }
            }
        }

        System.out.println(result ? "Yes" : "No");
    }
}
}

Compiler output:
Main.java:24: error: class, interface, enum, or record expected
}
^
1 error
Language: C++

#include<iostream>
#include<math>
#define rep(i,from,to) for(int i=from;i<to;i++)
using namespace std;
int main(){
	int n;
  cin>>n;
  rep(i,1,10){
  	int p=n/i;
    if(p*i==n&&p<9)return cout<<"Yes"<<endl,0;
  }
  cout<<"No<<endl;
    return 0;
}

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

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


#define FOR(i,k,n) for(int(i)=(k);(i)<(n);++(i))
#define rep(i,n) FOR(i,0,n)
#define all(v) begin(v),end(v)

using namespace std;

int main()
{

  int a;
  cin >> a;
  if(81<a)
  {
    cout << "No";
  }
  else
  {
    FOR(i,1,10)
    {
      if(n%i == 0)
      {
        cout << "Yes";
        	return 0;
      }
    }
    cout <<"No";
  }
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:10: error: 'n' was not declared in this scope
   27 |       if(n%i == 0)
      |          ^
Language: C++

#include <bits/stdc++.h>  // ver2.2.5
#define int long long
#define endl "\n"
#define ALL(v) (v).begin(),(v).end()
#define COUNT(a,i) upper_bound(ALL(a),i)-lower_bound(ALL(a),i)
#define Vi vector<int>
#define VVi vector<Vi>
#define Vs vector<string>
#define Pii pair<int,int>
#define VPii vector<Pii>
#define Tiii tuple<int,int,int>
#define PQi priority_queue<int>
#define PQir priority_queue<int,vector<int>,greater<int>>
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define itos to_string
#define stoi stoll
#define FI first
#define SE second
#define cYES cout<<"YES"<<endl
#define cNO cout<<"NO"<<endl
#define cYes cout<<"Yes"<<endl
#define cNo cout<<"No"<<endl
#define _ <<' '<<
#define sortr(v) sort(v,greater<>())
#define rep(i,a,b) for(int i=a;i<b;i++)
#define repeq(i,a,b) for(int i=a;i<=b;i++)
#define repreq(i,a,b) for(int i=a;i>=b;i--)
#define leng(n) (int)(log10(n)+1)
#define dem(a,b) ((a+b-1)/(b))
#define Vin(a) rep(iI,0,a.size())cin>>a[iI]
#define Vout(a) rep(lZ,0,a.size()-1)cout<<a[lZ]<<' ';cout<<a.back()<<endl
#define VVout(a) rep(lY,0,a.size()){Vout(a[lY]);}
#define VPout(a) rep(lX,0,a.size())cout<<a[lX].FI<<' '<<a[lX].SE<<endl
#define Verr(a) rep(iZ,0,a.size()-1)cerr<<a[iZ]<<' ';cerr<<a.back()<<endl
#define VVerr(a) rep(iY,0,a.size()){Verr(a[iY]);}
#define VPerr(a) rep(iX,0,a.size())cerr<<a[iX].FI<<' '<<a[iX].SE<<endl
#define INF 3000000000000000000  //  3.0*10^18(MAXの1/3くらい)
#define MAX LLONG_MAX
#define MOD 1000000007  //  10^9 + 7
using namespace std;

int gcd(int a,int b){return b?gcd(b,a%b):a;}  //  最大公約数gcd
int lcm(int a,int b){return a/gcd(a,b)*b;}  //  最小公倍数lcm
void press(auto &v){v.erase(unique(ALL(v)),v.end());}  //  圧縮
int mypow(int x, int n, int m){  //  累乗x^n(mod m)  O(log(n))
if(n==0)return 1;if(n%2==0)return mypow(x*x%m,n/2,m);else return x*mypow(x,n-1,m)%m;}



signed main() {
  cin.tie(0);cout.tie(0);ios::sync_with_stdio(false);cout<<fixed<<setprecision(12);
  int n;
  cin >> n;
  repeq(i,1,9){
    repeq(j,1,9){
      if(i*j == n) {cYes;return 0}
    }
  }
  cNo;
  return 0;
}

Compiler output:
a.cc:46:12: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
   46 | void press(auto &v){v.erase(unique(ALL(v)),v.end());}  //  圧縮
      |            ^~~~
a.cc: In function 'int main()':
a.cc:58:34: error: expected ';' before '}' token
   58 |       if(i*j == n) {cYes;return 0}
      |                                  ^
      |                                  ;
Language: Java

import java.util.*;

public class MainB {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();

		boolean flag = false;

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

}

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

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

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


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

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

int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i < 10; ++i)
    if (n / i < 10 && n / i * i == n) {
      puts("Yes");
      return 0;
    }
  puts("No")
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: expected ';' before '}' token
   12 |   puts("No")
      |             ^
      |             ;
   13 | }
      | ~
Language: C++

    #include <bits/stdc++.h>
    using namespace std;
    #define ll long long int
    #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);

    int32_t main()
    {
        ll i,j,k,l,n,m,q,t,max1,min1,flag=0,flag2=0;
        cin>>n;
        while(i=2;i<=sqrt(n);i++)
        {
            if(n%i==0&&(n/i)<10)
            {
                flag=1;
                break;
            }
        }
        if(flag)
        {
            cout<<"Yes";
        }
        else{
            cout<<"No";
        }
       return 0;
    }







Compiler output:
a.cc: In function 'int32_t main()':
a.cc:10:18: error: expected ')' before ';' token
   10 |         while(i=2;i<=sqrt(n);i++)
      |              ~   ^
      |                  )
a.cc:10:33: error: expected ';' before ')' token
   10 |         while(i=2;i<=sqrt(n);i++)
      |                                 ^
      |                                 ;
Language: C++

#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <list>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

#define REP(i, n) for(int i = 0; i < (n); i++)
#define EACH(e, a) for(auto&& e : a)
#define ALL(a) (a).begin(), (a).end()
#define AALL(a, n) (a), a + n
#define FILL(a, n) memset((a), n, sizeof(a))
#define FILLZ(a) FILL(a, 0)
#define MOD(x) ((x) % (1e9 + 7))

using namespace std;

using ll = long long;
using VI = vector<int>;
using VI2D = vector<vector<int>>;

const double EPS = 1e-10;
const double PI = acos(-1.0);

inline int toInt(string s) {
	int v;
	istringstream sin(s);
	sin >> v;
	return v;
}

int main() {
	int n;
	scanf("%d", &n);
	REP(i, 9) {
		REP(i, 9) {
			if((i + 1) * (j + 1) == n) {
				puts("Yes");
				return 0;
			}
		}
	}
	puts("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:46:39: error: 'j' was not declared in this scope
   46 |                         if((i + 1) * (j + 1) == n) {
      |                                       ^
Language: C

#include<stdio.h>

int main(){
  int n,a,b;
  scanf("%d",%n);
  
  if(n=a*b)
   puts("Yes");
  else
    puts("No");
  
  return 0;
}
  
  

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected expression before '%' token
    5 |   scanf("%d",%n);
      |              ^
Language: Java

import java.util.*;

public class Main {

  static Scanner sc = new Scanner(System.in);

  public static void main(String[] args) {
    int A = sc.nextInt();

    for (int i=1; i<10; i++){
      if(A%i==0){
        System.out.println('Yes');
        return;
      }
    }
    System.out.println('No');
  }
}

Compiler output:
Main.java:12: error: unclosed character literal
        System.out.println('Yes');
                           ^
Main.java:12: error: unclosed character literal
        System.out.println('Yes');
                               ^
Main.java:12: error: not a statement
        System.out.println('Yes');
                             ^
Main.java:16: error: unclosed character literal
    System.out.println('No');
                       ^
Main.java:16: error: unclosed character literal
    System.out.println('No');
                          ^
Main.java:16: error: not a statement
    System.out.println('No');
                         ^
6 errors
Language: C++

#include<iostream>
using namespace std;
int main(){
  int A;
  cin >> A;
  bool flag = false:
  for(int i=1; i<=9; i++){
    for(int j=1; j<=9; j++){
      if(i*j == A){
        flag = true;
      }
    }
  }
  if(flag == true) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ',' or ';' before ':' token
    6 |   bool flag = false:
      |                    ^
a.cc:7:16: error: 'i' was not declared in this scope
    7 |   for(int i=1; i<=9; i++){
      |                ^
Language: C++

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

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

#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <list>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

#define REP(i, n) for(int i = 0; i < (n); i++)
#define EACH(e, a) for(auto&& e : a)
#define ALL(a) (a).begin(), (a).end()
#define AALL(a, n) (a), a + n
#define FILL(a, n) memset((a), n, sizeof(a))
#define FILLZ(a) FILL(a, 0)
#define MOD(x) ((x) % (1e9 + 7))

using namespace std;

using ll = long long;
using VI = vector<int>;
using VI2D = vector<vector<int>>;

const double EPS = 1e-10;
const double PI = acos(-1.0);

inline int toInt(string s) {
	int v;
	istringstream sin(s);
	sin >> v;
	return v;
}

int main() {
	int n;
	scanf("%d", &n);
	REP(i, 9) {
		REP(i, 9) {
			if(i * j == n) {
				puts("Yes");
				return 0;
			}
		}
	}
	puts("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:46:32: error: 'j' was not declared in this scope
   46 |                         if(i * j == n) {
      |                                ^
Language: C++


n=gets.to_i
(1..9).each do |x|
(1..9).each do |y|
  if x * y == n
    puts 'Yes'
    exit(0)
  end
end
end
puts 'No'


Compiler output:
a.cc:3:2: error: too many decimal points in number
    3 | (1..9).each do |x|
      |  ^~~~
a.cc:4:2: error: too many decimal points in number
    4 | (1..9).each do |y|
      |  ^~~~
a.cc:6:10: warning: multi-character character constant [-Wmultichar]
    6 |     puts 'Yes'
      |          ^~~~~
a.cc:11:6: warning: multi-character character constant [-Wmultichar]
   11 | puts 'No'
      |      ^~~~
a.cc:2:1: error: 'n' does not name a type
    2 | n=gets.to_i
      | ^
Language: C++

#include<stdio.h>

int main(){
	int a,b;
	int n;
	int ans=0;
	scanf("%d",&n);
	for(int i=1;i<=9;i++){
		for(int j=0;j=<9;j++){
			if(i*j==n){
				ans=1;
			}
		}
		
	}
if(ans){
	printf("Yes\n");
}else{
	printf("No\n");
}
}

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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define rep0(a,b) for(int a=0;a<b;a++)
#define rep1(a,b) for(int a=1;a<=b;a++)
#define repp(a,b,c) for(int a=b;a<c;a++)
#define rev(a,b,c) for(int a=b;a>=c;a--)
#define in insert
#define len length()
#define si size()
#define lb lower_bound
#define ub upper_bound
#define beg begin()
#define end end()
#define vec vector<ll>
#define se set<ll>
#define mults multiset<ll>
#define F first
#define S second
#define pr(a) cout<<a
#define pr2(a,b) cout<<a<<" "<<b
#define get(a) cin>>a
#define nextl cout<<endl
const ll mod = 1000000007;
const ll maxn = 500005;
const ll mm = 1e+18;
ll power(ll x, ll y)
{
    ll res = 1;
    x = x % mod;
    while (y > 0)
    {
        if (y & 1)
            res = (res*x) % mod;
        y = y>>1;
        x = (x*x) % mod;
    }
    return res;
}
ll ncr(ll n, ll k)
{
    ll C[k+1];
    memset(C, 0, sizeof(C));

    C[0] = 1;

    for (ll i = 1; i <= n; i++)
    {
        for (ll j = min(i, k); j > 0; j--)
            C[j] = (C[j] + C[j-1])%mod;
    }
    return C[k];
}
void solve()
{
     set<int>s;
     rep1(i,9)rep1(j,9) s.in(i*j);
     int n;
     cin>>n;
     auto it=s.find(n);
     if(it==s.end()) cout<<"No";
     else cout<<"Yes"l
}
int main()
{
    ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    int t=1;
   // cin>>t;
    while(t--){
        solve();
      //  nextl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:62:18: error: no match for call to '(std::set<int>::iterator {aka std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator}) ()'
   62 |      if(it==s.end()) cout<<"No";
      |             ~~~~~^~
a.cc:63:17: error: unable to find string literal operator 'operator""l' with 'const char [4]', 'long unsigned int' arguments
   63 |      else cout<<"Yes"l
      |                 ^~~~~~
Language: C++

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

void solve() {
	int n; cin >> n;
	rep(i, 9)rep(j, 9) {
		if (n == (i+1) * (j+1)) {
			cout << "Yes" << endl;
			return;
		}
	}
	cout << "No" << endl;
}

int main() {

	solve();

	return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:6:13: error: 'i' was not declared in this scope
    6 |         rep(i, 9)rep(j, 9) {
      |             ^
a.cc:6:9: error: 'rep' was not declared in this scope
    6 |         rep(i, 9)rep(j, 9) {
      |         ^~~
Language: C++

#include "bits/stdc++.h"
using namespace std;
#ifdef LOCAL
#define debug(x)   cerr<<#x<<" = "<<x<<endl
#else
#define debug(x) 
#endif
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define input_from_file freopen("input.txt","r",stdin)
#define output_to_file freopen("output.txt" , "w",stdout)
#define pii pair<int,int>
#define endl '\n'
#define pb push_back
#define fi first
#define se second 
#define mp make_pair
#define int long long
const int inf = 1e18 + 5;
signed main()
{
    #ifdef LOCAL
        input_from_file;
        output_to_file;
    #endif 
    IOS
    int n; cin>>n;
    if(n == 0)
    {
        cout<<"No";
        retun 0;
    }
    for(i=1;i<=9;i++)
    {
        for(int j=1;j<=n;j++)
        {
            if(i*j == n){
                cout<<"Yes";
                return 0;
            }
        }
    }
    cout<<"No";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:30:9: error: 'retun' was not declared in this scope
   30 |         retun 0;
      |         ^~~~~
a.cc:32:9: error: 'i' was not declared in this scope
   32 |     for(i=1;i<=9;i++)
      |         ^