criyle/codenet-compile-errors huggingface dataset:
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 <10;i++) {
			if(n%i==0 & n/i<9) {
				System.out.println("Yes");
				break;
			}else if (i==9) {
				System.out.println("No");
			}
			
		}
		
	}
 
}
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 <10;i++) {
			if(n%i==0 & n/i<10) {
				System.out.println("Yes");
				break;
			}else if (i==9) {
				System.out.println("No");
			}
			
		}
		
	}

}
提出情報

Compiler output:
Main.java:23: error: class, interface, enum, or record expected
import java.util.Scanner;
^
Main.java:45: error: reached end of file while parsing
????
^
2 errors
Language: Java

import java.util.Scanner;
class Main {
  public static void main(String[] args) {
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();
    
    if (n=10 || n=11||n=13||n=17||n=19||n=22||n=23||n=26||n=29||n=31||n=33||n=34||n=37||n=38||n=39||n=41||n=43||n=44||n=46||n=47||n=50||n=51||n=52||n=53||n=55||n=57||n=58||n=59||n=60||n=61||n=62||n=65||n=66||n=67||n=68||n=69||n=70||n=71||(n>72%%n<81)||(n<100%%n>81)) {
      System.out.println("No");
    } else {
      System.out.println("Yes");
      
    }
    
    
    
    
    
  }
}

