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

#!/usr/local/Cellar/sbcl/1.5.7/libexec/bin/sbcl --script
# FASL
  compiled from "hello.lisp"
  using SBCL version 1.5.7
����X86-64N����������1.5.7.���(GENCGC SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE)M
FORMATeHello, World!!~%8?>@

Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/local/Cellar/sbcl/1.5.7/libexec/bin/sbcl --script
      |  ^
main.c:2:3: error: invalid preprocessing directive #FASL
    2 | # FASL
      |   ^~~~
main.c:3:3: error: unknown type name 'compiled'
    3 |   compiled from "hello.lisp"
      |   ^~~~~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
    3 |   compiled from "hello.lisp"
      |                 ^~~~~~~~~~~~
main.c:4:22: error: too many decimal points in number
    4 |   using SBCL version 1.5.7
      |                      ^~~~~
main.c:5:2: error: stray '\6' in program
    5 | <U+FFFD><U+0006><U+FFFD><U+FFFD><U+FFFD>X86-64N<U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+0005><U+FFFD><U+FFFD><U+FFFD>1.5.7.<U+FFFD><U+FFFD><U+FFFD>(GENCGC SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE)M
      |         ^~~~~~~~
main.c:5:10: error: invalid suffix "N�������" on integer constant
    5 | ����X86-64N����������1.5.7.���(GENCGC SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE)M
      |          ^~~~~~~~~~
main.c:5:20: error: stray '\5' in program
    5 | <U+FFFD><U+0006><U+FFFD><U+FFFD><U+FFFD>X86-64N<U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+FFFD><U+0005><U+FFFD><U+FFFD><U+FFFD>1.5.7.<U+FFFD><U+FFFD><U+FFFD>(GENCGC SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE)M
      |                                                                                                        ^~~~~~~~
main.c:5:25: error: too many decimal points in number
    5 | ����X86-64N����������1.5.7.���(GENCGC SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE)M
      |                         ^~~~~~~~
main.c:6:7: error: stray '\3' in program
    6 | FORMAT<U+0003>e<U+0010>Hello, World!!~%<U+0005>8<U+0002>?><U+0002>@
      |       ^~~~~~~~
main.c:6:9: error: stray '\20' in program
    6 | FORMAT<U+0003>e<U+0010>Hello, World!!~%<U+0005>8<U+0002>?><U+0002>@
      |                ^~~~~~~~
main.c:6:26: error: stray '\5' in program
    6 | FORMAT<U+0003>e<U+0010>Hello, World!!~%<U+0005>8<U+0002>?><U+0002>@
      |                                        ^~~~~~~~
main.c:6:28: error: stray '\2' in program
    6 | FORMAT<U+0003>e<U+0010>Hello, World!!~%<U+0005>8<U+0002>?><U+0002>@
      |                                                 ^~~~~~~~
main.c:6:31: error: stray '\2' in program
    6 | FORMAT<U+0003>e<U+0010>Hello, World!!~%<U+0005>8<U+0002>?><U+0002>@
      |                                                           ^~~~~~~~
main.c:6:32: error: stray '@' in program
    6 | FORMATeHello, World!!~%8?>@
      |                                ^
Language: C++

#include <iostream>
using namespace std;
int main(){
int A, B;
cin >> A >> B;
int Answer = 0;

  Answer = A * B;
if (A > 9 || B > 9){
  Answer = -1
}
  printf(Answer);
};

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: expected ';' before '}' token
   10 |   Answer = -1
      |              ^
      |              ;
   11 | }
      | ~             
a.cc:12:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   12 |   printf(Answer);
      |          ^~~~~~
      |          |
      |          int
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
int A, B;
cin >> A >> B;
int Answer = 0;
if (A > 9 || B > 9){
  Answer = -1
}else{
  Answer = A * B
};
  
};

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected ';' before '}' token
    8 |   Answer = -1
      |              ^
      |              ;
    9 | }else{
      | ~             
a.cc:10:17: error: expected ';' before '}' token
   10 |   Answer = A * B
      |                 ^
      |                 ;
   11 | };
      | ~
Language: C++

int main(){
int A, B;
cin >> A >> B;
int Answer = 0;
if (A > 9 || B > 9){
  Answer = -1
}else{
  Answer = A * B
};
  
};

