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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a;
  cin >> a;
  if (a=1 || a=2 || a=3 || a=4 || a=5 || a=6 || a=7 || a=8 || a=9 || a=10 || 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=64 || a=81) {
    cout << Yes << endl;
  }
  else {
    cout << No << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:267: error: lvalue required as left operand of assignment
    7 |   if (a=1 || a=2 || a=3 || a=4 || a=5 || a=6 || a=7 || a=8 || a=9 || a=10 || 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=64 || a=81) {
      |                                                                                                                                                                                                                                                                        ~~~^~~~
a.cc:8:13: error: 'Yes' was not declared in this scope
    8 |     cout << Yes << endl;
      |             ^~~
a.cc:11:13: error: 'No' was not declared in this scope
   11 |     cout << No << endl;
      |             ^~
Language: C++

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

int main() {
  int N=0;
  int S=0;
  int flag=0;

  cin >> N;
  if(0<N && N<100){
    for(i=1; i<10; i++){
      for(j=1; j<10; j++){
        S=i*j;
        if(N==S){
          flag = 1;
          cout << "Yes" <<endl;
          if(flag){
            break;
          }
        }
        if(flag){
          break;
        }
      }
    }
  }
  if(flag != 1)
  {
    cout << "No" << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'i' was not declared in this scope
   11 |     for(i=1; i<10; i++){
      |         ^
a.cc:12:11: error: 'j' was not declared in this scope
   12 |       for(j=1; j<10; j++){
      |           ^
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){
		ans = 'Yes';
		break;
		}
	}
	
	cout << ans << endl;
	return 0;
}

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 | string ans = 'No';
      |              ^~~~
a.cc:16:23: warning: multi-character character constant [-Wmultichar]
   16 |                 ans = 'Yes';
      |                       ^~~~~
a.cc:9:14: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    9 | string ans = 'No';
      |              ^~~~
a.cc: In function 'int main()':
a.cc:16:23: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]
   16 |                 ans = 'Yes';
      |                       ^~~~~
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){
		ans = 'Yes';
		break;
		}
	}
	
	cout << ans << endl;
	return 0;
}

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 | string ans = 'No';
      |              ^~~~
a.cc:16:23: warning: multi-character character constant [-Wmultichar]
   16 |                 ans = 'Yes';
      |                       ^~~~~
a.cc:9:14: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    9 | string ans = 'No';
      |              ^~~~
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before 'N'
   13 |         cin N;
      |            ^~
      |            ;
a.cc:16:23: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]
   16 |                 ans = 'Yes';
      |                       ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N , a , b;
  cin >> N;
  for(a<=9,a++);{
  	b = N % a;
  	if(b==0){
    	cout << "Yes" <<endl;
  	}
  	else{
    	cout << "No" <<endl;
  	}
  }
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N , a , b;
  cin >> N;
  for(a<=9,a++){
  	b = N % a;
  	if(b==0){
    	cout << "Yes" <<endl;
  	}
  	else{
    	cout << "No" <<endl;
  	}
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected ';' before ')' token
    7 |   for(a<=9,a++){
      |               ^
      |               ;
a.cc:16:1: error: expected primary-expression before '}' token
   16 | }
      | ^
a.cc:15:4: error: expected ';' before '}' token
   15 |   }
      |    ^
      |    ;
   16 | }
      | ~   
a.cc:16:1: error: expected primary-expression before '}' token
   16 | }
      | ^
a.cc:15:4: error: expected ')' before '}' token
   15 |   }
      |    ^
      |    )
   16 | }
      | ~   
a.cc:7:6: note: to match this '('
    7 |   for(a<=9,a++){
      |      ^
a.cc:16:1: error: expected primary-expression before '}' token
   16 | }
      | ^
Language: Java

import java.util.*;
public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int N=sc.nextInt();
  int count =0;
  int[]NN={1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,28,30,32,35,36,40,42,45,
           48,49,54,56,63,64,72,81};
  
  myLabel:for(int i=0;i<NN.length;i++){
    
if(NN[i]==N){
  System.out.println("Yes");
  break myLabel;
  }
    count++;
  }
  if(count==35{
System.out.println("No");
  }
}
}
	


Compiler output:
Main.java:18: error: ')' expected
  if(count==35{
              ^
1 error
Language: C++

#include <bits/stdc++.h>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:35: error: expected ')' before '{' token
   10 |     if(N % i == 0 && int(N/i) < 10{
      |       ~                           ^
      |                                   )
a.cc:14:3: error: expected primary-expression before '}' token
   14 |   }
      |   ^
Language: C++

#include <iostream>

using namespace std;

int main(){
  int a;
  bool prime = true;
  int i;
  for(i = 2; i <= a / 2; ++i)
  {
      if(a % i == 0)
      {
          prime = false;
          break;
      }
  }
  
  cin >> a;
  if(abs(a) > 81 || (prime && > 9)){
    cout << "No";
    }
  else cout << "Yes";
  return 0;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:19:31: error: expected primary-expression before '>' token
   19 |   if(abs(a) > 81 || (prime && > 9)){
      |                               ^
Language: C++

#include <iostream>

using namespace std;

int main(){
  int a;
  bool prime = true;
  int i;
  for(i = 2; i <= a / 2; ++i)
  {
      if(a % i == 0)
      {
          prime = false;
          break;
      }
  }
  
  cin >> a;
  if(abs(a) > 81 || (prime && > 9){
    cout << "No";
    }
  else cout << "Yes";
  return 0;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:19:31: error: expected primary-expression before '>' token
   19 |   if(abs(a) > 81 || (prime && > 9){
      |                               ^
a.cc:22:3: error: expected primary-expression before 'else'
   22 |   else cout << "Yes";
      |   ^~~~
a.cc:21:6: error: expected ')' before 'else'
   21 |     }
      |      ^
      |      )
   22 |   else cout << "Yes";
      |   ~~~~
a.cc:19:5: note: to match this '('
   19 |   if(abs(a) > 81 || (prime && > 9){
      |     ^
Language: C++

#include <iostream>
using namespace std;

int main() {
	int n;
	cin>>n;
	int arr[n];
	for(int i=0;i<n;i++){
	    arr[i]=i;
	}
	int flag=0;
	for(int i=0;i<n-1;i++){
	    for(int j=i;j<;j++){
	        if(arr[i]<9&&arr[j]<9){
	            if(arr[i]*arr[j]==n){
	                flag=1;
	            }
	            
	        }
	    }
	}
	if(flag==1){
	    cout<<"Yes";
	}
	else{
	    cout<<"No";
	}
	
}

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

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

int main() {
  int a,b,c;
  1 <= b,c <= 9
  cin>>a;
  if (a/b == c){
    cout<< "Yes" <<endl;
  }
  else {
    cout<< "No" <<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'cin'
    6 |   1 <= b,c <= 9
      |                ^
      |                ;
    7 |   cin>>a;
      |   ~~~
Language: C

#include <stdio.h>

int main()
{	int n, i ,a,b;
	scanf("%d",&n);
 	for(i=0;i<10;i++)
    {
 		a=n%i;
        b=n/i;
	}
 	if(a=0)
      if(b<10)
        printf("Yes")
      else
        printf("No")
     else
       printf("No")
        }

Compiler output:
main.c: In function 'main':
main.c:13:22: error: expected ';' before 'else'
   13 |         printf("Yes")
      |                      ^
      |                      ;
   14 |       else
      |       ~~~~
Language: C++

#include <iomanip>
#include "algorithm"
#include "cmath"
#include "iostream"
using namespace std;
typedef long long ll;

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

  for (ll i = 1; i <= 9; i++) {
    for (ll j = 1; j <= 9; j++) {
      if (N == i * j) {
        cout << "Yes" << endl;
        return;
      }
    }
  }

  cout << "No" << endl;
}


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

module Main where

import           Data.Maybe                     ( fromJust )
import           Data.List
import           Control.Monad
import qualified Data.ByteString.Char8         as BS

bytestr2Int = fst . fromJust . BS.readInt
getInt = bytestr2Int <$> BS.getLine

main :: IO ()
main = do
    n <- getInt
    putStrLn $ check n

check n = if 82 < n
    then "No"
    else if or [ m * l == n | m <- [1 .. 9], let l = div n m, l < 10 ]
        then "Yes"
        else "No"


Compiler output:
a.cc:1:1: error: 'module' does not name a type
    1 | module Main where
      | ^~~~~~
a.cc:1:1: note: C++20 'module' only available with '-fmodules-ts'
Language: Java

import java.util.*;
public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int N=sc.nextInt();
int[]NN={11,13,17,19,22,23,26,29,31,33,34,37,38,39,41,43,44,46,47,50,51,52,53,55,57,58,59,60,61,62,65,66,67,68,69,70,71,73,74,75,76,
77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100};
  
  myLabel:for(int i=0;i<=NN.length;i++){
if(NN[i]==N){
  System.out.println("No");
  break myLabel;
}else if(NN[65]!=N){
System.out.println("Yes");
  }
}
}


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

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<tuple>
#include<map>
#include<queue>
#include <math.h>
#define rep(i, n) rep2(i,0,n)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef long long ll;
using namespace std;

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

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

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

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

#include<iostream>
using namespace std;
int main()
{
  int n,flag;
  cin>>n;
  for(int i=1;i<10;i++)
  {
    if((n/i)>10 && (n%i)==0)
      flag=1;
    else if((n/i)<10 && (n%i)==0)
      flag=0;
    else continue;
  }
  if(flag==1)
    cout<<"NO";
  else
    cout<<"YES";
  retrun 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:3: error: 'retrun' was not declared in this scope
   19 |   retrun 0;
      |   ^~~~~~
Language: Java

import java.io.*;
import java.util.*;
 class Main
{
public static void main(String arg[])
{
Scanner s=new Scanner(System.in);
int a=s.nextInt();
boolean flag=true;
for(int i=1;i<=9;i++)
{if(a%i==0)
{int k=a/i;}
if(k>=1 && k<=9)
{boolean flag=true;break;}
else
flag=false;}
if(flag)
System.out.println("Yes");
else
System.out.println("No");}}

Compiler output:
Main.java:13: error: cannot find symbol
if(k>=1 && k<=9)
   ^
  symbol:   variable k
  location: class Main
Main.java:13: error: cannot find symbol
if(k>=1 && k<=9)
           ^
  symbol:   variable k
  location: class Main
Main.java:14: error: variable flag is already defined in method main(String[])
{boolean flag=true;break;}
         ^
3 errors
Language: C++

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

  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: lvalue required as left operand of assignment
    8 |   if(N%2 = 0){
      |      ~^~
a.cc:11:12: error: lvalue required as left operand of assignment
   11 |   else if(N%3 =0){
      |           ~^~
a.cc:14:12: error: lvalue required as left operand of assignment
   14 |   else if(N%5 =0){
      |           ~^~
a.cc:17:12: error: lvalue required as left operand of assignment
   17 |   else if(N%7 =0){
      |           ~^~
Language: C++

#include <stdio.h>
#include <iostream>
#include <string>
#include <stdlib.h>
#include<time.h>
using namespace std;


int main(void)
{
	int n,i,j,p;
	p = 0;
	scanf_s("%d", &n);
	for (i = 1; i < 10; i++)
	{
		for (j = 1; j < 10; j++)
		{
			if (n == j * i)
				p++;
		}
	}
	if (p > 0)
	{
		printf("Yes");
	}
	else
		printf("No");


	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   13 |         scanf_s("%d", &n);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
 int a,b,c,i,j=0,n,k=0,m=0,p=0;
  cin>>n;
  for(i=1;i<=n;i++)
  { if(n%i==0)
      k++;}
  int A[k];
  for(i=1;i<=n;i++)
  {if(n%i==0)
    {A[m]=i
      m++;}}
  for(i=0;i<k;i++)
  {
    if(A[j]*A[i]==n)
    {
     if(A[j]<=9&&A[i]<=9)
       p++;
    }
    j++;}
  if(p>0)
    cout<<"Yes";
  else
    cout<<"No";
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before 'm'
   13 |     {A[m]=i
      |            ^
      |            ;
   14 |       m++;}}
      |       ~
Language: C++

#include<stdio.h>

int main(void)
{
  int n;
  int i,j;
	cin >> n;
  
  for(i = 1;i <= 9;i++){
    for(j = 1;j <= 9;j++){
      if(n / (i * j) == 0){
        printf("Yes");
      }
      else{
        printf("No");
      }
    }
  }
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |         if(n%i == 0 && n/i<=9) {
      |            ~^~
      |            | |
      |            | double
      |            double
Language: C++

#include <bits/stdc++.h> 

using namespace std;

int main() {
  int N;
  cin>>N;
  
  int num = 0;
  for(i=0; i<=100; i++) {
    if(N%i==0) {
      num = N / i;
    }
  }

  if(num<=9 && N/num<=9) {
    cout<<"Yes"<<endl;
  } else {
    cout<<"No"<<endl;
  }
}


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

#include<stdio.h>

int main(void)
{
  int n;
  int i,j;
  scanf("%d",n);
  
  for(i = 1;i <= 9;i++){
    for(j = 1;j <= 9;i++){
      if(n / (i * j) == 0){
        ptintf("yes");
      }
      else{
        printf("no");
      }
    }
  }
}

Compiler output:
main.c: In function 'main':
main.c:12:9: error: implicit declaration of function 'ptintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |         ptintf("yes");
      |         ^~~~~~
      |         printf
Language: C

#include<stdio.h>

int main(void)
{
  int n;
  int i,j;
  scanf("%d",n);
  
  for(i = 1;i <= 9;i++){
    for(j = 1;j <= 9;i++){
      if(n / (i * j) == 0){
        ptintf("yes")
      }
      else{
        printf("no")
      }
    }
  }
}

Compiler output:
main.c: In function 'main':
main.c:12:9: error: implicit declaration of function 'ptintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |         ptintf("yes")
      |         ^~~~~~
      |         printf
main.c:12:22: error: expected ';' before '}' token
   12 |         ptintf("yes")
      |                      ^
      |                      ;
   13 |       }
      |       ~               
main.c:15:21: error: expected ';' before '}' token
   15 |         printf("no")
      |                     ^
      |                     ;
   16 |       }
      |       ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    7 |         if(n%i == 0 && n/i<=9) {
      |            ~^~
      |            | |
      |            | int
      |            double
Language: C++

clude<bits/stdc++.h>
using namespace std;
int main()  
{
  int n;
  cin>>n;
  int ans=0;
  for(int i=1;i<=9;i++){
  	if(n%i==0&&(n/i)<=9) ans=1;
  }
  if(ans) puts("Yes");
  else puts("No");
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>n;
      |   ^~~
a.cc:11:11: error: 'puts' was not declared in this scope
   11 |   if(ans) puts("Yes");
      |           ^~~~
a.cc:12:8: error: 'puts' was not declared in this scope
   12 |   else puts("No");
      |        ^~~~
Language: C++

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

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

  if (double)(N%1==0 ||N%2==0|| N%3==0|| N%4==0|| N%5==0|| N%6==0|| N%7==0|| N%8==0|| N%9==0||)
    {cout <<"Yes"<< endl;
  }
  else {
    cout << "No" << endl;
  }


}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected unqualified-id before ')' token
    8 |   if (double)(N%1==0 ||N%2==0|| N%3==0|| N%4==0|| N%5==0|| N%6==0|| N%7==0|| N%8==0|| N%9==0||)
      |             ^
a.cc:8:95: error: expected primary-expression before ')' token
    8 |   if (double)(N%1==0 ||N%2==0|| N%3==0|| N%4==0|| N%5==0|| N%6==0|| N%7==0|| N%8==0|| N%9==0||)
      |                                                                                               ^
Language: C++

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

int main() {
  int N, i;
  cin>>N;
  for(i=1;i<=10,i++){
    if(i==10){
      printf("No");
      break;
    }
    if((N%i==0)&&(N/i<=9)){
      pritf("Yes");
      break;
    }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: expected ';' before ')' token
    7 |   for(i=1;i<=10,i++){
      |                    ^
      |                    ;
a.cc:13:7: error: 'pritf' was not declared in this scope; did you mean 'printf'?
   13 |       pritf("Yes");
      |       ^~~~~
      |       printf
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include<stdio.h>
int main(){
	int N;
int *i,*j;
	scanf("%d(1<=N<=100)",&N);
	if(N==mt(i,j)){
		printf("Yes");
	}
	else{
	printf("No");}
	return 0;
}
void mt(int *i,int *j){
		int *m;
for(i=1;i<10;i++){

for(j=1;j<10;j++)
*m= i*j; 
printf("%d",m);
return main;}
	
}




Compiler output:
main.c: In function 'main':
main.c:6:15: error: implicit declaration of function 'mt' [-Wimplicit-function-declaration]
    6 |         if(N==mt(i,j)){
      |               ^~
main.c: At top level:
main.c:13:6: warning: conflicting types for 'mt'; have 'void(int *, int *)'
   13 | void mt(int *i,int *j){
      |      ^~
main.c:6:15: note: previous implicit declaration of 'mt' with type 'void(int *, int *)'
    6 |         if(N==mt(i,j)){
      |               ^~
main.c: In function 'mt':
main.c:15:6: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   15 | for(i=1;i<10;i++){
      |      ^
main.c:15:10: warning: comparison between pointer and integer
   15 | for(i=1;i<10;i++){
      |          ^
main.c:17:6: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   17 | for(j=1;j<10;j++)
      |      ^
main.c:17:10: warning: comparison between pointer and integer
   17 | for(j=1;j<10;j++)
      |          ^
main.c:18:6: error: invalid operands to binary * (have 'int *' and 'int *')
   18 | *m= i*j;
      |      ^
main.c:20:8: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
   20 | return main;}
      |        ^~~~
main.c:13:6: note: declared here
   13 | void mt(int *i,int *j){
      |      ^~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: expected ',' or ';' before 'i'
    5 |   int x, y=0 i, j;
      |              ^
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   for(i=1;i++;i<10){
      |       ^
a.cc:10:9: error: 'j' was not declared in this scope
   10 |     for(j=1;j++;j<10){
      |         ^
a.cc:23:2: error: expected '}' at end of input
   23 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main(){
    int N;
    cin >> N;
    if(N / 2 =< 9){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
}

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

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

int main() {
  int x, y=0 i=1, j=1;
  cin >> x;
  
  for(i;i++;i<10){
    for(j;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:5:14: error: expected ',' or ';' before 'i'
    5 |   int x, y=0 i=1, j=1;
      |              ^
a.cc:8:7: error: 'i' was not declared in this scope
    8 |   for(i;i++;i<10){
      |       ^
a.cc:9:9: error: 'j' was not declared in this scope
    9 |     for(j;j++;j<10){
      |         ^
Language: C++

#include<iostream>
#include<math.h>
using namespace std;

int main() {
	int N;
	cin >> N;
  int a = 9;
	if(N/9=<9){
      cout << "Yes" << endl;
    }
    else if(N/8=<9){
      cout << "Yes" << endl;
    }
  	else if(N/7=<9){
      cout << "Yes" << endl;
    }
  	else if(N/6=<9){
      cout << "Yes" << endl;
    }
  	else if(N/5=<9){
      cout << "Yes" << endl;
    }
  	else if(N/4=<9){
      cout << "Yes" << endl;
    }
  	else if(N/3=<9){
      cout << "Yes" << endl;
    }
  	else if(N/2=<9){
      cout << "Yes" << endl;
    }
  	else if(N/1=<9){
      cout << "Yes" << endl;
    }
  	else{
      cout << "No" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected primary-expression before '<' token
    9 |         if(N/9=<9){
      |                ^
a.cc:12:17: error: expected primary-expression before '<' token
   12 |     else if(N/8=<9){
      |                 ^
a.cc:15:21: error: expected primary-expression before '<' token
   15 |         else if(N/7=<9){
      |                     ^
a.cc:18:21: error: expected primary-expression before '<' token
   18 |         else if(N/6=<9){
      |                     ^
a.cc:21:21: error: expected primary-expression before '<' token
   21 |         else if(N/5=<9){
      |                     ^
a.cc:24:21: error: expected primary-expression before '<' token
   24 |         else if(N/4=<9){
      |                     ^
a.cc:27:21: error: expected primary-expression before '<' token
   27 |         else if(N/3=<9){
      |                     ^
a.cc:30:21: error: expected primary-expression before '<' token
   30 |         else if(N/2=<9){
      |                     ^
a.cc:33:21: error: expected primary-expression before '<' token
   33 |         else if(N/1=<9){
      |                     ^
Language: C++

#include<iostream>
#include<math.h>
using namespace std;

int main() {
	int N;
	cin >> N;
  int a = 9
	if(N/9=<9){
      cout << "Yes" << endl;
    }
    else if(N/8=<9){
      cout << "Yes" << endl;
    }
  	else if(N/7=<9){
      cout << "Yes" << endl;
    }
  	else if(N/6=<9){
      cout << "Yes" << endl;
    }
  	else if(N/5=<9){
      cout << "Yes" << endl;
    }
  	else if(N/4=<9){
      cout << "Yes" << endl;
    }
  	else if(N/3=<9){
      cout << "Yes" << endl;
    }
  	else if(N/2=<9){
      cout << "Yes" << endl;
    }
  	else if(N/1=<9){
      cout << "Yes" << endl;
    }
  	else{
      cout << "No" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected ',' or ';' before 'if'
    9 |         if(N/9=<9){
      |         ^~
a.cc:12:5: error: 'else' without a previous 'if'
   12 |     else if(N/8=<9){
      |     ^~~~
a.cc:12:17: error: expected primary-expression before '<' token
   12 |     else if(N/8=<9){
      |                 ^
a.cc:15:21: error: expected primary-expression before '<' token
   15 |         else if(N/7=<9){
      |                     ^
a.cc:18:21: error: expected primary-expression before '<' token
   18 |         else if(N/6=<9){
      |                     ^
a.cc:21:21: error: expected primary-expression before '<' token
   21 |         else if(N/5=<9){
      |                     ^
a.cc:24:21: error: expected primary-expression before '<' token
   24 |         else if(N/4=<9){
      |                     ^
a.cc:27:21: error: expected primary-expression before '<' token
   27 |         else if(N/3=<9){
      |                     ^
a.cc:30:21: error: expected primary-expression before '<' token
   30 |         else if(N/2=<9){
      |                     ^
a.cc:33:21: error: expected primary-expression before '<' token
   33 |         else if(N/1=<9){
      |                     ^
Language: C++

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

int main() {
  int N;
  bool ans;
  ans = false;
  cin >> N;
  for (int m=1; m < 10; m++){
    if (N%m == 0 && N/m < 10){
      ans = true;
    }
  }
  if (ans){
    cout << "YES" << endl;
  }
  else{
    cout << "NO" << endl;
  }


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

#include <stdio.h>

int main(){
	int n;
	scanf("%d", &n);
	int ok = 0;
	for(int i = 2; i <= 9; i++){
		if(n % i == 0){
			t = n / i;
			if(t <= 9 && t >= 1){
				ok = 1; break;
			}
		}
	}
	printf("%s\n", ok ? "Yes" : "No");
}

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

#include<iostream>

using namespace std;

int main(){

	int n;

	cin >> n;

	int m;

	for(int i = 2; i < 10; i++){
		if(n % i == 0){
			m = n/i;
			for(int j = 1; j < 10; j++){
				if(j == m){
					cout << "Yes" << endl;
					j = 10;
					i == 20;
				}
			}
		}
	}
	if(i != 20) cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:12: error: 'i' was not declared in this scope
   25 |         if(i != 20) cout << "No" << endl;
      |            ^
Language: C

#include<stdio.h>

int main(){
  
  int input,ans=0,cnt1,cnt2;
  
  scanf("%d",&input);
  
  for(cnt1=1;cnt1<=9;cnt1++){
    for(cnt2=1;cnt2<=9;cnt2++){
      if(cnt1*cnt2==input){
        printf("Yes");
		ans=1;    
      }
    }
    
    if(ans==0){
      printf("No");
    }
    
    return 0;
  }

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

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

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

#include<stdio.h>

int main(){
  
  int input,ans=0,cnt1,cnt2;
  
  scanf("%d",&input);
  
  for(cnt1=1;cnt1<=9;cnt++){
    for(cnt2=1;cnt2<=9;cnt++){
      if(cnt1*cnt2==input){
        printf("Yes");
		ans=1;    
      }
    }
    
    if(ans==0){
      printf("No");
    }
    
    return 0;

Compiler output:
main.c: In function 'main':
main.c:9:22: error: 'cnt' undeclared (first use in this function); did you mean 'cnt2'?
    9 |   for(cnt1=1;cnt1<=9;cnt++){
      |                      ^~~
      |                      cnt2
main.c:9:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:5: error: expected declaration or statement at end of input
   21 |     return 0;
      |     ^~~~~~
main.c:21:5: error: expected declaration or statement at end of input
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:9:17: error: 'x' undeclared (first use in this function)
    9 |         a = a / x;
      |                 ^
main.c:9:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:5: error: expected declaration or statement at end of input
   15 |     printf("No");
      |     ^~~~~~
main.c:15:5: error: expected declaration or statement at end of input
main.c:15:5: error: expected declaration or statement at end of input
Language: Java

import java.util.*;
public class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
  int N=sc.nextInt();
  int[]NN={1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,28,30,32,35,36,40,42,45,
           48,49,54,56,63,64,72,81};
  
  for(int i=0;i<NN.length;i++){
if(NN[i]=N){
  System.out.println("Yes");
}else if(NN[35]!=N){
System.out.println("No");
}
  }
}
}


Compiler output:
Main.java:10: error: incompatible types: int cannot be converted to boolean
if(NN[i]=N){
        ^
1 error
Language: C++

int main(){
    int N;
    cin >> N;
    int a,b;
    bool flag = false;
    for(int i=1;i<10;i++){
        a = N/i;
        b = N%i;
        if(b==0 && a<=9 && a>=1){
            flag =true;
            break;
        }
    }
    if(flag) cout << "Yes" << endl;
    else cout << "No" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> N;
      |     ^~~
a.cc:14:14: error: 'cout' was not declared in this scope
   14 |     if(flag) cout << "Yes" << endl;
      |              ^~~~
a.cc:14:31: error: 'endl' was not declared in this scope
   14 |     if(flag) cout << "Yes" << endl;
      |                               ^~~~
a.cc:15:10: error: 'cout' was not declared in this scope
   15 |     else cout << "No" << endl;
      |          ^~~~
a.cc:15:26: error: 'endl' was not declared in this scope
   15 |     else cout << "No" << endl;
      |                          ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
	int n,a,i;
	cin >> n

	for(i=9;i0;i--){
		a=n/i;
		if(a<10){
			cout << "Yes" << endl;
			break;
		}

		if(i==1){
			cout << "No" << endl;
		}
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected ';' before 'for'
    6 |         cin >> n
      |                 ^
      |                 ;
    7 | 
    8 |         for(i=9;i0;i--){
      |         ~~~      
a.cc:8:17: error: 'i0' was not declared in this scope; did you mean 'i'?
    8 |         for(i=9;i0;i--){
      |                 ^~
      |                 i
a.cc:8:23: error: expected ';' before ')' token
    8 |         for(i=9;i0;i--){
      |                       ^
      |                       ;
Language: C++

#include<iostream>
using namespace std;

int main(){
	int n,a,i;
	cin >> n

	for(i=9;i>0;i--){
		a=n/i;
		if(a<10){
			cout << "Yes" << endl;
			break;
		}

		if(i=1){
			cout << "No" << endl;
		}
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected ';' before 'for'
    6 |         cin >> n
      |                 ^
      |                 ;
    7 | 
    8 |         for(i=9;i>0;i--){
      |         ~~~      
a.cc:8:24: error: expected ';' before ')' token
    8 |         for(i=9;i>0;i--){
      |                        ^
      |                        ;
Language: C++

a = int(input())

i = 2
b = 0

for i in range(2,10):
  if (a % i ==0):
    if(a / i < 10):
      b = b+ 1
      break
    else:
      pass
  else:
    pass
  
if (b == 1):
  print("Yes")
else:
  print("No")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a = int(input())
      | ^
Language: C++

/*
Though leaves are many , the root is one.
Through all the lying days of my youth
I swayed my leaves and flowers in the sun.
Now I may wither into the truth.
	  	  	- William Butler Yeats
*/
//#pragma GCC optimize("Ofast,no-stack-protector")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
//#pragma GCC target("avx,tune=native")
#include<bits/stdc++.h>
//#include<ext/pb_ds/assoc_container.hpp>
using namespace std;
//using namespace __gnu_pbds;
const int inf=0x3f3f3f3f;
const double eps=1e-6;
const int mod=1000000007;
typedef long long ll;
#ifndef LOCAL
#define cerr if(0)cout
#endif
#define eprintf(...) fprintf(stderr, __VA_ARGS__)
inline string getstr(string &s,int l,int r){string ret="";for(int i=l;i<=r;i++)ret.push_back(s[i]);return ret;}
int modpow(int x,int y,int md=mod){if(y==0)return 1;int ret=modpow(x,y>>1,md);ret=(ll)ret*ret%md;if(y&1)ret=(ll)ret*x%md;return ret;}
int n;
int main(){
	cin>>n;
	for(int i=1;i<=9;i++){
		if(n%i==0&&n/i<=9){
			puts("Yes");
			return 
		}
	}
	puts("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:17: error: expected primary-expression before '}' token
   32 |                 }
      |                 ^
a.cc:31:31: error: expected ';' before '}' token
   31 |                         return
      |                               ^
      |                               ;
   32 |                 }
      |                 ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:23: error: expected ';' before ')' token
    5 |   for(int i=1;i++,i<=9){
      |                       ^
      |                       ;
Language: C++

#include<stdio.h>
int main()
{
    int n,x,y,o,e,i;
    scanf("%d",&n);
    for(i=sqrt(n); i>=1; i--)
    {
        if(n%i==0)
        {
            x=i;
            y=n/i;
            if(x>9||y>9)
            {
                printf("No");
                break;
            }
            else
            {
                printf("Yes");
                break;
            }
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'sqrt' was not declared in this scope
    6 |     for(i=sqrt(n); i>=1; i--)
      |           ^~~~
Language: Java

import java.util.Scanner;

public class B 
{
	public static void main(String[] args) 
	{
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		
		int no		=	sc.nextInt();
		
		for(int i= 1; i < 10; i++)
		{
			if(no%i == 0 && no/i < 10)
			{
				System.out.println("Yes");
				return;
			}
		}
		
		System.out.println("No");
	}
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'scanf' was not declared in this scope
    3 |   scanf("%d",&N);
      |   ^~~~~
a.cc:9:9: error: 'printf' was not declared in this scope
    9 |         printf("Yes\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
a.cc:15:1: error: 'printf' was not declared in this scope
   15 | printf("No\n");
      | ^~~~~~
a.cc:15:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:32: error: expected unqualified-id before numeric constant
    5 |   vector<vector<int>> bans(9),(9);
      |                                ^
a.cc:5:32: error: expected ')' before numeric constant
    5 |   vector<vector<int>> bans(9),(9);
      |                               ~^
      |                                )
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:30: error: expected ',' or ';' before '(' token
    5 |   vector<vector<int>> bans(9)(9);
      |                              ^
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:4: error: expected '}' at end of input
   32 |   }
      |    ^
a.cc:23:12: note: to match this '{'
   23 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: 'J' was not declared in this scope
    9 |             if(i*J ==N){
      |                  ^
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;
}
#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:55:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   55 | int main() {
      |         ^~
a.cc:55:9: note: remove parentheses to default-initialize a variable
   55 | int main() {
      |         ^~
      |         --
a.cc:55:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:55:12: error: a function-definition is not allowed here before '{' token
   55 | int main() {
      |            ^
a.cc:65:2: error: expected '}' at end of input
   65 | }
      |  ^
a.cc:23:12: note: to match this '{'
   23 | int main() {
      |            ^
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;
}
#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:55:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   55 | int main() {
      |         ^~
a.cc:55:9: note: remove parentheses to default-initialize a variable
   55 | int main() {
      |         ^~
      |         --
a.cc:55:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:55:12: error: a function-definition is not allowed here before '{' token
   55 | int main() {
      |            ^
a.cc:66:1: error: '\U000063d0\U000051fa\U000060c5\U00005831' was not declared in this scope
   66 | 提出情報
      | ^~~~~~~~
a.cc:68:9: error: expected '}' at end of input
   68 | 提出日時
      |         ^
a.cc:23:12: note: to match this '{'
   23 | int main() {
      |            ^