Compiler output:
Main.java:7: error: illegal start of expression
    if (n=10 || n=11||n=13||n=17||n=19||n=22||n=23||n=26||n=29||n=31||n=33||n=34||n=37||n=38||n=39||n=41||n=43||n=44||n=46||n=47||n=50||n=51||n=52||n=53||n=55||n=57||n=58||n=59||n=60||n=61||n=62||n=65||n=66||n=67||n=68||n=69||n=70||n=71||(n>72%%n<81)||(n<100%%n>81)) {
                                                                                                                                                                                                                                                    ^
Main.java:7: error: illegal start of expression
    if (n=10 || n=11||n=13||n=17||n=19||n=22||n=23||n=26||n=29||n=31||n=33||n=34||n=37||n=38||n=39||n=41||n=43||n=44||n=46||n=47||n=50||n=51||n=52||n=53||n=55||n=57||n=58||n=59||n=60||n=61||n=62||n=65||n=66||n=67||n=68||n=69||n=70||n=71||(n>72%%n<81)||(n<100%%n>81)) {
                                                                                                                                                                                                                                                                   ^
2 errors
Language: C++

#include <iostream>
using namespace std;

int main() {

	int i, N;

	cin >> N;
	
	if (N>81){
	    cout << "No" << endl;
	}else if{
        for (i=1;i<10;i++){
            if(N%i == 0){
                cout << "Yes" << endl;

                return 0;
            }
        }
	}
	
	cout << "No" << endl;


	return 0;


}


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

#include <iostream>
using namespace std;
int main()
{
  int n,k=9;
  
  cin>>n;
  
  for(k=9;k>=1;k--)
  {
    if(n%k==0)
      break;
  }
  
  int c=n/k;
  
  if(c>=10)
    cout<<"No"<<endl;
  else
    cout<<"Yes"<<endl;
}
#include <iostream>
using namespace std;
int main()
{
  int n,k=9;
  
  cin>>n;

Compiler output:
a.cc:24:5: error: redefinition of 'int main()'
   24 | int main()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
a.cc: In function 'int main()':
a.cc:28:10: error: expected '}' at end of input
   28 |   cin>>n;
      |          ^
a.cc:25:1: note: to match this '{'
   25 | {
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using i64 = int64_t;
#define rep(i,n) for(int i=0;i<n;++i)
#define rep2(i,x,n) for(int i=x;i<n;++i)

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

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

#include<stdio.h>
int main()
{
	int n,count=0;
    scanf("%d",&n);
    for(i=1;i<10;i++)
    {
		for(j=1;j<10;j++)
        {
			if(n==i*j)
            {printf("Yes");
              count=1;
            break;
            }
        }
      if(count==1)
      break;
    }
  if(count==0)
    printf("No");
  return 0;

Compiler output:
main.c: In function 'main':
main.c:6:9: error: 'i' undeclared (first use in this function)
    6 |     for(i=1;i<10;i++)
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:21: error: 'j' undeclared (first use in this function)
    8 |                 for(j=1;j<10;j++)
      |                     ^
main.c:21:3: error: expected declaration or statement at end of input
   21 |   return 0;
      |   ^~~~~~
Language: C++

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

int main(){

  	vector<bool>a(82,false);
  	for(int i = 1; i < 10; ++i){
    	for(int j = 1; j < 10; ++j){
        	a[i*j] = true;
        }
    }
  
  	int n;
  	cin >> n;
  	
  	if(n > 81){
    	cout << "No\n";
      	return 0;
    }
  
  	if(a[n]) cout << "Yes\n";
  	else cout << "No\n";
  
	return 0;
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected ';' before '}' token
   12 |         goto loopend
      |                     ^
      |                     ;
   13 |       }
      |       ~
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.PriorityQueue;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int n = in.nextInt();
		System.out.println(solve(n));
		in.close();
	}

	private static String solve(int n) {
		for (int a = 1; a < 10; a++)
			if (n % a == 0 && n / a < 10)
				return "Yes";
		return "No";
		return null;
	}
}

Compiler output:
Main.java:21: error: unreachable statement
		return null;
		^
1 error
Language: C++

#include <cstdio>

using namespace std;

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


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

#include <iostream>
using namespace std;

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

	}
		if(count==0){
			cout << "No" << endl;

	return 0;
}


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

#include<iostream>

using namespace::std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'coput' was not declared in this scope
   13 |         coput<<"No\n";
      |         ^~~~~
Language: C

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

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

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

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

#include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main(){
int n;
  cin>>n//>>x >> y>> z;
  
/*vector<int> a(n);
  rep(i,n) cin>>a.at(i);*/
    int x,y;
  x=0;
  y=0;
    
for(int i =9;i>0;i--){
if(n%i==0){
  x=i;
  y=n/i;
  break;
}
} 
  
  x<10 && y<10 ?
    cout<<"Yes"
    : cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected ';' before 'int'
    8 |   cin>>n//>>x >> y>> z;
      |         ^
      |         ;
......
   12 |     int x,y;
      |     ~~~  
a.cc:13:3: error: 'x' was not declared in this scope
   13 |   x=0;
      |   ^
a.cc:14:3: error: 'y' was not declared in this scope
   14 |   y=0;
      |   ^
Language: C++

#include <iostream>
using namespace std;

int main(void){
  int a;
  cin >> a;
  for(int i = 1; i <= 9; i ++){
    for(int j = 1; j <= 9; j ++){
      if(i*j == a){
        cout << "Yes" << endl;
        return 0;
    }
  }
  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:15: note: to match this '{'
    4 | int main(void){
      |               ^
Language: C++

#include<bits/stcdc++.h>
using namespace std;
string A(long long a)
{
  for(int i=2;i<=9;i++)
  {
    if(a%i==0)
      return "Yes";
  }
  return "No";
}
int main()
{
  long long a;
  cin>>a;
  cout<<A(a)<<endl;
}

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

#include<iostream>
using namespace std;
int main(){
  int n, a[100];
  for(int i=1; i<=9; i++){
    for(int j=1; j<=9; j++){
      a[(i-1)*10 + (j-1)] = i * j
    }
  }
  cin >> n; 
  bool flag = false;
  for(int i = 0; i<10; i++){
    for(int j=0; j<10; j++){
      if (a[i*10 + j] == n){
        flag = true;
        break;
      }
    }
  }
  cout << flag?"Yes":"No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:34: error: expected ';' before '}' token
    7 |       a[(i-1)*10 + (j-1)] = i * j
      |                                  ^
      |                                  ;
    8 |     }
      |     ~                             
a.cc:20:27: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   20 |   cout << flag?"Yes":"No" << endl;
      |                      ~~~~~^~~~~~~
Language: C++

#include<iostram>
using namespace std;
int main(){
  int n, a[100];
  for(int i=1; i<=9; i++){
    for(int j=1; j<=9; j++){
      a[(i-1)*10 + (j-1)] = i * j
    }
  }
  cin >> n; 
  bool flag = false;
  for(int i = 0; i<10; i++){
    for(int j=0; j<10; j++){
      if (a[i*10 + j] == n){
        flag = true;
        break;
      }
    }
  }
  cout << flag?"Yes":"No" << endl;
  return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'cont' was not declared in this scope; did you mean 'const'?
   14 |     cont<<"Yes";
      |     ^~~~
      |     const
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int (i)=0;(i)<(n);i++)
#define INF 1001001001
#define LLINF 1001001001001001001
#define MOD 1000000007
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
#define ALL(v) v.begin(), v.end()
typedef long long ll;


int main(){

int n;
cin >> n;

bool ans = false;
for(i=1;i<10;i++){
    for(j=1;j<10;j++){
        if(n==i*j){
            ans = true;
        }

    }
}
if(ans==true)cout << "Yes" << endl;
else cout << "No" << endl;



return 0;
}



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

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


Compiler output:
main.c: In function 'main':
main.c:9:11: error: 'N' undeclared (first use in this function)
    9 |         a=N/i;
      |           ^
main.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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


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

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

int main(){
  int A;
  cin >> A;
  
  for(int a=0; a< 9; a++){
    (int b=0; b<9; b++){
    if(a*b==A){
      cout << "YES" << endl;
    }
    
    else{
      cout << " NO " << endl;
    }
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: expected primary-expression before 'int'
    9 |     (int b=0; b<9; b++){
      |      ^~~
a.cc:9:6: error: expected ')' before 'int'
    9 |     (int b=0; b<9; b++){
      |     ~^~~
      |      )
a.cc:9:15: error: 'b' was not declared in this scope
    9 |     (int b=0; b<9; b++){
      |               ^
Language: C++

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

int main(){
  int A;
  cin >> A;
  
  for(int a=0; a< 10; a++)(int b=0; b<10; b++){
    if(a*b==A){
      cout << "YES" << endl;
    }
    
    else{
      cout << " NO " << endl;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:28: error: expected primary-expression before 'int'
    8 |   for(int a=0; a< 10; a++)(int b=0; b<10; b++){
      |                            ^~~
a.cc:8:28: error: expected ')' before 'int'
    8 |   for(int a=0; a< 10; a++)(int b=0; b<10; b++){
      |                           ~^~~
      |                            )
a.cc:8:37: error: 'b' was not declared in this scope
    8 |   for(int a=0; a< 10; a++)(int b=0; b<10; b++){
      |                                     ^
Language: C++

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

int main(){
  int A;
  cin >> A;
  
  for(int a=0; i< 10; i++)(int b=0; i<10; i++){
    if(a*b==A){
      cout << "YES" << endl;
    }
    
    else{
      cout << " NO " << endl;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'i' was not declared in this scope
    8 |   for(int a=0; i< 10; i++)(int b=0; i<10; i++){
      |                ^
a.cc:8:28: error: expected primary-expression before 'int'
    8 |   for(int a=0; i< 10; i++)(int b=0; i<10; i++){
      |                            ^~~
a.cc:8:28: error: expected ')' before 'int'
    8 |   for(int a=0; i< 10; i++)(int b=0; i<10; i++){
      |                           ~^~~
      |                            )
a.cc:8:37: error: 'i' was not declared in this scope
    8 |   for(int a=0; i< 10; i++)(int b=0; i<10; i++){
      |                                     ^
Language: C++

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

int main(){
  int A;
  cin >> A;
  
  for(int a=0; i< 10; i++)(int b=0; i<10; i++){
    if(a*b==A){
      cout << "YES" << endl;
    }
    
    else{
      cout << " NO " << endl;
    }
  }
}

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

#include<iostream>
using namespace std;
int main(){
  int N,i,j;
  for(i=0;i<10;i++){
  	for(j=10;j<10;j++){
    	if(i*j == N){
        	cout << "yes" << endl;
          	return 0;
        }
    }
  }
  }
  cout << "no" << endl;
  return 0;
}

Compiler output:
a.cc:14:3: error: 'cout' does not name a type
   14 |   cout << "no" << endl;
      |   ^~~~
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

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

int main(){
  int n;
  cin >> n;
  int ret;
  ret = 0;
  rep(i,9){
    int ans;
    if (n % i == 0) ans = n / i;
    if (n < 10) ret = 1;
  }
  String YN
  if (ret = 1) YN = "Yes";
  else YN = "No";
  cout << YN << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:3: error: 'String' was not declared in this scope
   15 |   String YN
      |   ^~~~~~
a.cc:17:3: error: 'else' without a previous 'if'
   17 |   else YN = "No";
      |   ^~~~
a.cc:17:8: error: 'YN' was not declared in this scope; did you mean 'yn'?
   17 |   else YN = "No";
      |        ^~
      |        yn
Language: C++

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

int main(){
  int n;
  cin >> n;
  int ret;
  ret = 0;
  rep(i,9){
    int ans;
    if (n % i == 0) ans = n / i;
    if (n < 10) ret = 1;
  }
  string YN
  if (ret = 1) YN = "Yes";
  else YN = "No";
  cout << YN << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: expected initializer before 'if'
   16 |   if (ret = 1) YN = "Yes";
      |   ^~
a.cc:17:3: error: 'else' without a previous 'if'
   17 |   else YN = "No";
      |   ^~~~
a.cc:17:8: error: 'YN' was not declared in this scope; did you mean 'yn'?
   17 |   else YN = "No";
      |        ^~
      |        yn
Language: C++

include<stdio.h>

int kuku(int x,int num){
  float box = (float)x/num;
  if(box>9) return 0;
  if(box-(int)box>0) return kuku(x,num-1);
  else return 1;
}

main(){
  int x;
  scanf("%d",&x);
  printf("%s",kuku(x,9.0)?"Yes":"No");
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
a.cc:10:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   10 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:12:3: error: 'scanf' was not declared in this scope
   12 |   scanf("%d",&x);
      |   ^~~~~
a.cc:13:15: error: 'kuku' was not declared in this scope
   13 |   printf("%s",kuku(x,9.0)?"Yes":"No");
      |               ^~~~
a.cc:13:3: error: 'printf' was not declared in this scope
   13 |   printf("%s",kuku(x,9.0)?"Yes":"No");
      |   ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include<stdio.h>
Language: C++

#include<stdio.h>

int kuku(int x,float num){
  float box = (float)x%(int)num;
  if(box>9) return 0;
  if(box-(int)box>0) return kuku(x,num-1);
  else return 1;
}

main(){
  int x;
  scanf("%d",&x);
  printf("%s",kuku(x,9.0)?"Yes":"No");
}


Compiler output:
a.cc: In function 'int kuku(int, float)':
a.cc:4:23: error: invalid operands of types 'float' and 'int' to binary 'operator%'
    4 |   float box = (float)x%(int)num;
      |               ~~~~~~~~^~~~~~~~~
      |               |        |
      |               float    int
a.cc: At global scope:
a.cc:10:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   10 | main(){
      | ^~~~
Language: C++

#include<stdio.h>

int kuku(int x,float num){
  float box = x%num;
  if(box>9) return 0;
  if(box-(int)box>0) return kuku(x,num-1);
  else return 1;
}

main(){
  int x;
  scanf("%d",&x);
  printf("%s",kuku(x,9.0)?"Yes":"No");
}

Compiler output:
a.cc: In function 'int kuku(int, float)':
a.cc:4:16: error: invalid operands of types 'int' and 'float' to binary 'operator%'
    4 |   float box = x%num;
      |               ~^~~~
      |               | |
      |               | float
      |               int
a.cc: At global scope:
a.cc:10:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   10 | main(){
      | ^~~~
Language: C++

#include<bits/stdc++.h>
#include <queue>
#include <stack>
using namespace std; 
typedef pair<long long int,long long int> pa;
#define resize(A) A.resize(unique(A.begin(), A.end()) - A.begin())
#define pb push_back
#define  MAX 1000005
long long int MOD=1e9+7;
long long int INF=1e18;
                                                 /*:-]*/
long long  int modulo(long long int a,long long  int b,long long  int n)
{
    long long int  x=1, y=a; 
    while (b > 0) 
    {
        if (b%2 == 1) 
        {
              x = (x*y) % n;
        }
        y = (y*y) % n; 
        
        b /= 2;
    }
    return x % n;
}


int main()
{
         ios_base::sync_with_stdio(false); 
         cin.tie(NULL);
         cout.tie(NULL);
         long long int i,j,k=0,l=0,r=0,m=0,n,c,p=0,cnt=0,cnt1=0,x,y,z=0,a,b,low,mid,high,ans=0,maxi=0,mini=INF,t,x1,y1;
         string s;
    cin>>n;
    for(i=1;i<=9;i++)
    {
        if(n%i==0)
        {
            if(n/i<=9)
                p=1;
        }
    }
    if(p==-1)
        cout<<"No\n";
    else
        cout<<"Yes\n"
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:48:22: error: expected ';' before '}' token
   48 |         cout<<"Yes\n"
      |                      ^
      |                      ;
   49 | 
   50 | }
      | ~
Language: C

#include <stdio.h>
void main()
{
  int n , a , i , j , f=0;
  scanf("%d",&n);
  for(i=10;i>0;i++)
  {
    if(n%i==0)
    {
      a = n/i;
      for (j=10;j>0;j++)
      {
        if(a%j==0)
        {
          f = 1;
          printf("yes");
          break:
        }
        
      }
      if(f==1)
        break;
    }
  }
  if(f==0)
    printf("no");
}
    

Compiler output:
main.c: In function 'main':
main.c:17:16: error: expected ';' before ':' token
   17 |           break:
      |                ^
      |                ;
Language: C++

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

int main(){
  int a,s,k;
  cin >> a ;
  for(int i=1;i<10;i++){
    s = a%i;
    if(s==0) k = 1;
  }
  if(k=1){
  cout << "Yes" << endl;
  }
  else{
  cout << "No"
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:15: error: expected ';' before '}' token
   16 |   cout << "No"
      |               ^
      |               ;
   17 |   }
      |   ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 1;i<=n;++i)
int main(){
  int n;
  cin >> n;
  rep(i,9){
    rep(j,9){
      if(n == i*j){
        puts(Yes);
        return 0;
      }
    }
  }
  puts(No);
}

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

n=int(input())
check=False;
i=1
while i<10:
    j=1
    while j<10:
        if (i*j==n):
            print('Yes')
            check=True
            break;
        j+=1;
    if check:
        break
    i+=1


if not check:
    print("No")

Compiler output:
a.cc:8:19: warning: multi-character character constant [-Wmultichar]
    8 |             print('Yes')
      |                   ^~~~~
a.cc:1:1: error: 'n' does not name a type
    1 | n=int(input())
      | ^
a.cc:3:1: error: 'i' does not name a type
    3 | i=1
      | ^
a.cc:11:9: error: 'j' does not name a type
   11 |         j+=1;
      |         ^
a.cc:12:5: error: expected unqualified-id before 'if'
   12 |     if check:
      |     ^~
Language: C++

#include<bits/stdc++.h>
#include<algorithm>
#include<math.h>
#include<string>
#include<iostream>
#include<vector>
#include<cstdlib>
#include<stdio.h>
#include<cmath>
#include<limits>
#include<iomanip>

using namespace std;
 
template <class T> using V = vector<T>;
 
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;
}
 
const long long INF = 1LL << 60;
 
using ll = long long;
using db = long double;
using st = string;
using ch = char;
using bl = bool;
using vll = V<ll>;
using vpll =V<pair<ll,ll>>;
using vst = V<st>;
using vdb = V<db>;
using vch = V<ch>;
using vbl = V<bl>;
using graph = V<V<int>>;
using pq = priority_queue<ll>;


 
#define FOR(i,a,b) for(ll i=(a);i<(b);i++)
#define rFOR(i,a,b) for(ll i=(a);i>=(b);i--)
#define oFOR(i,a,b) for(ll i=(a);i<(b);i+=2)
#define bgn begin()
#define en end()
#define SORT(a) sort((a).bgn,(a).en)
#define REV(a) reverse((a).bgn,(a).en)
#define M(a,b) max(a,b)
#define rM(a,b) min(a,b)
#define fi first
#define se second
#define sz size()
#define gcd(a,b) __gcd(a,b)
#define co(a) cout<<a<<endl;
#define ci(a) cin>>a;
#define pb(a) push_back(a);
  
 

ll sum(ll n) {
ll m=0;
  while(n){
    m+=n%10;
    n/=10;
  }
  return m;
}
 
 
const int MAX = 510000;
const int MOD = 1000000007;
 
long long fac[MAX], finv[MAX], inv[MAX];
 
void Comuse() {
    fac[0] = fac[1] = 1;
    finv[0] = finv[1] = 1;
    inv[1] = 1;
    for (int i = 2; i < MAX; i++){
        fac[i] = fac[i - 1] * i % MOD;
        inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
        finv[i] = finv[i - 1] * inv[i] % MOD;
    }
}
 
 
#define comuse Comuse()
 
ll combi(int n, int k){
    if (n < k) return 0;
    if (n < 0 || k < 0) return 0;
    return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}
 
 
 
 
ll lcm(ll a,ll b){
  ll n;
  n=a/gcd(a,b)*b;
  return n;
}




 
/****************************************\
| Thank you for viewing my code:)        |
| Written by RedSpica a.k.a. RanseMirage |
| Twitter:@asakaakasaka                  | 
\****************************************/
 

signed main(){
  ll n;
  	cin>>n;
  FOR(i,1,10){
    FOR(j,1,10){
      if(n==i*j){
        cout<<"Yes"<<endl;
        return 0;
      }
    }
    cout<<"No"<<endl;
  }

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'N' was not declared in this scope
    5 |   cin >> N;
      |          ^
a.cc:17:4: error: expected '}' at end of input
   17 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  cin >> N;
  for(i=1;i<10;i++){
    for(j=1;j<10;j++){
      if(N==i*j){
        cout << Yes;
        break;
      }
      else if (i!=9 && j!=9)
        continue;
      else
        cout << No;
    }
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'N' was not declared in this scope
    5 |   cin >> N;
      |          ^
a.cc:6:7: error: 'i' was not declared in this scope
    6 |   for(i=1;i<10;i++){
      |       ^
a.cc:7:9: error: 'j' was not declared in this scope; did you mean 'jn'?
    7 |     for(j=1;j<10;j++){
      |         ^
      |         jn
a.cc:9:17: error: 'Yes' was not declared in this scope
    9 |         cout << Yes;
      |                 ^~~
a.cc:15:17: error: 'No' was not declared in this scope
   15 |         cout << No;
      |                 ^~
a.cc:17:4: error: expected '}' at end of input
   17 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<iostream>
#include<cmath>
#include<cstring>
using namespace std;
int n;
int main(){
    scanf("%d",&n);
    for(int i=1;i<=9;++i){
        for(int j=i;j<=9;++j){
            if(i*j==n){
                printf("Yes");
                return 0;
            }
        }
    printf("No");
}

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

#include <bits/stdc++.h>

using namespace std;

#define REP(i,a,b) for(int i=a;i<(int)b;i++)
#define rep(i,n) REP(i,0,n)
#define all(c) (c).begin(), (c).end()
#define zero(a) memset(a, 0, sizeof a)
#define minus(a) memset(a, -1, sizeof a)
#define watch(a) { std::cout << #a << " = " << a << "\n"; }
template<class T1, class T2> inline bool minimize(T1 &a, T2 b) { return b < a && (a = b, 1); }
template<class T1, class T2> inline bool maximize(T1 &a, T2 b) { return a < b && (a = b, 1); }
template<class T, class V> istream& operator>> (istream& ist, pair<T, V>& p) { return ist >> p.first >> p.second; }
template<class T> ostream& operator<< (ostream& ost, pair<T, T>& p) { return ost << p.first << ", " << p.second; }
template<class T> istream& operator>> (istream& ist, vector<T>& vs) { for(auto& e: vs) ist >> e; return ist; }

typedef long long ll;
int const inf = INT_MAX / 2;

bool m[101];

int main() {
  REP(i, 1, 10) rep(j, 1, 10) {
    m[i * j] |= 1;
  }
  int N; cin >> N;
  cout << (m[N] ? "Yes" : "No") << "\n";
}


Compiler output:
a.cc:23:29: error: macro "rep" passed 3 arguments, but takes just 2
   23 |   REP(i, 1, 10) rep(j, 1, 10) {
      |                             ^
a.cc:6:9: note: macro "rep" defined here
    6 | #define rep(i,n) REP(i,0,n)
      |         ^~~
a.cc: In function 'int main()':
a.cc:23:17: error: 'rep' was not declared in this scope
   23 |   REP(i, 1, 10) rep(j, 1, 10) {
      |                 ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected ';' before '}' token
    7 |       if(n==i*j){s++;break}
      |                           ^
      |                           ;
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:21:14: error: expected '}' at end of input
   21 |     return 0;
      |              ^
a.cc:7:12: note: to match this '{'
    7 | int main() {
      |            ^
Language: C++

// ~maqsat~

// #pragma GCC target ("avx2")
// #pragma GCC optimization ("Ofast")
// #pragma GCC optimization ("unroll-loops")

// #pragma comment(linker, "/stack:200000000")
// #pragma GCC optimize("Ofast")
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

#define F first
#define S second
#define in insert
#define pb push_back
#define eb emplace_back
#define sz(x) int(x.size())
#define all(x) x.begin(), x.end()
#define count1 __builtin_popcountl
#define debug(x) cerr << (#x) << " = " << (x) << "\n"
#define ACCELERATE ios_base::sync_with_stdio(false),cin.tie(nullptr)
#define fre(f) if(fopen(f".in", "r")) freopen(f".in", "r", stdin),freopen(f".out", "w", stdout)

using namespace std;
using namespace __gnu_pbds;

using ll = long long;
using ull = unsigned long long;
// using big = __int128_t; // -10^38...10^38
using db = double;
using ld = long double;
typedef pair<int,int> ii;
typedef pair<ll,ll> pll;

template <class T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <class T> inline void cmin(T &a, T b) { a = min(a, b); }
template <class T> inline void cmax(T &a, T b) { a = max(a, b); }

const int oo = 0x3f3f3f3f;
const ll N = 1e5 + 345;
const ll MOD = 1e9 + 7;
const ll INF = 1e18 + 9;
const db EPS = 1e-9;
const db PI = acos(-1); // 3.14159265358979323846
const int dx[] = {1, -1, 0, 0, 1, 1, -1, -1};
const int dy[] = {0, 0, 1, -1, 1, -1, -1, 1};

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


Compiler output:
a.cc: In function 'int main()':
a.cc:59:44: error: cannot convert 'std::basic_ostream<char>' to 'int' in return
   59 |                 if(i * j == n) return cout << "Yes";
      |                                       ~~~~~^~~~~~~~
      |                                            |
      |                                            std::basic_ostream<char>
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int N;
  cin>>N;
  if(N=1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 12 or 14 or 15 or 16 or 18 or 21 or 24 or 27 or 20 or 28 or 32 or 36 or 30 or 35 or 40 or 45 or 42 or 48 or 54 or 49 or 56 or 63 or 64 or 72 or 81)
    cout<<"Yes";
  else
    cout<<"No";

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: expected '}' at end of input
   10 |     cout<<"No";
      |                ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
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){
      continue;
    }
    if(n/i<10){
      flag=true;
    }
  }
  if(!flag){
    printf("No\n");
  }
  else{
    printf("Yes\n");
  }
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:13:7: error: 'flag' was not declared in this scope
   13 |       flag=true;
      |       ^~~~
a.cc:16:7: error: 'flag' was not declared in this scope
   16 |   if(!flag){
      |       ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;



#define rep(i,m,n) for(ll i=m;i<n;i++)

int main(){
   cin.tie(nullptr);
  ios::sync_with_stdio(false);

 int n;
  cin >> n;
  
  bool flag=false;

  for(int i=1;i<=9;i++){
   for(int j=1;j<=9;j++) if(i*j==n) flag=true;
}
 if(flag) << "Yes" << endl; 
 else cout << "No" << endl; 
  
  
}

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

//
//  atcoder.cpp
//
//
///
#include <bits/stdc++.h>
#include <boost/optional.hpp>
#include <boost/range/irange.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/range/numeric.hpp>
#include <boost/bimap/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/multi_array.hpp>
#include <boost/math/common_factor.hpp>
#include <boost/icl/interval_map.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/pending/disjoint_sets.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/graph/kruskal_min_spanning_tree.hpp>
#include <boost/graph/graph_utility.hpp>
#include <boost/numeric/ublas/vector.hpp>
// ↓これいる？
#include <boost/graph/strong_components.hpp>

#define REP(i, N) for(int i=0; i<(N); i++)
#define REC(f, ...) (void)0; const auto f = [&](const auto f, __VA_ARGS__)
using namespace std;
using namespace boost::math;
using namespace boost::numeric;
using ll = long long;
namespace bst = boost;
template<class T> void fill(T& v) { for (auto&& i : v) cin >> i; }

//#include "atcoder.hpp"

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








Compiler output:
a.cc:7:10: fatal error: boost/optional.hpp: No such file or directory
    7 | #include <boost/optional.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
public class Main{
  public static void main(String[]args){
  	Scanner sc = new Scanner(System.in);
    float a = sc.nextInt();
    String ans = "No";
    
    int []kuku = new int [81];
    int a=0;
    for(int x=1; x<=9; x++){
    	for(int y=1; y<=9; y++){
          kuku[i]=x*y;
          a++;
        }
    }
    for(int i=0; i<81; i++){
    	if(a==kuku[i])ans="Yes";
    }
    
    System.out.println(ans);
  }
}

Compiler output:
Main.java:9: error: variable a is already defined in method main(String[])
    int a=0;
        ^
Main.java:12: error: cannot find symbol
          kuku[i]=x*y;
               ^
  symbol:   variable i
  location: class Main
2 errors
Language: C

#include<stdio.h>
int main()
{
    int n;
    scanf("%d",&n);
    if(n==48||n==49||n=56||n=64||n==72||n==81){printf("Yes");}
    if(n==1||n==2||n==3||n==4||n==5||n==6||n==7||n==8||n==9||n==10||n==12||n==14) {printf("Yes");}
    if(n==15||n==16||n==18||n==20||n==21||n==24||n==25||n==27||n==28||n==30||n==32){printf("Yes");}
    if(n==35||n==36||n==40||n==42||n==45){printf("Yes");}
    else{printf("No");}
    return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:29: error: lvalue required as left operand of assignment
    6 |     if(n==48||n==49||n=56||n=64||n==72||n==81){printf("Yes");}
      |                             ^
Language: C++

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

#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define ANS(ans) cout << ans << endl
#define FLG(flg) if(flg) cout << "Yes" << endl; else cout << "No" << endl;
#define YES cout << "Yes" << endl;
#define NO cout << "No" << endl;
#define COUT(s) cout << s << endl;
#define AN vector<int> a(n); for(int i = 0; i < n; i++) cin >> a[i];
#define IN  int n;  cin >> n;
#define VI  vector<int> 
#define SS stringstream ss;
#define SOLVE cout << solve() << endl;

int main () {
    IN
    bool flg = False;
    REP(i,n) {
        for(int j = 0; i * j <= n;j++) {
            if(i * j == n) flg = True;

        }
    }
    FLG(flg)
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:16: error: 'False' was not declared in this scope
   20 |     bool flg = False;
      |                ^~~~~
a.cc:23:34: error: 'True' was not declared in this scope
   23 |             if(i * j == n) flg = True;
      |                                  ^~~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int count = 0;
    loop: for (int b=1;b<10;b++){
      for (int c = 1;c<10;c++){
        if (a == b*c){
          count =count +1;
          System.out.println("Yes");
          break loop;
        }
      }
    }
    }
  }
}

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

#include<iostream>

using namespace std;


int main()
{
int n;
  cin>>n;
  for(int i=9;i>=1;i--)
  {
if(n%i==0){string a=to_string(int(n/i));
           if(a.size()==1){cout<<"Yes"<<endl; return 0;}
          }
    cout<<"No"<<endl; return 0;
  }

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:4:8: error: 'cin' does not name a type
    4 | int n; cin >> n;
      |        ^~~
a.cc:6:9: error: expected unqualified-id before 'for'
    6 |         for (int i = 1; i <= 9; i++)
      |         ^~~
a.cc:6:25: error: 'i' does not name a type
    6 |         for (int i = 1; i <= 9; i++)
      |                         ^
a.cc:6:33: error: 'i' does not name a type
    6 |         for (int i = 1; i <= 9; i++)
      |                                 ^
a.cc:18:9: error: 'cout' does not name a type
   18 |         cout << "No";
      |         ^~~~
Language: C

#include<stdio.h>
int main()
{
    int n;
    scanf("%d",&n);
    if(n==1||n==2||n==3||n==4||n==5||n==6||n==7||n==8||n==9||n==10||n==12||n==14||n==15||n==16||n==18||n==20||n==21||n==24||n==25||n==27||n==28||n==30||n==32||n==35||n==36||n==40||n==42||n==45||n==48||n==49||n=56||n=64||n==72||n==81)
    {printf("Yes");}
    else{printf("No");}
    return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:216: error: lvalue required as left operand of assignment
    6 |     if(n==1||n==2||n==3||n==4||n==5||n==6||n==7||n==8||n==9||n==10||n==12||n==14||n==15||n==16||n==18||n==20||n==21||n==24||n==25||n==27||n==28||n==30||n==32||n==35||n==36||n==40||n==42||n==45||n==48||n==49||n=56||n=64||n==72||n==81)
      |                                                                                                                                                                                                                        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(void){
int A,B,C,D,E,F;
  A=0;
  cin >>A;
  B=0;
  C=9;
  D=0;
  E=0;
  F=0;
char Y,e,s,N,o;
  Y='Y';
  e='e';
  s='s';
  N='N';
  o='o';
for(int i=1;i<10;i++){
 if(i=1||i=4||i=5||i=6||i=7||i=8||i=9||){
 cout <<Y<<e<<s;
 }
  else{
  cout << N << o;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:40: error: expected primary-expression before ')' token
   19 |  if(i=1||i=4||i=5||i=6||i=7||i=8||i=9||){
      |                                        ^
a.cc:25:2: error: expected '}' at end of input
   25 | }
      |  ^
a.cc:3:15: note: to match this '{'
    3 | int main(void){
      |               ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: 'i' undeclared (first use in this function)
    6 |         for(i=1;i<=9;i++){
      |             ^
main.c:6:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:21: error: 'j' undeclared (first use in this function)
    7 |                 for(j=1;j<=9;j++){
      |                     ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:33: error: 'ok' was not declared in this scope
   11 |                                 ok = 1;
      |                                 ^~
a.cc:16:13: error: 'ok' was not declared in this scope
   16 |         if(!ok) cout << "No";
      |             ^~
Language: Java

import java.util.Scanner;
public class demo2 {
	public static void main(String []args) {
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		for(int i=2;i<10;i++) {
			if(a%i==0) {
				a=a/i;
			}
			if(a==1) {
				System.out.println("Yes");
				break;
			}
		}
		if(a!=1) {
			System.out.println("NO");
		}
	}
}


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

#include<bits/stdc++.h>
 
#define REP(i,s,N) for (int i=s;i<(N); ++i)
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
using namespace std;


string ans = 'No';

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

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 | string ans = 'No';
      |              ^~~~
a.cc:9:14: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested