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

#include <iostream>
using namespace std;

int main() {
  int num;
  cin >> num;
  int table[45]{};
  int count = 0;
  for (int i=1; i < 10; i++) {
    for (int j=i; j < 10; j++, count++) {
      table[count] = i*j;
    }
  }
  bool exists = find(begin(table), end(table), num) != end(table);
  if bool cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:21: error: no matching function for call to 'find(int*, int*, int&)'
   14 |   bool exists = find(begin(table), end(table), num) != end(table);
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/locale_facets.h:48,
                 from /usr/include/c++/14/bits/basic_ios.h:37,
                 from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
  435 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   template argument deduction/substitution failed:
a.cc:14:21: note:   mismatched types 'std::istreambuf_iterator<_CharT>' and 'int*'
   14 |   bool exists = find(begin(table), end(table), num) != end(table);
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:15:6: error: expected '(' before 'bool'
   15 |   if bool cout << "Yes" << endl;
      |      ^~~~
      |      (
a.cc:16:3: error: 'else' without a previous 'if'
   16 |   else cout << "No" << endl;
      |   ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int num;
  cin >> num;
  int table[45]{};
  int count = 0;
  for (int i=1; i < 10; i++) {
    for (int j=i; j < 10; j++, count++) {
      table[count] = i*j;
    }
  }
  bool exists = find(begin(table), end(table), num) != end(table);
  if bool cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:21: error: no matching function for call to 'find(int*, int*, int&)'
   14 |   bool exists = find(begin(table), end(table), num) != end(table);
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/locale_facets.h:48,
                 from /usr/include/c++/14/bits/basic_ios.h:37,
                 from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
  435 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   template argument deduction/substitution failed:
a.cc:14:21: note:   mismatched types 'std::istreambuf_iterator<_CharT>' and 'int*'
   14 |   bool exists = find(begin(table), end(table), num) != end(table);
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:15:6: error: expected '(' before 'bool'
   15 |   if bool cout << "Yes" << endl;
      |      ^~~~
      |      (
a.cc:16:3: error: 'else' without a previous 'if'
   16 |   else cout << "No" << endl;
      |   ^~~~
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;
      }
    }
    cout<<"No"<<endl;
}
    

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

#include<stdio.h>
#includ<stdlib.h>

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

Compiler output:
main.c:2:2: error: invalid preprocessing directive #includ; did you mean #include?
    2 | #includ<stdlib.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:17:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   17 |       exit(0);
      |       ^~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    1 | #include<stdio.h>
  +++ |+#include <stdlib.h>
    2 | #includ<stdlib.h>
main.c:17:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   17 |       exit(0);
      |       ^~~~
main.c:17:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:19:3: error: 'else' without a previous 'if'
   19 |   else
      |   ^~~~
main.c:22:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   22 |     exit(0);
      |     ^~~~
main.c:22:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: 'j' was not declared in this scope
   10 |    if (i * j == n)
      |            ^
a.cc:12:21: error: expected ';' before '}' token
   12 |    else cout << "No"
      |                     ^
      |                     ;
   13 |    }
      |    ~
Language: C++

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected ';' before '}' token
   12 |    else cout << "No"
      |                     ^
      |                     ;
   13 |    }
      |    ~                 
a.cc:14:5: error: expected '}' at end of input
   14 |    }
      |     ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'i' was not declared in this scope
   10 |    if (i * j==n)
      |        ^
a.cc:10:12: error: 'j' was not declared in this scope
   10 |    if (i * j==n)
      |            ^
a.cc:12:21: error: expected ';' at end of input
   12 |    else cout << "No"
      |                     ^
      |                     ;
a.cc:12:21: error: expected '}' at end of input
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: 'i' was not declared in this scope
    9 |    for (int j =1; i <= 9; i++);
      |                   ^
a.cc:10:8: error: 'i' was not declared in this scope
   10 |    if (i*j==n)
      |        ^
a.cc:10:10: error: 'j' was not declared in this scope
   10 |    if (i*j==n)
      |          ^
