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

//g++  5.4.0

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

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

//g++  5.4.0

#include <bits/stdc+++.h>

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

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

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

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


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

if(N % 2 != 0 && N%3 != 0 && N%5 != 0 & N%7 != 0)

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'if'
    1 | if(N % 2 != 0 && N%3 != 0 && N%5 != 0 & N%7 != 0)
      | ^~
Language: C++

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int n;
	cin>>n;
	bool c=0;
	for(int i=1;i<=9;++i){
	    if(!(n%i)){
	        if(n/i<=9){
	            c=1;
	            break;
	        }
	    }
	}
	if(c) cout<<"Yes"
	else cout<<"No"
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: error: expected ';' before 'else'
   17 |         if(c) cout<<"Yes"
      |                          ^
      |                          ;
   18 |         else cout<<"No"
      |         ~~~~
Language: C

#include <stdio.h>
int main(){
  int N;
  int count = 0;
  int S={1,2,3,4,5,6,7,8,9};
  scanf("%d",&N);
  if(N > 82)printf("No");
  for(int i = 0;i<9;i++){
    if(N%S[i] == 0 && N/S[i] <=9)count++;
  }
  if(count == 0)printf("No");
  else printf("Yes");
}

Compiler output:
main.c: In function 'main':
main.c:5:12: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |            ^
main.c:5:12: note: (near initialization for 'S')
main.c:5:14: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |              ^
main.c:5:14: note: (near initialization for 'S')
main.c:5:16: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                ^
main.c:5:16: note: (near initialization for 'S')
main.c:5:18: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                  ^
main.c:5:18: note: (near initialization for 'S')
main.c:5:20: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                    ^
main.c:5:20: note: (near initialization for 'S')
main.c:5:22: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                      ^
main.c:5:22: note: (near initialization for 'S')
main.c:5:24: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                        ^
main.c:5:24: note: (near initialization for 'S')
main.c:5:26: warning: excess elements in scalar initializer
    5 |   int S={1,2,3,4,5,6,7,8,9};
      |                          ^
main.c:5:26: note: (near initialization for 'S')
main.c:9:11: error: subscripted value is neither array nor pointer nor vector
    9 |     if(N%S[i] == 0 && N/S[i] <=9)count++;
      |           ^
main.c:9:26: error: subscripted value is neither array nor pointer nor vector
    9 |     if(N%S[i] == 0 && N/S[i] <=9)count++;
      |                          ^
Language: C

#include <stdio.h>
int main(){
  int N;
  int count = 0;
  int S[10] ={2,3,4,5,6,7,8,9};
  scanf("%d",&N);
  if(N => 82)printf("No");
  for(int i = 0;i<8;i++){
    if(N%S[i] == 0 && N/S[i] <=9)count++;
  }
  if(count == 0)printf("No");
  else printf("Yes");
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: expected expression before '>' token
    7 |   if(N => 82)printf("No");
      |         ^
Language: C

#include<stdio.h>
int main(){
  int c,j,n;
  #c:const  j:judge  n:number
  scanf("%d",&n);
  for(int i=0;i<3;i++){
  if(n%2 == 0)c = n/2;
  else if(n%3 == 0)c = n/3;
  else if(n%5 == 0)c = n/5;
  else if(n%7 == 0)c = n/7;
  else printf("No");
  }
  if(c <= 9)printf("Yes");
  else printf("No");
}

Compiler output:
main.c: In function 'main':
main.c:4:4: error: invalid preprocessing directive #c
    4 |   #c:const  j:judge  n:number
      |    ^
Language: Java

package pong;
import java.util.*;
public class Hi {

	public static void main(String[] args) {
		Scanner t=new Scanner(System.in);
		int x;
		x=t.nextInt();
		boolean ok=false;
		for(int i=0;i<=9;i++) {
			for(int j=0;j<=9;j++) {
				if(i*j==x) {ok=true;}
			}
		}
		if(ok==true) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		t.close();
	}

	

}
}

Compiler output:
Main.java:27: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

//shara's here
import java.util.*;

public class My_Sweet_Java_Start {
	public static void main(String[] args){
		Scanner t=new Scanner(System.in);
		int x;
		x=t.nextInt();
		boolean ok=false;
		for(int i=0;i<=9;i++) {
			for(int j=0;j<=9;j++) {
				if(i*j==x) {ok=true;}
			}
		}
		if(ok==true) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		t.close();
	}

}



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

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a;
    cin>>a;
    for(int i=0;i<9;i++){
            if(a%i==0 && a/i<=9 || 0a/i>=1){
                    cout << "Yes" <<endl;
                    return 0;
            }
            cout << "No" <<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:36: error: unable to find numeric literal operator 'operator""a'
    8 |             if(a%i==0 && a/i<=9 || 0a/i>=1){
      |                                    ^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a;


    cin>>a;

    if(a==0||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==32||a==34||a==36||a==40||a==42||a==35||a==45||a==48||a==54||a==56||a==63||a==64||a==72||a==81||a==49)
        cout<<"Yes";
    else
        cout<<"No";




//47-025

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

//shara's here
import java.util.*;
public class My_Sweet_Java_Start {
	public static void main(String[] args){
		Scanner t=new Scanner(System.in);
		int x;
		x=t.nextInt();
		boolean ok=false;
		for(int i=0;i<=9;i++) {
			for(int j=0;j<=9;j++) {
				if(i*j==x) {ok=true;}
			}
		}
		if(ok==true) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		t.close();
	}

}


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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:26: error: expected ';' before '}' token
   13 |                 D = false
      |                          ^
      |                          ;
   14 |             }
      |             ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    3 |   int N; cin >> N;
      |          ^~~
      |          std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout << "Yes" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         cout << "Yes" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |   cout << "No" << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |   cout << "No" << endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:23: error: 'A' undeclared (first use in this function)
    8 |                 if(N==A*B){
      |                       ^
main.c:8:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:25: error: 'B' undeclared (first use in this function)
    8 |                 if(N==A*B){
      |                         ^
Language: Java

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


Compiler output:
Main.java:15: error: ';' expected
            System.out.println("No")
                                    ^
Main.java:20: error: reached end of file while parsing
}
 ^
2 errors
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(i = 1; i <= 9; i++){
        for(j = 1; j <= 9; j++){
          if(i*j == n){
            System.out.println("Yes");
              break;
          }else{
            System.out.println("No")
          }
      
      sc.close();
    }
}


Compiler output:
Main.java:15: error: ';' expected
            System.out.println("No")
                                    ^
Main.java:20: error: reached end of file while parsing
}
 ^
2 errors
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
int main(){
  int i, n;
  cin >> n;
  for(i=ceil(sqrt(n)), i<=n&&i<=9; i++)
    if(!(n%i)){
      cout << "Yes" << endl;
      return 0;
    }
  cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:39: error: expected ';' before ')' token
    7 |   for(i=ceil(sqrt(n)), i<=n&&i<=9; i++)
      |                                       ^
      |                                       ;
Language: C++

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

int a,b;

int main()
{
	cin>>a>>b;
	if(a>0 && a<10)
	{
		if(b>0 && b<10)
		{
			cout<<"Yes<<'\n';
			return 0;
		}
	}
	cout<<"No\n";
	return 0;
}

Compiler output:
a.cc:13:31: warning: missing terminating " character
   13 |                         cout<<"Yes<<'\n';
      |                               ^
a.cc:13:31: error: missing terminating " character
   13 |                         cout<<"Yes<<'\n';
      |                               ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:14:25: error: expected primary-expression before 'return'
   14 |                         return 0;
      |                         ^~~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:19:17: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   19 |     cout < "No" << endl;
      |            ~~~~~^~~~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:16:13: error: 'Yes' was not declared in this scope; did you mean 'res'?
   16 |     cout << Yes << endl;
      |             ^~~
      |             res
a.cc:19:12: error: 'No' was not declared in this scope; did you mean 'N'?
   19 |     cout < No << endl;
      |            ^~
      |            N
Language: C++

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

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

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

#include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
    //cable way
//    int m,n, total;
//    total = 29;
//    int colors[3];
//    for (int i = 0; i< 3; i++){
//        cin>> colors[i];
//    }
//    m= 0;
//    n = 0;
//    for (int j = 0; j< 3; j++){ //redefine color
//        if (colors[j]%2==1){
//            colors[j]  = colors[j]/2+1;
//        }
//        else {
//            colors[j] = colors[j]/2;
//        }
//    }
//    for (int i = 0; i< 3; i++){
//        if (colors[i]>=m){
//            m = colors[i];
//            n = i;
//        }
//    }
//    n++;
//    total = 29 + 3*(m-1) + n;
//    cout << total;
    //81 --> works
    bool product= false;
    cin>> n;
    for (int i = 1; i<= 9; i++){
        int h = n/i;
        int g = n%i;
        if (g == 0){
            if (1<=h && h<=9){
                product = true;
            }
        }
    }
    if (product){
        cout<< "Yes";
    }
    else {
        cout << "No";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:32:11: error: 'n' was not declared in this scope
   32 |     cin>> n;
      |           ^
Language: C++

  1 #include <bits/stdc++.h>
  2 using namespace std;
  3 
  4 #define SZ(x) (int)(x.size())
  5 #define REP(i, n) for(int i=0;i<n;++i)
  6 #define FOR(i, a, b) for(int i=a;i<b;++i)
  7 
  8 using ll = int64_t;
  9 using ld = long double;
 10 using P = pair<int, int>;
 11 using vi = vector<int>;
 12 using vvi = vector<vector<int>>;
 13 using vll = vector<ll>;
 14 using vvll = vector<vector<ll>>;
 15 const double eps = 1e-8;
 16 const ll MOD = 1000000007;
 17 
 18 int main() {
 19   cin.tie(0);
 20   ios::sync_with_stdio(false);
 21   cout << fixed << setprecision(10);
 22 
 23   ll n;
 24   cin>>n;
 25   string s = "No";
 26   FOR(i,1,10){
 27     if(n/i<=10 && n%i==0)s = "Yes";
 28   }
 29   cout<<s<<endl;
 30 }


Compiler output:
a.cc:1:5: error: stray '#' in program
    1 |   1 #include <bits/stdc++.h>
      |     ^
a.cc:4:5: error: stray '#' in program
    4 |   4 #define SZ(x) (int)(x.size())
      |     ^
a.cc:5:5: error: stray '#' in program
    5 |   5 #define REP(i, n) for(int i=0;i<n;++i)
      |     ^
a.cc:6:5: error: stray '#' in program
    6 |   6 #define FOR(i, a, b) for(int i=a;i<b;++i)
      |     ^
a.cc:1:3: error: expected unqualified-id before numeric constant
    1 |   1 #include <bits/stdc++.h>
      |   ^
a.cc:3:3: error: expected unqualified-id before numeric constant
    3 |   3
      |   ^
a.cc:5:35: error: 'i' does not name a type
    5 |   5 #define REP(i, n) for(int i=0;i<n;++i)
      |                                   ^
a.cc:5:39: error: expected unqualified-id before '++' token
    5 |   5 #define REP(i, n) for(int i=0;i<n;++i)
      |                                       ^~
a.cc:6:38: error: 'i' does not name a type
    6 |   6 #define FOR(i, a, b) for(int i=a;i<b;++i)
      |                                      ^
a.cc:6:42: error: expected unqualified-id before '++' token
    6 |   6 #define FOR(i, a, b) for(int i=a;i<b;++i)
      |                                          ^~
a.cc:9:3: error: expected unqualified-id before numeric constant
    9 |   9 using ld = long double;
      |   ^
a.cc:10:2: error: expected unqualified-id before numeric constant
   10 |  10 using P = pair<int, int>;
      |  ^~
a.cc:11:2: error: expected unqualified-id before numeric constant
   11 |  11 using vi = vector<int>;
      |  ^~
a.cc:12:2: error: expected unqualified-id before numeric constant
   12 |  12 using vvi = vector<vector<int>>;
      |  ^~
a.cc:13:2: error: expected unqualified-id before numeric constant
   13 |  13 using vll = vector<ll>;
      |  ^~
a.cc:14:2: error: expected unqualified-id before numeric constant
   14 |  14 using vvll = vector<vector<ll>>;
      |  ^~
a.cc:15:2: error: expected unqualified-id before numeric constant
   15 |  15 const double eps = 1e-8;
      |  ^~
a.cc:16:2: error: expected unqualified-id before numeric constant
   16 |  16 const ll MOD = 1000000007;
      |  ^~
a.cc:17:2: error: expected unqualified-id before numeric constant
   17 |  17
      |  ^~
Language: C++

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

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

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int n;
	cin>>n;
	int flag=0;
	for(int i=1;i<10;i++){
	    for(int j=1;j<10;j++){
	        if(n==i*j){
	            flag=1;
	            break;
	        }
	    }
	}
	if(flag==0){
	    cout<<"No\n";
	}
	else
	cout<<"Yes\n"
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:22: error: expected ';' before 'return'
   21 |         cout<<"Yes\n"
      |                      ^
      |                      ;
   22 |         return 0;
      |         ~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std ;
bool flag =false ;
int a[36] ={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,45,48,49,64,81};
int main() {
 	int n ;
  	cin >> n ;
  	for(int i =0 ; i < 32 ; i++) {
    	if(a[i] == n) flag = true ; 
    }
  	if(flag) cout << "Yes" << endl ;
  	elsecout << "No" << endl ;
	return 0 ;
}

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

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

Compiler output:
a.cc:17:2: error: unterminated argument list invoking macro "rep"
   17 | }
      |  ^
a.cc: In function 'int main()':
a.cc:7:2: error: 'rep' was not declared in this scope
    7 |  rep(i,10{
      |  ^~~
a.cc:7:5: error: expected '}' at end of input
    7 |  rep(i,10{
      |     ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

clude<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a;
    cin >> a;
    
  	// validate a is multiple of 1~9 * 1~9
    // if devide 2~9 returns yes 
  	bool result = false;
  	for (int i = 2; i < 9 ; ++i) {
        if (a % 9 == 0){
          result = true;
          break;
        }
    }
  	
  	if(result){
      cout << "Yes"<< endl;
    }else{
      cout<< "No" << endl;
    }
    return 0;
}
#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a;
    cin >> a;
    
  	// validate a is multiple of 1~9 * 1~9
    // if devide 2~9 returns yes 
  	bool result = false;
  
  	for (int i = 1; i < 9 ; ++i) {
        if (a % 9 == 0){
          result = true;
          break;
        }
    }
  	
  	if(result){
      cout << "Yes"<< endl;
    }else{
      cout<< "No" << endl;
    }
    return 0;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<iostream>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> a;
      |     ^~~
a.cc:20:7: error: 'cout' was not declared in this scope
   20 |       cout << "Yes"<< endl;
      |       ^~~~
a.cc:20:23: error: 'endl' was not declared in this scope
   20 |       cout << "Yes"<< endl;
      |                       ^~~~
a.cc:22:7: error: 'cout' was not declared in this scope
   22 |       cout<< "No" << endl;
      |       ^~~~
a.cc:22:22: error: 'endl' was not declared in this scope
   22 |       cout<< "No" << endl;
      |                      ^~~~
a.cc: At global scope:
a.cc:28:5: error: redefinition of 'int main()'
   28 | int main()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a;
    cin >> a;
    
  	// validate a is multiple of 1~9 * 1~9
    // if devide 2~9 returns yes 
  	bool result = false;
  	for (int i = 2; i < 9 ; ++i) {
        if (a % 9 == 0){
          result = true;
          break;
        }
    }
  
    // 出力
    cout << result ? "Yes" : "No" << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:35: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   20 |     cout << result ? "Yes" : "No" << endl;
      |                              ~~~~~^~~~~~~
Language: C++

#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
using namespace std;

int N;

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

  cout << "No" << endl;
}


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

#include<stdio.h>

int main(void)
{
    int a,n,c;
    scanf("%d",&a);
    for(n = 1;n < 10;n++)
    {
        if(a/n < 10)
        {
            if(a%n = 0)
            {
                c = 1;
                break;
            }
            else
            {
                c = 0;   
            }
            
        }
        else
        {
            c = 0;
        }
        
    }

    if(c = 0)
    {
        printf("NO\n");
    }
    else if(c = 1)
    {
        printf("YES");
    }
    return 0;
    
}

Compiler output:
main.c: In function 'main':
main.c:11:20: error: lvalue required as left operand of assignment
   11 |             if(a%n = 0)
      |                    ^
Language: C

#include<stdio.h>

int main(void)
{
    int a,,n,c;
    scanf("%d",&a);
    for(n = 1;n < 10;n++)
    {
        if(a/n < 10)
        {
            if(a%n = 0)
            {
                c = 1;
                break;
            }
            else
            {
                c = 0;   
            }
            
        }
        else
        {
            c = 0;
        }
        
    }

    if(c = 0)
    {
        printf("NO\n");
    }
    else if(c = 1)
    {
        printf("YES");
    }
    return 0;
    
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected identifier or '(' before ',' token
    5 |     int a,,n,c;
      |           ^
main.c:7:9: error: 'n' undeclared (first use in this function)
    7 |     for(n = 1;n < 10;n++)
      |         ^
main.c:7:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:17: error: 'c' undeclared (first use in this function)
   13 |                 c = 1;
      |                 ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:16:5: error: expected '}' before 'else'
   16 |     else
      |     ^~~~
main.c: At top level:
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C

#include <stdio.h>
#include <float.h>

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

Compiler output:
main.c: In function 'main':
main.c:9:20: error: invalid operands to binary % (have 'float' and 'float')
    9 |                 a=n%i;
      |                    ^
Language: C

#include <stdio.h>
#include <float.h>

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

Compiler output:
main.c: In function 'main':
main.c:9:20: error: invalid operands to binary % (have 'float' and 'float')
    9 |                 a=n%i;
      |                    ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:20: error: invalid operands to binary % (have 'float' and 'float')
    8 |                 a=n%i;
      |                    ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:20: error: invalid operands to binary % (have 'float' and 'float')
    8 |                 a=n%i;
      |                    ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:20: error: invalid operands to binary % (have 'float' and 'float')
    8 |                 a=n%i;
      |                    ^
Language: C++

int solve2()
{
    int n;
    cin >> n;

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

int main(int argc, const char * argv[]) {
    return solve2();
}


Compiler output:
a.cc: In function 'int solve2()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> n;
      |     ^~~
a.cc:9:17: error: 'cout' was not declared in this scope
    9 |                 cout << "Yes" << endl;
      |                 ^~~~
a.cc:9:34: error: 'endl' was not declared in this scope
    9 |                 cout << "Yes" << endl;
      |                                  ^~~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << "No" << endl;
      |     ^~~~
a.cc:15:21: error: 'endl' was not declared in this scope
   15 |     cout << "No" << endl;
      |                     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long                                    // long long省略
#define pb push_back                                    // push_back省略
#define mp make_pair                                    // make_pair省略
#define fi first                                        // first省略
#define se second                                       // second省略
#define itn int                                         // int誤字保険
#define count cout                                      // cout誤字保険
#define vecotr vector                                   // vector誤字保険
#define ednl endl                                       // endl誤字保険
#define opt() cin.tie(0); ios::sync_with_stdio(false)   // 入出力速度改善

#define rep(i,l,r) for(ll i=(l);i<(r);i++)               // 範囲[l, r)で刻み1のfor文(順方向)
#define repp(i,l,r,k) for(ll i=(l);i<(r);i+=(k))         // 範囲[l, r)で刻みkのfor文(順方向)
#define rrep(i,l,r) for(ll i=(r-1);i>=(l);i--)           // 範囲[l, r)で刻み1のfor文(逆方向)
#define rrepp(i,l,r,k) for(ll i=(r-1);i>=(l);i-=(k))     // 範囲[l, r)で刻みkのfor文(逆方向)
#define all(x) (x).begin(), (x).end()                   // vectorのポインタ位置指定用
#define max(p,q)((p)>(q)?(p):(q))                       // max拡張
#define min(p,q)((p)<(q)?(p):(q))                       // min拡張
#define bit(n,m)(((n)>>(m))&1)                          // 変数nのm番目のbitを取り出す

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

int dy[]={0, 1, 0, -1};                                 // 4方向近傍
int dx[]={1, 0, -1, 0};                                 // 4方向近傍

#define INF ((1LL<<62)-(1LL<<31))
//#define MOD 998244353
#define MOD 1000000007
#define invp(a,p) pom(a,p-2,p)

////////////////////////////////////////////////////////////////////////////////////////
int main(){
    ll n;cin>>n;
    rep(i,1,10){
        ll b = n/a;
        if(n % a == 0 && b < 10){
            cout << "Yes" << ednl;
            return 0;
        }
    }
    cout << "No" << ednl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:38:18: error: 'a' was not declared in this scope
   38 |         ll b = n/a;
      |                  ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
 int a,k;
 vector<int> b(81);
 string res;
  res = "No";
 
  cin >> a;
  k = 0;
  for (int i = 1;i<10;++i){
   for (int j = 1;j<10;++j){
     b.at(k) = i*j;
       ++k;
   }
  }
  
  for(int l = 0;l < 81;++l){
    if(a == b(l)){
      res = "Yes";
    }
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:14: error: no match for call to '(std::vector<int>) (int&)'
   20 |     if(a == b(l)){
      |             ~^~~
Language: Java

import java.util.*;

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

Compiler output:
Main.java:11: error: method exit in class System cannot be applied to given types;
              System.exit();
                    ^
  required: int
  found:    no arguments
  reason: actual and formal argument lists differ in length
1 error
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner scan=new Scanner(System.in);
        int N=scan.nextint();
        for(int i=1;i<10;i++){
          for(int j=1;j<10;j++){
            if(i*j==N){
              System.out.println("Yes");
            }else{
              System.out.println("No");
            }
          }
        }
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
        int N=scan.nextint();
                  ^
  symbol:   method nextint()
  location: variable scan of type Scanner
1 error
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner scan=new Scanner(System.in);
        int N=scan.nextint();
        for(int i=1;i<10;i++){
          for(int j=1;j<10;j++){
            if(i*j==N){
              System.out.println("Yes");
            }else{
              System.out.println("No");
            }
        }
    }
}

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

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

Compiler output:
a.cc:15:11: warning: missing terminating " character
   15 |   cout << "No
      |           ^
a.cc:15:11: error: missing terminating " character
   15 |   cout << "No
      |           ^~~
a.cc: In function 'int main()':
a.cc:16:1: error: expected primary-expression before ';' token
   16 | ;}
      | ^
Language: Java

class Main {

public static void main(String[] args) {
  Scanner sc = new Sccaner();
  int N = sc.nextInt();
  
  if (N =< 81) {
    Sytem.out.println("Yes");
  } else {
    Sytem.out.println("No");
  }
}
}

Compiler output:
Main.java:7: error: illegal start of type
  if (N =< 81) {
           ^
Main.java:7: error: ';' expected
  if (N =< 81) {
             ^
Main.java:9: error: 'else' without 'if'
  } else {
    ^
3 errors
Language: Java

public static void main(String[] args) {
  Scanner sc = new Sccaner();
  int N = sc.nextInt();
  
  if (N =< 81) {
    Sytem.out.println("Yes");
  } else {
    Sytem.out.println("No");
  }
}

Compiler output:
Main.java:5: error: not a statement
  if (N =< 81) {
           ^
1 error
printing javac parameters to: /w/javac.20260128_105522.args
Language: C++

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'Yes' was not declared in this scope
   10 |         cout<<Yes<<endl;
      |               ^~~
a.cc:14:6: error: expected ';' before 'puts'
   14 |   (n)puts("No");
      |      ^~~~
      |      ;
Language: C++

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #icnlude; did you mean #include?
    1 | #icnlude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>n;
      |   ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<cstdio>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout<<Yes<<endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:15: error: 'Yes' was not declared in this scope
   10 |         cout<<Yes<<endl;
      |               ^~~
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |         cout<<Yes<<endl;
      |                    ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include<cstdio>
  +++ |+#include <ostream>
    3 | using namespace std;
a.cc:14:6: error: expected ';' before 'puts'
   14 |   (n)puts("No");
      |      ^~~~
      |      ;
Language: C++

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #icnlude; did you mean #include?
    1 | #icnlude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>n;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #icnlude<iostream>
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout<<Yes<<endl;
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:15: error: 'Yes' was not declared in this scope
    9 |         cout<<Yes<<endl;
      |               ^~~
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |         cout<<Yes<<endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #icnlude<iostream>
a.cc:13:6: error: expected ';' before 'puts'
   13 |   (n)puts("No");
      |      ^~~~
      |      ;
Language: C++

include <iostream>
   
   int main()
   {
    int n;
    bool f = false;
  
    std::cin >> n;
  
    for (int x = 1; x <= 9; ++x){
      for (int y = 1; y <= 9; ++y){
        if ( n == x*y){
            f = true;
          }
  
      }
    }
  
    if (f == true){
     std::cout << "Yes" << std::endl;
    }else{
    std::cout << "No" << std::endl;
  }
                                                              1,1          先頭



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    
    for(int i=1; i<10; i++){
      for(int j=1; j<10; j++){
        if(n == i*J){
          System.out.println("Yes");
          return;
        }
      }
    }
    
    System.out.println("No");
  }
}


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

import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    
    for(int i=1; i<10; i++){
      for(int j=1; j<10; j++){
        if(n = i*J){
          System.out.println("Yes");
          return;
        }
      }
    }
    
    System.out.println("No");
  }
}


Compiler output:
Main.java:10: error: cannot find symbol
        if(n = i*J){
                 ^
  symbol:   variable J
  location: class Main
Main.java:10: error: incompatible types: int cannot be converted to boolean
        if(n = i*J){
             ^
2 errors
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected primary-expression before ']' token
    9 |       cout<<"Yes"<<endl;]
      |                         ^
Language: C

#include<stdio.h>
int main()
{
  int x;
  scanf("%d",&x);
 


  if(x%2=0||x%3=0||x%4=0||x%5=0||x%6=0||x%7=0||x%8=0||x%9=0){
    if(x<82){
    printf("Yes");
    }else{
        printf("No");
    }
  
    }else{
        printf("No");
    }
    return 0;
  }
  

Compiler output:
main.c: In function 'main':
main.c:9:58: error: lvalue required as left operand of assignment
    9 |   if(x%2=0||x%3=0||x%4=0||x%5=0||x%6=0||x%7=0||x%8=0||x%9=0){
      |                                                          ^
Language: C

int main()
{
  int x;
  scanf("%d",&x);
 


  if(x%2=0|x%3=0||x%4=0||x%5=0||x%6=0||x%7=0||x%8=0||x%9=0){
    if(x<82){
    printf("Yes");
    }else{
        printf("No");
    }
  
    }else{
        printf("No");
    }
    return 0;
  }
  

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d",&x);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main()
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d",&x);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:57: error: lvalue required as left operand of assignment
    8 |   if(x%2=0|x%3=0||x%4=0||x%5=0||x%6=0||x%7=0||x%8=0||x%9=0){
      |                                                         ^
main.c:10:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |     printf("Yes");
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   12 |         printf("No");
      |         ^~~~~~
main.c:12:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:16:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   16 |         printf("No");
      |         ^~~~~~
main.c:16:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>
int main()
{
  int x,y,z;
  scanf("%d",&x);
 

for(y=1;y<10;y++);
for(z=1;z<10;z++);
  if(x==y*z){
    printf("Yes");
    }else{
        printf("No")
    }
    return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:13:21: error: expected ';' before '}' token
   13 |         printf("No")
      |                     ^
      |                     ;
   14 |     }
      |     ~
Language: C

#include<stdio.h>
int main()
{
  int x,y,z;
  scanf("%d",&x);
 

for(y=1;y<10;y++);
for(z=1;z<10;z++);
  if(x==y*z){
    printf("Yes");
  }else{
        printf("No")
    }
    retuen 0;
  }
  

Compiler output:
main.c: In function 'main':
main.c:13:21: error: expected ';' before '}' token
   13 |         printf("No")
      |                     ^
      |                     ;
   14 |     }
      |     ~                
main.c:15:5: error: 'retuen' undeclared (first use in this function)
   15 |     retuen 0;
      |     ^~~~~~
main.c:15:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:11: error: expected ';' before numeric constant
   15 |     retuen 0;
      |           ^~
      |           ;
Language: C

#include<stdio.h>
int main()
{
  int x,y,z;
  scanf("%d",&x);
 

for(y=1;y<10;y++);
for(z=1;z<10;z++);
  if(x==y*z){
    printf("Yes");
    else {
        printf("No")
    }
    retuen 0;
  }
  

Compiler output:
main.c: In function 'main':
main.c:12:5: error: expected '}' before 'else'
   12 |     else {
      |     ^~~~
main.c:13:21: error: expected ';' before '}' token
   13 |         printf("No")
      |                     ^
      |                     ;
   14 |     }
      |     ~                
main.c:15:5: error: 'retuen' undeclared (first use in this function)
   15 |     retuen 0;
      |     ^~~~~~
main.c:15:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:11: error: expected ';' before numeric constant
   15 |     retuen 0;
      |           ^~
      |           ;
Language: C++

#include <iostream>

using namespace std;

void main(){
  int N;
  int result;
  int ret = 0;
  cin >> N;
  for(int i = 1;i < 10;i++){
    result = N / i;
    if(result > 0 && result < 10){
      ret = 1;
    }
  }

  if(ret == 1){
    cout << Yes;
  }
  else{
    cout << No;
  }

 
}


Compiler output:
a.cc:5:1: error: '::main' must return 'int'
    5 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:18:13: error: 'Yes' was not declared in this scope
   18 |     cout << Yes;
      |             ^~~
a.cc:21:13: error: 'No' was not declared in this scope; did you mean 'N'?
   21 |     cout << No;
      |             ^~
      |             N