Compiler output:
a.cc: In function 'int main()':
a.cc:3:1: error: 'cin' was not declared in this scope
    3 | cin >> A >> B;
      | ^~~
a.cc:6:14: error: expected ';' before '}' token
    6 |   Answer = -1
      |              ^
      |              ;
    7 | }else{
      | ~             
a.cc:8:17: error: expected ';' before '}' token
    8 |   Answer = A * B
      |                 ^
      |                 ;
    9 | };
      | ~
Language: C++

int main(){
  
Answer = 0 ;
if (A > 9 || B > 9){
  Answer = -1
}else{
  Answer = A * B
}
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:1: error: 'Answer' was not declared in this scope
    3 | Answer = 0 ;
      | ^~~~~~
a.cc:4:5: error: 'A' was not declared in this scope
    4 | if (A > 9 || B > 9){
      |     ^
a.cc:4:14: error: 'B' was not declared in this scope
    4 | if (A > 9 || B > 9){
      |              ^
Language: Java

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		if((x>=1&&x<=9)&&(y>=1&&y<=9)){
			System.out.print(x*y);
		}else{
			System.out.print(-1);
		}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

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

public class TaskABeg144 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        //StringTokenizer st = new StringTokenizer(br.readLine());
        //PrintWriter pw = new PrintWriter("TaskABeg144.out");
        int a = sc.nextInt();
        int b = sc.nextInt();
        if(a < 1 || a > 9 || b < 1 || b > 9)
            System.out.println(-1);
        else{
            System.out.println(a*b);
        }
    }
}

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

#include<bits/stdc++.h>
uing namespace std;
int main()
{
int a,b;
cin>>a>>b;
if(a<=9&&b<=9)
cout<<a*b;
else
cout<<-1;
}

Compiler output:
a.cc:2:1: error: 'uing' does not name a type; did you mean 'uint'?
    2 | uing namespace std;
      | ^~~~
      | uint
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>a>>b;
      | ^~~
      | std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout<<a*b;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 | cout<<-1;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <unordered_map>

using namespace std;

vector<long> makePrimes(const long upper=1000000){
    vector<long> primes;
    long p[upper+1];
    for(long i=0;i<upper;i+=2){
        p[i] = 0;
        p[i+1] = i+1;
    }
    p[1] = 0;
    p[2] = 2;
    primes.push_back(2);
    for(long i=3;i<upper;i+=2){
        if(p[i]==0){
            continue;
        }
        primes.push_back(i);
        for(long j=i*i;j < upper;j+=(2*i)){
            p[j] = 0;
        }
    }
    return primes;
}

vector<long>primes = makePrimes();

unordered_map<long,int> factorize(long n){
    unordered_map<long,int> factors;

    for(auto p:primes){
        if(n == 1){
            return factors;
        }else if(n % p == 0){
            int e=1;
            for(;n % p==0;e++,n /= p);
            factors[p] = e;
        }
    }
    factors[n] = 1; // n is a prime number!!
    return factors;
}

vector<long> getDivisors(long n){
    unordered_map<long,int> factors = factorize(n);
    vector<long> d1={1};
    vector<long> d2;
    for(auto it=factors.cbegin();it != factors.cend();++it){
        d2.clear();
        int p = 1;
        int emax = it->second;
        for(int e=0;e < it->second;++e){
            for(auto d : d1){
                d2.push_back(p*d);
            }
            p *= it->first;
        }
        d1.swap(d2);
        d2.clear();
    }
    sort(d1.begin(),d1.end());
    return d1;
}

int main(){
    long n;
    cin >> n;
    vector<long> ds = getDivisors(n);
    long ans = n;
    for(auto d1:ds){
        if(d1*d1 > n){
            break;
        }
        int d2 = n / d1;
        if(d1+d2-2 < ans){
            ans = d1+d2-2;
        }
    }
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'std::vector<long int> getDivisors(long int)':
a.cc:64:5: error: 'sort' was not declared in this scope; did you mean 'short'?
   64 |     sort(d1.begin(),d1.end());
      |     ^~~~
      |     short
Language: Java

import java.util.Scanner;

public static void main(String[] args) {
	Scanner scanner = new Scanner(System.in);
  	int a = scanner.nextInt();
  	int b = scanner.nextInt();
  	scanner.close();
  	if (a < 1 || a > 9 || b < 1 || b > 9) {
      	System.out.print("-1");
    	return;
    }
  	System.out.printf("%d", a * b);
}

Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#import<iostream>
main(a,b){std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}


Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<iostream>
      |  ^~~~~~
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(a,b){std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}
      |     ^
Language: C++

main(){int a,b;std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}

Compiler output:
a.cc:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main(){int a,b;std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}
      | ^~~~
a.cc: In function 'int main()':
a.cc:1:21: error: 'cin' is not a member of 'std'
    1 | main(){int a,b;std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}
      |                     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | main(){int a,b;std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}
a.cc:1:36: error: 'cout' is not a member of 'std'
    1 | main(){int a,b;std::cin>>a>>b;std::cout<<(a>9||b>9?-1:a*b);}
      |                                    ^~~~
a.cc:1:36: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<iostream>
using namespace std;

int a,b; cin>>a>>b;
if(isdigit(a*b)
   {
     cout<<a*b; }
   else{
     cout<<"-1";
   }
return 0;
   }

Compiler output:
a.cc:4:10: error: 'cin' does not name a type
    4 | int a,b; cin>>a>>b;
      |          ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if(isdigit(a*b)
      | ^~
a.cc:8:4: error: expected unqualified-id before 'else'
    8 |    else{
      |    ^~~~
a.cc:11:1: error: expected unqualified-id before 'return'
   11 | return 0;
      | ^~~~~~
a.cc:12:4: error: expected declaration before '}' token
   12 |    }
      |    ^
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <vector>
#include <map>
#include <queue> 
#include <stack>

using namespace std;
typedef long long ll;
#define rep(i, s, e) for (int(i) = (s); (i) <= (e); ++(i))
#define all(x) x.begin(),x.end()


int main()
{
	int a,b;
	cin>>a>>b;
	if(a<10&&b<10)cout<<a*b<<endl;;
	else cout<<-1<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:9: error: 'else' without a previous 'if'
   22 |         else cout<<-1<<endl;
      |         ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  cout<<(a>9||b>9?-1:)<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:22: error: expected primary-expression before ')' token
    6 |   cout<<(a>9||b>9?-1:)<<endl;
      |                      ^
Language: C++

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

using namespace std ;

typedef long long ll ;
int a , b ;

int main (){
	scanf("%d%d",&a,&b);
	
  if(a<=9 && b<=9){
    printf("%d",a*b);
  }
  else{
    printf("%-1d\n");
  }
    

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

#include<bits.stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  if(a<=9&&b<=9){
    cout<<a*b<<endl;
  }
  else cout<<-1<<endl;
}

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

#include <iosteram>

using namespace std;

int main(){
  int A,B;
  cin >>A>>B;
  int result;
  if(A>=9 || B>=9)	result = A*B;
  else	result = -1;
  
  cout << result << endl;
}

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

#include<iosteram>

using namespace std;

int main(){
  int A,B;
  cin >>A>>B;
  int result;
  if(A>=9 || B>=9)	result = A*B;
  else	result = -1;
  
  cout << result << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
  if(a*b>81){ 
    cout<<-1;
  	return;
  }
  int c=a*b;
  for(int i=2;i*i<=c;i++){
  	int wtf=0;
    while(c%i==0){
    c/=i;
    	wtf=i;
    }
    if(i>9){
    	cout<<-1;
      return;
    }
  }
  if(c>9){
    cout<<-1;
    return;
  }
  cout<<a*b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
    8 |         return;
      |         ^~~~~~
a.cc:19:7: error: return-statement with no value, in function returning 'int' [-fpermissive]
   19 |       return;
      |       ^~~~~~
a.cc:24:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
   24 |     return;
      |     ^~~~~~
Language: Java

import java.io.*;
class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String input = ((br.readLine()).trim()).split("\\s+");
    int a = Integer.parseInt(input[0]);
    int b = Integer.parseInt(input[1]);
    if(a >= 1 && a <= 9 && b >= 1 && b <= 9) {
      System.out.println(a * b);
    }
    else {
      System.out.println(-1);
    }
  }
}

Compiler output:
Main.java:5: error: incompatible types: String[] cannot be converted to String
    String input = ((br.readLine()).trim()).split("\\s+");
                                                 ^
Main.java:6: error: array required, but String found
    int a = Integer.parseInt(input[0]);
                                  ^
Main.java:7: error: array required, but String found
    int b = Integer.parseInt(input[1]);
                                  ^
3 errors
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
	scanf("%d%d", &a, &b);
  	if(a > 0 && a < 10 && b > 0 && b < 10)
      printf("%d", a*b);
   	else
      printf("%d", -1);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: 'a' was not declared in this scope
    6 |         scanf("%d%d", &a, &b);
      |                        ^
a.cc:6:28: error: 'b' was not declared in this scope
    6 |         scanf("%d%d", &a, &b);
      |                            ^
Language: C

#include <stdio.h>
void main()
{
int a , b , c =-1;
scanf("%d %d",&a,&b);
if((a<1 && a>9) || (b<1 && b>9)) 
  printf("%d",c);
else
  print("%d",a*b);
}

Compiler output:
main.c: In function 'main':
main.c:9:3: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |   print("%d",a*b);
      |   ^~~~~
      |   printf
Language: C

void main()
{
int a , b , c =-1;
scanf("%d %d",&a,&b);
if((a<1 && a>9) || (b<1 && b>9)) 
  printf("%d",c);
else
  print("%d",a*b);
}

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void main()
main.c:4:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |   printf("%d",c);
      |   ^~~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:3: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    8 |   print("%d",a*b);
      |   ^~~~~
Language: C

int a , b , c =-1;
scanf("%d %d",&a,&b);
if((a<1 && a>9) || (b<1 && b>9)) 
  printf("%d",c);
else
  print("%d",a*b);


Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d %d",&a,&b);
      |       ^~~~~~~
main.c:2:15: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d",&a,&b);
      |               ^
main.c:2:18: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d",&a,&b);
      |                  ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if((a<1 && a>9) || (b<1 && b>9))
      | ^~
main.c:5:1: error: expected identifier or '(' before 'else'
    5 | else
      | ^~~~
Language: C++

#include<iostream.h>
using namespace std;
int main()
{
 	int a , b;
  	cin >> a >> b;
  	if(a > 9 || b > 9) cout << "-1";
  	else cout << a+b;
}

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

#include <iostream>
using namespace std;

int main()
{
  int a, b;
  cin >> a >> b;
  if (a >= 1 && a <= 9 && b >= 1 && b <= 9)
    cout << a * b << endl;
  elee
    cout << -1 << endl;
  return 0;
}

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

#include<iostream>
using namespaces std;

int main(){
 	int a , b;
  cin >> a >> b;
  if( a < 10 && b < 10){
    cout << a*b << endl;
  }
  else{
    cout << -1 << endl;
  }
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << a*b << 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:8:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << a*b << 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:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << -1 << 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:11:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout << -1 << 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<iostream>
using namespaces std;

int main(){
 	int a , b;
  if( a < 10 && b < 10){
    cout << a*b << endl;
  }
  else{
    cout << -1 << endl;
  }
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << a*b << endl;
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     cout << a*b << 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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << -1 << 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:10:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << -1 << 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<iostream>

using namespace std;

int Main() {
    int a,b;
    cin >> a >> b;
    if (a>9 || b>9) {
        cout << -1 << endl;
    } else {
        cout << a*b << endl;
    }
    return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

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

int main()
{
    int A,B,c;
    scanf("%d%d",%A,%B);
    if(A>9||B>9)
        printf("-1\n");
    else
    {
        c=A*B;
        printf("%d",c);
    }
}


Compiler output:
main.c: In function 'main':
main.c:7:18: error: expected expression before '%' token
    7 |     scanf("%d%d",%A,%B);
      |                  ^
Language: C

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

int main()
{
   int a,b,c;
   scanf("%d%d",&a,&b）;
   if(a<0||a>10||b<0||b>10)
    {
        printf("-1\n");
    }
    else
    {
        c=a*b;
        printf("%d",c);
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:21: error: 'b\U0000ff09' undeclared (first use in this function)
    7 |    scanf("%d%d",&a,&b）;
      |                     ^~~
main.c:7:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:24: error: expected ')' before ';' token
    7 |    scanf("%d%d",&a,&b）;
      |         ~              ^
      |                        )
main.c:17:14: error: expected ';' before '}' token
   17 |     return 0;
      |              ^
      |              ;
   18 | }
      | ~
Language: C

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

int main()
{
   int a,b,c;
   scanf("%d%d",&a,&b)==2
   if(a<0||a>10||b<0||b>10)
    {
        printf("-1\n");
    }
    else
    {
        c=a*b;
        printf("%d",c);
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:26: error: expected ';' before 'if'
    7 |    scanf("%d%d",&a,&b)==2
      |                          ^
      |                          ;
    8 |    if(a<0||a>10||b<0||b>10)
      |    ~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  if(a>=10||b>=10){
    cout<<-1<<endl;
  }
  else{
    cout<<a*b<<endl;
    return 0;
  }

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

#include <stdio.h>
#include <stdlib.h>
 
int main()
{
    int a,b,c;
    scanf ("%d %d",&a,&b)；
      if(a<0||a>10||b<0||b>10)
      {
            printf("-1\n");
       }
    else
        {
            c=a*b;
            printf("%d",c);
        }

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:26: error: expected ';' before '\U0000ff1b'
    7 |     scanf ("%d %d",&a,&b)；
      |                          ^~
      |                          ;
Language: Java

import java.util.Scanner;
public class demo1 {
	public static void main(String []args) {
		Scanner sc=new Scanner(System.in);
		int a,b;
		while(sc.hasNextInt()) {
		 a=sc.nextInt();
		 b=sc.nextInt();
		if((a<10)&&(a>0)&&(b>0)&&(b<10)) {
			System.out.println(a*b);
		}
		else {
			System.out.println(-1);
		}
		}
	}

}

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

#include<iostream>
using namespacce std;

int main(){
  	int a, b;
  	cin >> a >> b;
  
  	if(a && b && a <= 9 && b <= 9) cout << a * b;
  	else cout << -1;
	return 0;  
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacce'
    2 | using namespacce std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> a >> b;
      |         ^~~
      |         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:8:40: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         if(a && b && a <= 9 && b <= 9) cout << a * b;
      |                                        ^~~~
      |                                        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         else cout << -1;
      |              ^~~~
      |              std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.Scanner;
public class demo1 {
	public static void main(String []args) {
		Scanner sc=new Scanner(System.in);
		int a,b;
		while(sc.hasNextInt()) {
		 a=sc.nextInt();
		 b=sc.nextInt();
		if((a<10)&&(a>0)&&(b>0)&&(b<10)) {
			System.out.println(a*b);
		}
		else {
			System.out.println(-1);
		}
		}
	}

}


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

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <numeric>
#include <math.h>
#include <set>
#include <bitset>
#include <stack>

using namespace std;

typedef long long ll;

const ll prime = 10000000000 + 7;

/*
vector<int> z_algorithm(const string& s) {
	vector<int> prefix(s.size());
	for (int i = 1, j = 0; i < s.size(); i++)
	{
		if (i + prefix[i - j] < j + prefix[j]) {
			prefix[i] = prefix[i - j];
		}
	}
}
*/

struct UnionFind {
	vector<ll> par;
	vector<ll> rank;

	UnionFind(ll n) {
		par = vector<ll>(n);
		rank = vector<ll>(n);
		for (ll i = 0; i < n; i++)
		{
			par[i] = i;
			rank[i] = 0;
		}
	}

	ll root(ll x) {
		if (par[x] == x) {
			return x;
		}
		else {
			return root(par[x]);
		}
	}

	bool is_same(ll x, ll y) {
		return (root(x) == root(y));
	}

	void connect(ll x, ll y) {
		if (!is_same(x, y)) {
			ll x1, y1;
			x1 = root(x);
			y1 = root(y);
			if (rank[x1] < rank[y1]) {
				par[x1] = y1;
			}
			else if (rank[x1] > rank[y1]) {
				par[y1] = x1;
			}
			else {
				par[x1] = y1;
				rank[y1]++;
			}
		}
	}
};

int main() {
  
  	cout << fixed << setprecision(10);

	ll a, b;
	cin >> a >> b;
	if (1 <= min(a, b) and max(a, b) <= 9) {
		cout << (a * b) << endl;
	}
	else {
		cout << -1 << endl;
	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:77:26: error: 'setprecision' was not declared in this scope
   77 |         cout << fixed << setprecision(10);
      |                          ^~~~~~~~~~~~
a.cc:10:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    9 | #include <stack>
  +++ |+#include <iomanip>
   10 |
Language: C

#include<iostream>
#include <algorithm>
using namespace std;
int main ()
{   
    long long int n;
    long long int ans;
    cin>>n;
    ans=n+1;
    long long int i;
    for (i=1;i*i<=n;i++)
    {    if (n%i==0)
        ans=min(ans,i+n/i);
    }
    cout<<ans-2<<"\n";
    return 0;
}


Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

private static class Maino {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = Integer.parseInt(br.readLine());
//        br.readLine();
        int b = Integer.parseInt(br.readLine());
        br.close();
        if( a > 9 || b > 9) System.out.println(-1);
        else System.out.println(a+b);
    }
}

Compiler output:
Main.java:5: error: modifier private,static not allowed here
private static class Maino {
               ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Maino {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = Integer.parseInt(br.readLine());
//        br.readLine();
        int b = Integer.parseInt(br.readLine());
        br.close();
        if( a > 9 || b > 9) System.out.println(-1);
        else System.out.println(a+b);
    }
}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = Integer.parseInt(br.readLine());
//        br.readLine();
        int b = Integer.parseInt(br.readLine());
        br.close();
        if( a > 9 || b > 9) System.out.println(-1);
        else System.out.println(a+b);
    }
}

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

clude <bits/stdc++.h>
using namespace std;
vector <int> v;
int main(){
	int a,b;
  	cin >> a >> b;
	if(a < 10 and a > 0 and b < 10 and b > 0)
    	cout << a*b;
	else
      	cout <<"-1";
 
	return 0;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <bits/stdc++.h>
      | ^~~~~
a.cc:3:1: error: 'vector' does not name a type
    3 | vector <int> v;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> a >> b;
      |         ^~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << a*b;
      |         ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout <<"-1";
      |         ^~~~
Language: C++

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

int main() {
  cin >> a >> b;
  
  if(a <= 9 && b <= 9)
  {
    cout << a*b;
  }else
  {
    cout << "-1";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b;
      |               ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cassert>
#include <iostream>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <numeric>
#include <sstream>
#include <bitset>

using namespace std;
typedef long long ll;

int main() {
    std::ios::sync_with_stdio(0); cin.tie(0);


    ll ans=0;
    ll anss =0;
    ll count=0;
    ll i,j;
  
    long double x;
    vector<ll> aa;

    ll Q,N;
    long double a, b;
    string S;
    cin >> a >> b >> x;
    ll flag=0;
    ll t1=0;
    ll t2=0;
  	

    if(x>=a*a*b/2){
      
     	long double dans = (atan2((2*b-2*x/a/a),a))*180/M_PI;
        cout <<std::setprecision(12)<< dans  << endl;
        return 0;
      
    }else{
     
     	long double dans =(atan2(b,(2*x/a/b)))*180/M_PI ;
        cout <<std::setprecision(12)<< dans << endl;
      	return 0;
      
    }
   
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:45:21: error: 'setprecision' is not a member of 'std'
   45 |         cout <<std::setprecision(12)<< dans  << endl;
      |                     ^~~~~~~~~~~~
a.cc:17:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
   16 | #include <bitset>
  +++ |+#include <iomanip>
   17 | 
a.cc:51:21: error: 'setprecision' is not a member of 'std'
   51 |         cout <<std::setprecision(12)<< dans << endl;
      |                     ^~~~~~~~~~~~
a.cc:51:21: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
Language: C

#include <stdio.h>

int int main(void) {
  int i,j;
  if (i,j >= 1 && i,j <= 9 ){
    printf(i * j);
    }
    else
    {
      printf("-1");
    }
  return 0;
}


Compiler output:
main.c:3:5: error: two or more data types in declaration specifiers
    3 | int int main(void) {
      |     ^~~
main.c: In function 'main':
main.c:6:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     printf(i * j);
      |            ~~^~~
      |              |
      |              int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include <stdio.h>

int main()
{
  	int a,b,c;
  
    scanf("%d %d",&a,&b);
  	
  	if(a<10 && a>0 && b<10 && b>0)
  		printf("&d",a*b);
  	
  	else if
      	printf("-1");

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:9: error: expected '(' before 'printf'
   13 |         printf("-1");
      |         ^~~~~~
      |         (
Language: C++

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

int main() {

  int A;

  // nameに10を代入
  A = 1<= A <= 20;

  cout << A << endl; // 10
   
  int B;

  // nameに10を代入
  B = 1<= B <= 20;

  cout << B << endl; 
  
  if (1<= A <= 20 , 1<= B <= 20) {
  cout << "1" << endl;
}
else {
  cout << "-1"<<endl;
}


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

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

int main(){
  int a, b;
  cin >> a >> b;
  if( ( a >= 1) && (a <= 9) && (b >= 1) (b<= 9) ){
    cout << -1 << endl;
  else {
    cout << a * b << endl;
  }
    
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:41: error: expression cannot be used as a function
    7 |   if( ( a >= 1) && (a <= 9) && (b >= 1) (b<= 9) ){
      |                                ~~~~~~~~~^~~~~~~
a.cc:9:3: error: expected '}' before 'else'
    9 |   else {
      |   ^~~~
a.cc:7:50: note: to match this '{'
    7 |   if( ( a >= 1) && (a <= 9) && (b >= 1) (b<= 9) ){
      |                                                  ^
Language: C

#include<stdio.h>
int main()
{
  int A,B,c;
  A<=20||A>=1||B<=20||B>=1;
  printf(" ");
  scanf("%d%d",&A，&B);
  if(A>=1||A<=10||B<=10||B>=1)
    c=A*B;
  else 
    c=-1;
  printf("%d\n",c);
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:7:17: error: 'A\U0000ff0c' undeclared (first use in this function)
    7 |   scanf("%d%d",&A，&B);
      |                 ^~~
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main(){
  int a, b;
  cin >> a >> b;
  if ( a >= 1) && (a <= 9) && (b >= 1) (b<= 9) {
    cout << -1 << endl;
  else {
    cout << a * b << endl;
  }
    
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected identifier before '(' token
    7 |   if ( a >= 1) && (a <= 9) && (b >= 1) (b<= 9) {
      |                   ^
a.cc:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  if(a>=10 || b>=10){
    cout<<-1<<'\n';
  }
  else if(a<10 && b<10){
    cout<<a*b<<'\n';
  }
  return 0;
}

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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<-1<<'\n';
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<a*b<<'\n';
      |     ^~~~
Language: Java

import java.util.*;
public static void main(String args[]){
  Scanner scn = new Scanner(System.in);
  int a = scn.nextInt();
  int b = scn.nextInt();
  if((a < 10) && (b < 10)){
    System.out.println(a*b);
  }else{
    System.out.println(-1);
  }
}


Compiler output:
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String args[]){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <stdio.h>
  int main(void){
  int A, B;
  scanf("%d %d", &A &B);
  if(A<10 && B<10){
      printf("%d", A*B);
  }else{
      printf("-1");
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:21: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    4 |   scanf("%d %d", &A &B);
      |                  ~~ ^~
      |                  |   |
      |                  |   int
      |                  int*
Language: Java

public static void main(String args[]){
  Scanner scn = new Scanner(System.in);
  int a = scn.nextInt();
  int b = scn.nextInt();
  if(a < 10 && b < 10){
    System.out.println(a*b);
  }else{
    System.out.println(-1);
  }
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String args[]){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int A,B;
  cin >> A >> B;
  if(1<=A<=9　&& 1<= B <= 9){ 
    cout << A*B << endl;
  }
  else cout << "-1" << endl;
}

Compiler output:
a.cc:6:12: error: extended character 　 is not valid in an identifier
    6 |   if(1<=A<=9　&& 1<= B <= 9){
      |            ^
a.cc: In function 'int main()':
a.cc:6:12: error: unable to find numeric literal operator 'operator""\U00003000'
    6 |   if(1<=A<=9　&& 1<= B <= 9){
      |            ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int A,B;
  cin >> A >> B;
  if(1<=A<=9　&& 1<= B <= 9){ cout << A*B << endl;}
  else cout << "-1" << endl;
}

Compiler output:
a.cc:6:12: error: extended character 　 is not valid in an identifier
    6 |   if(1<=A<=9　&& 1<= B <= 9){ cout << A*B << endl;}
      |            ^
a.cc: In function 'int main()':
a.cc:6:12: error: unable to find numeric literal operator 'operator""\U00003000'
    6 |   if(1<=A<=9　&& 1<= B <= 9){ cout << A*B << endl;}
      |            ^~~
Language: C

#include<stdio.h>
int main()
{
  int A,B,c;
  A<=20||A>=1||B<=20||B>=1;
  printf("  ");
  scanf("%d，%d",&A，&B);
  if(A>=1||A<=9||B<=9||B>=1)
    c=A*B;
  else 
    c=-1;
  printf("%d\n",c);
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: 'A\U0000ff0c' undeclared (first use in this function)
    7 |   scanf("%d，%d",&A，&B);
      |                   ^~~
main.c:7:19: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#indclude <bits/stdc++.h>
using namespace std;
vector <int> v;
int main(){
	int a,b;
  	cin >> a >> b;
	for(int i = 1; i < 10; i++)
      for(int j = 1; j < 10; j++)
        if(i*j == a*b){
          cout << a*b;
          return 0;
        }
	cout <<"-1";

	return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #indclude; did you mean #include?
    1 | #indclude <bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc:3:1: error: 'vector' does not name a type
    3 | vector <int> v;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> a >> b;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #indclude <bits/stdc++.h>
a.cc:10:11: error: 'cout' was not declared in this scope
   10 |           cout << a*b;
      |           ^~~~
a.cc:10:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout <<"-1";
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

#include<stdio.h>
int main()
{
  int A,B,c;
  A<=20||A>=1||B<=20||B>=1;
  printf(" ");
  scanf("%d%d",&A&B);
  if(A>=1||A<=10||B<=10||B>=1)
    c=A*B;
  else 
    c=-1;
  printf("%d\n",c);
}
  

Compiler output:
main.c: In function 'main':
main.c:7:18: error: invalid operands to binary & (have 'int *' and 'int')
    7 |   scanf("%d%d",&A&B);
      |                ~~^
      |                |
      |                int *
Language: C++

include <stdio.h>
  int main(void){
  int A, B;
  scanf("%d %d", &A &B);
  if(A<10 && B<10){
      printf("%d", A*B);
  }else{
      printf("-1");
  }
  return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <stdio.h>
      | ^~~~~~~
Language: C++

#include<iostream>
using namespace std.
  
int main(){
 int a,b;
 cin>>a,b;
  if(a>10&&b>10)
    cout<<'-1'<<endl;
  else cout<<a*b<<endl;
  return 0;
}

Compiler output:
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     cout<<'-1'<<endl;
      |           ^~~~
a.cc:2:20: error: expected ';' before '.' token
    2 | using namespace std.
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before '.' token
Language: C++

#include <iostream>
using namespace std
int main()
{
  int a,b;
  cin>>a>>b;
  if(a<10&&b<10)
    cout<<(a*b);
  else
    cout<<"-1";
  return 0;
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main()
      | ~~~
Language: C++

count<<2*5<<endl ;
count<<5*10<<endl;

Compiler output:
a.cc:1:1: error: 'count' does not name a type
    1 | count<<2*5<<endl ;
      | ^~~~~
a.cc:2:1: error: 'count' does not name a type
    2 | count<<5*10<<endl;
      | ^~~~~
Language: C++

includ<iostream>
using namespace std;
int main()
{
  int a,b;
  cin>>a>>b;
  if(a>0&&a<10&&b>0&&b<10)
    cout<<a*b;
  else
    cout<<-1;
}

Compiler output:
a.cc:1:1: error: 'includ' does not name a type
    1 | includ<iostream>
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<a*b;
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<-1;
      |     ^~~~
Language: Java

import java.io.*;
import java.util.*;
public class Hamming
{
public static void main(String arg[])
{
Scanner s=new Scanner(System.in);
int a=s.nextInt();
int b=s.nextInt();
if(a>=1 && a<=9 && b>=1 && b<=9)
System.out.println(a*b);
else
System.out.println("-1");}}


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

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

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected expression before '%' token
    4 |         scanf(%d,&a);
      |               ^
main.c:5:15: error: expected expression before '%' token
    5 |         scanf(%d,&b);
      |               ^