a.cc:12:22: error: expected '}' at end of input
   12 |    else cout << "No";
      |                      ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main() {
   int n
   cin >> n
   for (int i=1; i <= 9; i++)
   for (int j=1; i <= 9; i++)
   if (i*j==n)
   cout << 'Yes'
   else cout << 'No'

Compiler output:
a.cc:11:12: warning: multi-character character constant [-Wmultichar]
   11 |    cout << 'Yes'
      |            ^~~~~
a.cc:12:17: warning: multi-character character constant [-Wmultichar]
   12 |    else cout << 'No'
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:7:4: error: expected initializer before 'cin'
    7 |    cin >> n
      |    ^~~
a.cc:8:18: error: 'i' was not declared in this scope
    8 |    for (int i=1; i <= 9; i++)
      |                  ^
a.cc:12:21: error: expected '}' at end of input
   12 |    else cout << 'No'
      |                     ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main() {
   int n
   cin >> n
   for i in range(1, 10);
   for x in range(1, 10);
   if i*x == n;
   cout += 1
   if cout >= 1;
   cout << 'Yes'
   else cout << 'No'

Compiler output:
a.cc:13:12: warning: multi-character character constant [-Wmultichar]
   13 |    cout << 'Yes'
      |            ^~~~~
a.cc:14:17: warning: multi-character character constant [-Wmultichar]
   14 |    else cout << 'No'
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:7:4: error: expected initializer before 'cin'
    7 |    cin >> n
      |    ^~~
a.cc:9:8: error: expected '(' before 'x'
    9 |    for x in range(1, 10);
      |        ^
      |        (
a.cc:9:8: error: 'x' was not declared in this scope
a.cc:10:4: error: expected primary-expression before 'if'
   10 |    if i*x == n;
      |    ^~
a.cc:9:26: error: expected ';' before 'if'
    9 |    for x in range(1, 10);
      |                          ^
      |                          ;
   10 |    if i*x == n;
      |    ~~                     
a.cc:10:4: error: expected primary-expression before 'if'
   10 |    if i*x == n;
      |    ^~
a.cc:9:26: error: expected ')' before 'if'
    9 |    for x in range(1, 10);
      |        ~                 ^
      |                          )
   10 |    if i*x == n;
      |    ~~                     
a.cc:10:7: error: expected '(' before 'i'
   10 |    if i*x == n;
      |       ^
      |       (
a.cc:11:9: error: no match for 'operator+=' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int')
   11 |    cout += 1
      |    ~~~~~^~~~
a.cc:13:17: error: expected ';' before 'else'
   13 |    cout << 'Yes'
      |                 ^
      |                 ;
   14 |    else cout << 'No'
      |    ~~~~          
a.cc:14:21: error: expected '}' at end of input
   14 |    else cout << 'No'
      |                     ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <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:16:5: error: 'cout' was not declared in this scope
   16 |     cout << "No" << endl;
      |     ^~~~
a.cc:16:21: error: 'endl' was not declared in this scope
   16 |     cout << "No" << endl;
      |                     ^~~~
a.cc:19:5: error: 'cout' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:19:22: error: 'endl' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C++

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


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:16:5: error: 'cout' was not declared in this scope
   16 |     cout << "No" << endl;
      |     ^~~~
a.cc:16:21: error: 'endl' was not declared in this scope
   16 |     cout << "No" << endl;
      |                     ^~~~
a.cc:19:5: error: 'cout' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:19:22: error: 'endl' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C++

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

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:9:7: error: 'i' was not declared in this scope
    9 |   for(i=1; i<10; i++){
      |       ^
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout << "No" << endl;
      |     ^~~~
a.cc:16:21: error: 'endl' was not declared in this scope
   16 |     cout << "No" << endl;
      |                     ^~~~
a.cc:19:5: error: 'cout' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:19:22: error: 'endl' was not declared in this scope
   19 |     cout << "Yes" << endl;
      |                      ^~~~
Language: C

/* ex3-4
   Sagzar1993  */


#include <stdio.h>

int main(void) {
    int num;

    //入力を受け取る
    scanf("%d", &num);

    //numが各数字で割り切れ、かつその商が１から９の間であるとき、Yesを表示
    for(int i = 1; i++; i < 10){
        if(num % i == 0 && num / i <= 9){
            printf("Yes\n");
            break;
        }
        i++;
    }
    if(i == 10){
        printf("No\n"); //どれにも当てはまらなかった場合はNoを表示
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:21:8: error: 'i' undeclared (first use in this function)
   21 |     if(i == 10){
      |        ^
main.c:21:8: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/* ex3-4
   Sagzar1993  */


#include <stdio.h>

int main(void) {
    int num;

    //入力を受け取る
    scanf("%d", &num);

    //numが各数字で割り切れ、かつその商が１から９の間であるとき、Yesを表示
    for(int i = 1; i++; i < 10){
        if(num % i == 0 && num / i <= 9){
            printf("Yes\n");
        }
        i++;
    }
    if(i == 10){
        printf("No\n"); //どれにも当てはまらなかった場合はNoを表示
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:20:8: error: 'i' undeclared (first use in this function)
   20 |     if(i == 10){
      |        ^
main.c:20:8: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/*  ex3_4
    yy8332  */

#include <stdio.h>
int main(void){
  int number, i;

  //入力読み取り
  scanf("%d", &number);

  //判定
  for(i = 1; i <= 9; i++){
    if(number % i == 0 && number / i <= 9){
      //出力
      printf("yes\n");
      return 0;
    }
  }
　//出力
  printf("no\n");

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>//<U+51FA><U+529B>
      | ^~~~~~~~
Language: C

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

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

/* ABC144_B
    Stuartyg */

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>


int main(void){
        int num; /*nのこと*/
        int counter_1,counter_2; 
        scanf("%d",&num); /*入力を受け取る*/
        for (counter_1=1;counter_1<=9;counte_1r++){ /* for文二個で1*1,1*2,1*3,・・・9*9まで調べる*/
                for (counter_2=1;counter_2<=9;counter_2++){
                        if (num==counter_1*counter_2){
                                printf("Yes\n");
                                return 0; /*一致すればそこでYesと出力して終了*/
                        }
                }
        }
        /*一致しなかった場合*/
        printf("No\n");
        return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:39: error: 'counte_1r' undeclared (first use in this function); did you mean 'counter_1'?
   14 |         for (counter_1=1;counter_1<=9;counte_1r++){ /* for文二個で1*1,1*2,1*3,・・・9*9まで調べる*/
      |                                       ^~~~~~~~~
      |                                       counter_1
main.c:14:39: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/*ex3_4
    takafumi_ueki*/
#include <stdio.h>
int main(void){
    int x,i;
    int flag = 0;
    scanf("%d",&x);
    /*例えば,xを2で割った余りが０（２で割り切れる）かつ
    ２で割った商が10未満だったら一桁の整数同士の掛け算で表せるということなので、それを3,4,5,,,,と調べる。*/
    for(i = 1; i <= 9; i++){
        if(x%i == 0)&&((x/i)<10){
            printf("Yes\n");
            flag = 1;
            break;
        }
    }
    if(flag == 0){
        printf("No\n");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:23: error: expected identifier before '(' token
   11 |         if(x%i == 0)&&((x/i)<10){
      |                       ^
Language: C++

/*      ex3_4
        Tarara  */
#include <stdio.h>

int main(void)
{
    int number; //整数
    scanf("%d", &number);
    if (canFactorize(number))
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}

// 九九で表現できることを判定する関数
// numberが九九で表現できるならば1、そうでないなら0を返す
int canFactorize(int number)
{
    for (int i = 1; i < 10; ++i)
    {
        if (number % i == 0 && number / i < 10)
            return 1;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'canFactorize' was not declared in this scope
    9 |     if (canFactorize(number))
      |         ^~~~~~~~~~~~
Language: C++

int main(void){
    int n;
    int b=0;/*bは出力がyesなら1,noなら0*/
    scanf("%d",&n);
    for (int i=0;i<9;i++){
        /*nが(i+1)の段にあるか判定*/
        if(n%(i+1)==0&&n/(i+1)<=9){
            printf("yes\n");
            b=1;
            break;
        }
    }
    if (b==0){
        printf("no\n");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d",&n);
      |     ^~~~~
a.cc:8:13: error: 'printf' was not declared in this scope
    8 |             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(void){
a.cc:14:9: error: 'printf' was not declared in this scope
   14 |         printf("no\n");
      |         ^~~~~~
a.cc:14:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C

/* ex3_4
   tamayama　*/

#include<stdio.h>
 int main (void){
     int N;
     int i;
     int Input_N
     int check=0;
     scanf("%d",&N);
     Input_N = N;

     for(i=1; i<10; i++){
         if(Input_N / i < 10 && Input_N % i == 0){
             check++;
         }
     }

     if(check > 0){
         printf("Yes");
     }else{
         printf("No");
     }
     return 0;
 }


Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ';' before 'int'
    8 |      int Input_N
      |                 ^
      |                 ;
    9 |      int check=0;
      |      ~~~         
main.c:11:6: error: 'Input_N' undeclared (first use in this function)
   11 |      Input_N = N;
      |      ^~~~~~~
main.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/*  ex3_4
    pptenshi  */

#include<stdio.h>

int main(void) {
    int num;  // N

    //input
    scanf("%d", &n);

    //output
    for (int i = 1; i < 10; i++) {

        // nがiの段かどうかを判定
        if (n % i == 0 && n / i < 10) {
            printf("Yes\n");
            return 0;
        }
    }
    // 条件を満たさない場合
    printf("No\n");
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:18: error: 'n' undeclared (first use in this function)
   10 |     scanf("%d", &n);
      |                  ^
main.c:10:18: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/* ex3_2
   moka223711 */

#include <stdio.h>

int main(void){
    int N, d = 0;
    scanf("%d", &N);
    
    // Nを1から9で割って、余りが0かつ商が9以下になっているものを探す
  　// 割れるものが見つかったらdを1に変える
    for(int i = 1; i <= 9; i++){
        if(N % i == 0 && N / i <= 9){
            d = 1;
            break;
        }
    }
  　
    // 上のfor文で1から9で割り切れるものが見つかったときd == 1となっているため
    // if文が実行される、なかったときはelse文の実行
    if(d){
        printf("Yes");
    }
    else{
        printf("No");
    }
  
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:3: error: stray '\343' in program
   11 |   <U+3000>// <U+5272><U+308C><U+308B><U+3082><U+306E><U+304C><U+898B><U+3064><U+304B><U+3063><U+305F><U+3089>d<U+3092>1<U+306B><U+5909><U+3048><U+308B>
      |   ^~~~~~~~
main.c:18:3: error: stray '\343' in program
   18 |   <U+3000>
      |   ^~~~~~~~
Language: C

/*ex3_4
    takafumi_ueki*/
#include <stdio.h>
int main(void){
    int N;
    scanf("%d",&N);
    /*例えば,Nを2で割った余りが０（２で割り切れる）かつ
    ２で割った商が10未満だったら一桁の整数同士の掛け算で表せるということなので、それを3,4,5,,,,と調べる。*/
    if(（(N%2 == 0)&&((N/2)<10)）||((N%3 == 0)&&((N/3)<10))||((N%4 == 0)&&((N/4)<10))||((N%5 == 0)&&((N/5)<10))||((N%6 == 0)&&((N/6)<10))||((N%7 == 0)&&((N/7)<10))||((N%8 == 0)&&((N/8)<10))||((N%9 == 0)&&((N/9)<10))){
        printf("Yes\n");
    }
    else{
        printf("No\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:8: error: implicit declaration of function '\U0000ff08' [-Wimplicit-function-declaration]
    9 |     if(（(N%2 == 0)&&((N/2)<10)）||((N%3 == 0)&&((N/3)<10))||((N%4 == 0)&&((N/4)<10))||((N%5 == 0)&&((N/5)<10))||((N%6 == 0)&&((N/6)<10))||((N%7 == 0)&&((N/7)<10))||((N%8 == 0)&&((N/8)<10))||((N%9 == 0)&&((N/9)<10))){
      |        ^~
main.c:9:32: error: expected ')' before '\U0000ff09'
    9 |     if(（(N%2 == 0)&&((N/2)<10)）||((N%3 == 0)&&((N/3)<10))||((N%4 == 0)&&((N/4)<10))||((N%5 == 0)&&((N/5)<10))||((N%6 == 0)&&((N/6)<10))||((N%7 == 0)&&((N/7)<10))||((N%8 == 0)&&((N/8)<10))||((N%9 == 0)&&((N/9)<10))){
      |       ~                        ^~
      |                                )
Language: C

/* ex3_4
   YSK722 */

#include <stdio.h>

int main(void){
    int i, number;
    scanf("%d", &number);
    if(number < 1 || 100 < number){  // numberが定義域外のとき
        return 1;                    // 処理終了
    }
    i = 9
    while(number % i != 0){  // numberの10未満の約数を大きい方から探す
        i--;
    }
    if(number / i < 10){  // 他方の約数が10未満のとき
        printf("Yes\n");  // "Yes"と出力
    }
    else{                // 他方の約数が10以上のとき
        printf("No\n");  // "No"と出力
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:10: error: expected ';' before 'while'
   12 |     i = 9
      |          ^
      |          ;
   13 |     while(number % i != 0){  // numberの10未満の約数を大きい方から探す
      |     ~~~~~
Language: C

/* ABC144_B
    Stuartyg */

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>


int main(void){
    int n;
    int i,j; 
    scanf("%d",&n); /*入力を受け取る*/
    for (i=1;i<=9;i++){ /* for文二個で1*1～9*9まで調べる*/
        for (i=1;i<=9;i++){
            if (n==i*j){
                printf("Yes");
                return 0;
            }
        }
    }

    printf("No");
    return 0;

Compiler output:
main.c: In function 'main':
main.c:24:5: error: expected declaration or statement at end of input
   24 |     return 0;
      |     ^~~~~~
Language: C

/* ABC144_B
    Stuartyg */

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>


int main(void){
    int n;
    int i,j; 
    scanf("%d",&n); /*入力を受け取る*/
    for (i=1;i<=9;i++){ /* for文二個で1*1～9*9まで調べる*/
        for (i=1;i<=9;i++){
            if (n==i*j){
                printf("Yes");
                return 0;
            }
        }

    printf("No");
    return 0;
    


Compiler output:
main.c: In function 'main':
main.c:23:5: error: expected declaration or statement at end of input
   23 |     return 0;
      |     ^~~~~~
main.c:23:5: error: expected declaration or statement at end of input
Language: C

/* ABC144_B
    Stuartyg */

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>


int main(void){
    int n;
    int i,j; 
    scanf("%d",&n); /*入力を受け取る*/
    for (i=1;i<=9;i++){ /* for文二個で1*1～9*9まで調べる*/
        for (i=1;i<=9;i++){
            if (n==i*j){
                printf("Yes");
                return 0;
        }

    printf("No");
    return 0;
    }


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

/* ABC144_B
    Stuartyg */

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>


int main(void){
    int n;
    int i,j; 
    scanf("%d",&n); /*入力を受け取る*/
    for (i=1;i<=9;i++){ /* for文二個で1*1～9*9まで調べる*/
        if (n==i*j){
            printf("Yes");
        }
        else{
            printf("No");
        }
        return 0;
    }


Compiler output:
main.c: In function 'main':
main.c:22:5: error: expected declaration or statement at end of input
   22 |     }
      |     ^
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();
    boolean check = false
    loop: for (int i = 1; i < 10; i++) {
      for (int j = 1; j < 10; j++) {
        if (i * j == n) {
          check = true;
          break loop;
        }
      }
    }
    System.out.println(check ? "Yes" : "No");
  }
}


Compiler output:
Main.java:7: error: ';' expected
    boolean check = false
                         ^
1 error
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  for(int i = 1; i <= 9; i++){
    for(int j = 1; j <= 9; j++){
      if(i * j == N){
        cout << "Yes" << endl;
        goto W;
      }
      else if(i * j == 81){
        cout << "No" << endl;
    }
  }
W:
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:1: warning: label at end of compound statement only available with '-std=c++2b' or '-std=gnu++2b' [-Wc++23-extensions]
   19 | }
      | ^
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;

public class Main{

    public static void main(String[] args){
        //START

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

        int i=0;
        int j=0;
        int S=0;

        roopout:
        for(i=1;i<=9;i++){
            for(j=1;j<=9;j++){
                S=i*j;

                if(S==N){
                    System.out.println("Yes");
                    break roopout;
                }
            }
            if(i==9&&j==9){
                System.out.println("No")
            }
        }
        //END
    }
}



Compiler output:
Main.java:29: error: ';' expected
                System.out.println("No")
                                        ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define VS vector<string>
#define VB vector<bool>
#define VP vector<pair<ll,ll>>
#define VVL vector<vector<ll>>
#define VVP vector<vector<pair<ll,ll>>>
#define PL pair<ll,ll>
#define ALL(v) (v).begin(), (v).end()

int main(){
    ll N;
    cin>>N;
    VVL A(10,VL (10));
    rep(i,1,10){
        rep(i,1,10){
            A[i][j]=i*j;
        }
    }
    rep(i,1,10){
        rep(i,1,10){
            if(A[i][j]==N){cout<<"Yes"<<endl;return 0;}
        }
    }
    cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:18: error: 'j' was not declared in this scope
   20 |             A[i][j]=i*j;
      |                  ^
a.cc:25:21: error: 'j' was not declared in this scope
   25 |             if(A[i][j]==N){cout<<"Yes"<<endl;return 0;}
      |                     ^
Language: C++

#include<bits/stdc++.h>
#include<cstdlib>
using namespace std;
int main(){
  vector<int>S={1,2,3,4,5,6,7,8,9,12,14,16,18,15,21,24,27,20,25,30,35,40,45,36,42,48,54,49,56,63,64,72,81}
  	int N; cin>>N;
  int K=0;
  for(int i=0; i<S.size(); i++){
    if(N==S.at(i))
      K++;
    else continue;
  }
  if(A!=0)
    cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected ',' or ';' before 'int'
    6 |         int N; cin>>N;
      |         ^~~
a.cc:6:21: error: 'N' was not declared in this scope
    6 |         int N; cin>>N;
      |                     ^
a.cc:13:6: error: 'A' was not declared in this scope
   13 |   if(A!=0)
      |      ^
Language: Java

import java.util.*;

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

        int val1 = sc.nextInt();

        boolean can = false;
        for(int i=1; i<=9; i++){
            for(int n=1; n<=9; n++){
                int sum = i*n;
                if(sum == val1) {
                can = true;
                break;
            }
        }
        if(can){
        break;
        }
    }

if(can){
System.out.println("yes")
}else{
System.out.println("no");
}  

    }
}

Compiler output:
Main.java:24: error: ';' expected
System.out.println("yes")
                         ^
1 error
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:8:13: error: 'a' undeclared (first use in this function)
    8 |          if(a*b==n)
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:15: error: 'b' undeclared (first use in this function)
    8 |          if(a*b==n)
      |               ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:8:13: error: 'a' undeclared (first use in this function)
    8 |          if(a*b==n)
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:15: error: 'b' undeclared (first use in this function)
    8 |          if(a*b==n)
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'n' was not declared in this scope
    8 |  rep(i,n){
      |        ^
a.cc:3:32: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int i=0;i<n;i++)
      |                                ^
Language: C++

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

int main() {
   int N;
   cin >> N;
   bool finished false;
   for (int i=1; i<10; i++) {
       for (int j=1; j<10; j++) {
           if (N==i*j) {
               cout << "Yes" << endl;finished=true;break;
           }
           if (i==9 && j==9) cout << "No" << endl;
       }
       if (finished) break;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected initializer before 'false'
    7 |    bool finished false;
      |                  ^~~~~
a.cc:11:38: error: 'finished' was not declared in this scope
   11 |                cout << "Yes" << endl;finished=true;break;
      |                                      ^~~~~~~~
a.cc:15:12: error: 'finished' was not declared in this scope
   15 |        if (finished) break;
      |            ^~~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: expected initializer before 'cin'
    5 |     cin>>a;
      |     ^~~
a.cc:8:17: error: 'a' was not declared in this scope
    8 |       if(i*j == a){
      |                 ^
Language: C++

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

int main() {
 int n; cin >> n;
  if(n>81)cout << "No" << endl;
  else if(n>72 && n<81) cout << "No" << endl;
  else if(n>64 && n<72) cout << "No" <<endl;
  else if(n>56 && n<63) cout << "No" << endl;
  else if(n>49 && n<54) cout << "No" << endl;
  else if(n==46 && n<==47) cout << "No" << endl;
  else if(n==11 && n==13 && n==17 && n==19 && n==22 && n==23 && n==26 && n==29 && n==31 && n==33 && n==33 && n==34 && n==37 && n==38 && n==39 && n==41 && n==43) cout << "No" << endl;
  else cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:23: error: expected primary-expression before '=' token
   11 |   else if(n==46 && n<==47) cout << "No" << endl;
      |                       ^
Language: C++

int main(){
    int a[10][10];
    int n,flg = 0;
    int i,j;
    cin >> n;
    for(i=0;i<10;i++){
        for(j=0;j<10;j++){
            a[i][j] = i*j;
            if(a[i][j]==n){
                flg = 1;
            }
        }
    }
    if(flg==0){
        cout << "No" << endl;
    }else{
        cout << "Yes" << endl;
    }
    return 0;
}

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

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

int main(){
  double N;
  cin >> N;
  
  for (double i = 9.0; i > 1.0; i--){
    if (N % i == 0.0){
      N /= i;
    }
  }
  
  if (N == 1.0){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    9 |     if (N % i == 0.0){
      |         ~ ^ ~
      |         |   |
      |         |   double
      |         double
Language: C++

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

int main(){
  int N;
  cin >> N;
  
  for (double i = 9.0; i > 1.0; i--){
    if (N % i == 0.0){
      N /= i;
    }
  }
  
  if (N == 1.0){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    9 |     if (N % i == 0.0){
      |         ~ ^ ~
      |         |   |
      |         int double
Language: Java

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.io.Serializable;

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

        int x = sc.nextInt();
        int count = 0;

        for(int i = 1 ; i < 10 ; i++){
            for(int j = 1 ; j < 10 ; j++){
                if(i * j == x){
                    count++;
                }
            }
        }

        if(count == 0){
            System.out.println("No");
        }else{
            Sytem.out.println("Yes");
        }
        

        


    }
}

Compiler output:
Main.java:29: error: package Sytem does not exist
            Sytem.out.println("Yes");
                 ^
1 error
Language: C++

#include <iostream>

int main()
{
  int N;
  std::cin>>N;
  
  bool result=false;
  for(int i=1;i<=9;i++)
  {
    for(int j=i;j<=9;j++)
    {
      if(i*j==N)
      {
        result=true;
      }
    }
  }
  
  std::cout<<result?"Yes":"No"<<std::endl;
  
  return 0;
}

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

#include <iostream>

int main()
{
  int N;
  std::cin>>N;
  
  bool result=false;
  for(int i=1;i<=9;i++)
  {
    for(int j=i;j<=9;j++)
    {
      if(i*j==N)
      {
        result=true;
      }
    }
  }
  
  std:::cout<<(result?"Yes":"No")<<std::cout;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:8: error: expected unqualified-id before ':' token
   20 |   std:::cout<<(result?"Yes":"No")<<std::cout;
      |        ^
Language: C++

#include <iostream>

int main()
{
  int N;
  std::cin>>N;
  
  bool result=false;
  for(int i=1;i<=9;i++)
  {
    for(int j=i;j<=9;j++)
    {
      if(i*j==N)
      {
        result=true;
      }
    }
  }
  
  std:::cout<<result?"Yes":"No"<<std::cout;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:8: error: expected unqualified-id before ':' token
   20 |   std:::cout<<result?"Yes":"No"<<std::cout;
      |        ^
Language: C++

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

int main(){
  int n;
  std::cin >> n;
  std::vector<int> v;
  bool ans = true;
  v = {11, 13, 17, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79}
  for(int i = 0; i < v.size(); i++){
    if(n == v.at(i)){
      ans = false;
    }
  }
  if (n > 81){
    ans = false;
  }
  if(ans){
    std::cout << "Yes" << '\n';
  }
  else{
    std::cout << "No" << '\n';
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:75: error: expected ';' before 'for'
   10 |   v = {11, 13, 17, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79}
      |                                                                           ^
      |                                                                           ;
   11 |   for(int i = 0; i < v.size(); i++){
      |   ~~~                                                                      
a.cc:11:18: error: 'i' was not declared in this scope
   11 |   for(int i = 0; i < v.size(); i++){
      |                  ^
Language: C++

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

int main(){
  int N;
  cin>>N;
  for(int a=1;a<10;a++){
    for(int b=1;b<10;b++){
      if(N==a*b){
        string ans="Yes";
        break;
      }
      else{
        string ans="No";
      }
    }
  }
  cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   18 |   cout<<ans<<endl;
      |         ^~~
      |         abs
Language: C++

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

int main(){
 int a,b,c,;
 int d=0;
 
 cin >>a;
 for (b = 1; b < 9; b++) {
   for (c = 1; c < count; c++) {
     if(a==b*c){
       d +=1       
     }     
   }
 }

if(d>=1){
  cout << "YES" <<endl;
}
else{
  cout <<"NO" <<endl;
}
  
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | 
    4 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:5:12: error: expected unqualified-id before ';' token
    5 |  int a,b,c,;
      |            ^
a.cc:10:18: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
   10 |    for (c = 1; c < count; c++) {
      |                ~~^~~~~~~
a.cc:12:13: error: expected ';' before '}' token
   12 |        d +=1
      |             ^
      |             ;
   13 |      }
      |      ~
Language: C++

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

int main(){
 int a,b,c,;
 int d=0;
 
 cin >>a;
 for (b = 1; b < 9; b++) {
   for (c = 1; c < count; c++) {
     if(a==b*c){
       d +=1       
     }     
   }
 }

if(d>=1){
  cout << "YES" <<endl;
}
else{
  cout <<"NO" <<endl;
}
  
}

Compiler output:
a.cc:2:1: error: 'usingspace' does not name a type; did you mean 'sigstack'?
    2 | usingspace std
      | ^~~~~~~~~~
      | sigstack
Language: C++

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

int main(){
  int N;
  cin>>N;
  if(N==11||N==13||N=17||N==19||N==22||N==23||N==26||N==29||N==31||N==33||N==34||N==37||N==38||N==39||N==41||N==43||N==44||N==46||N==47||N==50||N==51||N==52||N==53||N==55||N==57||N==58||N==59||N==60||N==61||N==62||N==65||N==66||N==67||N==68||N==69||N==70||N==71||N==73||N==74||N==75||N==76||N==77||N==78||N==79||N==80){
    cout<<"No"<<endl;
  }
  else{
    cout<<"Yes"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: lvalue required as left operand of assignment
    7 |   if(N==11||N==13||N=17||N==19||N==22||N==23||N==26||N==29||N==31||N==33||N==34||N==37||N==38||N==39||N==41||N==43||N==44||N==46||N==47||N==50||N==51||N==52||N==53||N==55||N==57||N==58||N==59||N==60||N==61||N==62||N==65||N==66||N==67||N==68||N==69||N==70||N==71||N==73||N==74||N==75||N==76||N==77||N==78||N==79||N==80){
      |      ~~~~~~~~~~~~^~~
Language: C++

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

int main(){
  int N;
  cin>>N;
  for(int a=0;a<10;a++){
    for(int b=0;b<10;b++){
      if(a*b==N){
        cout<<"Yes"<<endl;
      }
      else{
        cout<<"No"<<endl;
    }
  }
}
  
  
          

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

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

int main(){
  vector<int>vec={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}
  int n;
  cin >> n;
  int i=0;
  bool b=0;

  while(1){
    if(n==vec.at(i))
      b=1;
    
    i++;
    if(n==0)
      break;
  }
  if(b==1)
   cout <<"Yes"<< endl;
  if(b==0)
   cout <<"No"<< endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected ',' or ';' before 'int'
    6 |   int n;
      |   ^~~
a.cc:7:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    7 |   cin >> n;
      |          ^
      |          yn
Language: C++

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

int main(){
  vector<int>vec={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}
  int n;
  int i=0;
  bool b=0;

  while(1){
    if(n==vec.at(i))
      b=1;
    
    i++;
    if(n==0)
      break;
  }
  if(b==1)
   cout <<"Yes"<< endl;
  if(b==0)
   cout <<"No"<< endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected ',' or ';' before 'int'
    6 |   int n;
      |   ^~~
a.cc:11:8: error: 'n' was not declared in this scope
   11 |     if(n==vec.at(i))
      |        ^
a.cc:15:8: error: 'n' was not declared in this scope
   15 |     if(n==0)
      |        ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:17: error: 'n' undeclared (first use in this function)
    7 |     scanf("%d",&n);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:9: error: 'i' undeclared (first use in this function)
    9 |     for(i=1;i<=9;i++){
      |         ^
Language: C

#include <stdio.h>

int main(void)
{
    int n;
      
    scanf("%d",&n);
  
    if((n<=81)&&(n%10!=0))  printf("Yes\n");
    else                    printf("No\n");                                 
  
    return 0
}      

Compiler output:
main.c: In function 'main':
main.c:12:13: error: expected ';' before '}' token
   12 |     return 0
      |             ^
      |             ;
   13 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'String' was not declared in this scope
    6 |   String S="No";
      |   ^~~~~~
a.cc:8:41: error: 'S' was not declared in this scope
    8 |     for (int j=1;j<10;j++) {if (i*j==n) S="Yes";}
      |                                         ^
a.cc:10:11: error: 'S' was not declared in this scope
   10 |   cout << S << endl;
      |           ^
Language: C++

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

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


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

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

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

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

#include <bit/stdc++.h>

using namespace std;
typedef long long ll;

//マクロ
#define REP(i,n) for(ll i=0;i<(ll)(n);i++)
#define REPD(i,n) for(ll i=(ll)(n)-1;i>=0;i--)
#define FOR(i,a,b) for(ll i=(a);i<=(b);i++)
#define FORD(i,a,b) for(ll i=(a);i>=(b);i--)
#define ALL(x) (x).begin(),(x).end() //sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size()) //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x))
#define INF 1000000000000
#define NCK_MAX 510000
#define MOD 1000000007
#define PB push_back
#define MP make_pair
#define F first
#define S secon

int main(int argc, char const *argv[]) {
  int n; std::cin >> n;
  int a[81];
  FOR(i,1,9) {
    FOR(j,1,9) a[i] = i*j;
  }
  bool flag=false;
  REP(i,81) {
    if (a[i] == n) flag=true;
  }
  if (flag) std::cout << "Yes" << '\n';
  else std::cout << "No" << '\n';
  return 0;
}


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