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

#include <iostream>
using namespace std;

int main() {
  int a = 1;
  int b = 1;
  for (a < 10 && b < 9) {
    cout << b << "x" << a << "=" << a*b << endl;
    ++a;
    if (a == 10 && b <= 8) {
    ++b;
    a = 1;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected ';' before ')' token
    7 |   for (a < 10 && b < 9) {
      |                       ^
      |                       ;
a.cc:15:2: error: expected primary-expression at end of input
   15 | }
      |  ^
a.cc:15:2: error: expected ';' at end of input
   15 | }
      |  ^
      |  ;
a.cc:15:2: error: expected primary-expression at end of input
a.cc:15:2: error: expected ')' at end of input
   15 | }
      |  ^
      |  )
a.cc:7:7: note: to match this '('
    7 |   for (a < 10 && b < 9) {
      |       ^
a.cc:15:2: error: expected statement at end of input
   15 | }
      |  ^
a.cc:15:2: error: expected '}' at end of input
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a;
  int b;
  a = 1;
  b = 1;
  for (a < 10 && b < 9) {
    cout << b << "x" << a << "=" << a*b << endl;
    ++a;
    if (a == 10 && b <= 8) {
    ++b;
    a = 1;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before ')' token
    9 |   for (a < 10 && b < 9) {
      |                       ^
      |                       ;
a.cc:17:2: error: expected primary-expression at end of input
   17 | }
      |  ^
a.cc:17:2: error: expected ';' at end of input
   17 | }
      |  ^
      |  ;
a.cc:17:2: error: expected primary-expression at end of input
a.cc:17:2: error: expected ')' at end of input
   17 | }
      |  ^
      |  )
a.cc:9:7: note: to match this '('
    9 |   for (a < 10 && b < 9) {
      |       ^
a.cc:17:2: error: expected statement at end of input
   17 | }
      |  ^
a.cc:17:2: error: expected '}' at end of input
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a;
  int b;
  a = 1;
  b = 1;
  for (a < 10 && b < 9) {
    cout << b << "x" << a << "=" << a*b << endl;
    ++a;
    if (a == 10 && b <= 8) {
    ++b;
    a = 1;
   } 
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before ')' token
    9 |   for (a < 10 && b < 9) {
      |                       ^
      |                       ;
a.cc:17:3: error: expected primary-expression before 'return'
   17 |   return 0;
      |   ^~~~~~
a.cc:16:4: error: expected ';' before 'return'
   16 |   }
      |    ^
      |    ;
   17 |   return 0;
      |   ~~~~~~
a.cc:17:3: error: expected primary-expression before 'return'
   17 |   return 0;
      |   ^~~~~~
a.cc:16:4: error: expected ')' before 'return'
   16 |   }
      |    ^
      |    )
   17 |   return 0;
      |   ~~~~~~
a.cc:9:7: note: to match this '('
    9 |   for (a < 10 && b < 9) {
      |       ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a;
  int b;
  a = 1;
  b = 1;
  for (a < 10 && b < 9) {
    cout << b << "x" << a << "=" << a*b << endl;
    ++a;
    if (a == 10 && b <= 8)
    ++b;
    a = 1;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before ')' token
    9 |   for (a < 10 && b < 9) {
      |                       ^
      |                       ;
a.cc:16:3: error: expected primary-expression before 'return'
   16 |   return 0;
      |   ^~~~~~
a.cc:15:4: error: expected ';' before 'return'
   15 |   }
      |    ^
      |    ;
   16 |   return 0;
      |   ~~~~~~
a.cc:16:3: error: expected primary-expression before 'return'
   16 |   return 0;
      |   ^~~~~~
a.cc:15:4: error: expected ')' before 'return'
   15 |   }
      |    ^
      |    )
   16 |   return 0;
      |   ~~~~~~
a.cc:9:7: note: to match this '('
    9 |   for (a < 10 && b < 9) {
      |       ^
Language: C++

for i in range (1, 10):
	for j in range (1, 10):
		print str(i) + 'x' + str(j) + '=' + str(i*j)

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'for'
    1 | for i in range (1, 10):
      | ^~~
Language: C++

include<iostream>

using namespace std;

int main(){

for(int i = 1; i <=9; i++){
for(int k = 1; k <=9; k++){
cout << k << "x" << i <<"=" <<i*k << endl;
}}

return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope
    9 | cout << k << "x" << i <<"=" <<i*k << endl;
      | ^~~~
a.cc:9:38: error: 'endl' was not declared in this scope
    9 | cout << k << "x" << i <<"=" <<i*k << endl;
      |                                      ^~~~
Language: C++

for i in 1..9 do
	for j in 1..9 do
		print(i,"x",j,"=",i*j,"\n")
	end
end

Compiler output:
a.cc:1:10: error: too many decimal points in number
    1 | for i in 1..9 do
      |          ^~~~
a.cc:2:18: error: too many decimal points in number
    2 |         for j in 1..9 do
      |                  ^~~~
a.cc:1:1: error: expected unqualified-id before 'for'
    1 | for i in 1..9 do
      | ^~~
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define FOR(i,a,b) for(ll i=(ll)(a);i<(ll)(b);i++)
#define REP(i,n) FOR(i,0,n)
#define REP1(i,n) FOR(i,1,n)
 
/*--------------------template--------------------*/

int main(){
    REP1(i,10){
        REP1(j,10){
            cout << i << 'x' << j << '=' << i*j << endl;
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |             cout << i << 'x' << j << '=' << i*j << endl;
      |             ^~~~
      |             std::cout
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:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:52: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |             cout << i << 'x' << j << '=' << i*j << endl;
      |                                                    ^~~~
      |                                                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

using namespase std;

int main(){
for(int i=1;i>=9;i++){
for(int j=1;j>=9;j++){
cout << i<<"x"<<j<<"="<<i*j<<endl;
}
}
return 0;
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << i<<"x"<<j<<"="<<i*j<<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:8:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout << i<<"x"<<j<<"="<<i*j<<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)
      |     ^~~~
Language: C++

import scala.io.StdIn

object Main {
 
  def main(args: Array[String]): Unit = {
 for{ i <- 1 to 10
j <- 1 to 10}{
	println (i + "*" + j + "=" + i*j)
}
}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import scala.io.StdIn
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <iostream>
using namespace std;

int main() {
  for(int i=1;i<=9;i++)
    for(itn j=1;j<=9;j++)
      cout << i <<'x' << j <<'=' << i*j<<endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'itn' was not declared in this scope; did you mean 'int'?
    6 |     for(itn j=1;j<=9;j++)
      |         ^~~
      |         int
a.cc:6:17: error: 'j' was not declared in this scope
    6 |     for(itn j=1;j<=9;j++)
      |                 ^
Language: C++

#include<iostream>
using namespce std;
int main(){

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespce'
    2 | using namespce std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<i<<"??"<<j<<"="<<i*j<<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:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<i<<"??"<<j<<"="<<i*j<<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)
      |     ^~~~
Language: C++

class Main {
  public static void main(String[] args) {
    for(int i = 1;i<10;i++){for(int j = 1; j<10;j++){System.out.println(i + "x" + j + "=" + i*j)}}
  }
}

Compiler output:
a.cc:2:9: error: expected ':' before 'static'
    2 |   public static void main(String[] args) {
      |         ^~~~~~~
      |         :
a.cc:2:27: error: 'String' has not been declared
    2 |   public static void main(String[] args) {
      |                           ^~~~~~
a.cc:2:36: error: expected ',' or '...' before 'args'
    2 |   public static void main(String[] args) {
      |                                    ^~~~
a.cc:5:2: error: expected ';' after class definition
    5 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:3:54: error: 'System' was not declared in this scope
    3 |     for(int i = 1;i<10;i++){for(int j = 1; j<10;j++){System.out.println(i + "x" + j + "=" + i*j)}}
      |                                                      ^~~~~~
a.cc:3:85: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    3 |     for(int i = 1;i<10;i++){for(int j = 1; j<10;j++){System.out.println(i + "x" + j + "=" + i*j)}}
      |                                                                         ~~~~~~~~~~~ ^ ~~~
      |                                                                                 |     |
      |                                                                                 |     const char [2]
      |                                                                                 const char*
Language: C++

#include<stdio.h>
#include<string.h>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<iostream>
using namespace std;
int main() {
	int n, m, i, j,h=0, cnt = 0,m,p, k = 3, l[10], S, L, s[10], a[10];
	scanf("%d %d% d", &n,&m,&p);
	for (i = 1; i <= 9; i++) {
		for (j = 1; j <= 9; j++) {
			int seki = i*j;
			printf("%dx%d=%d\n", i, j, seki);
		}
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:37: error: redeclaration of 'int m'
    9 |         int n, m, i, j,h=0, cnt = 0,m,p, k = 3, l[10], S, L, s[10], a[10];
      |                                     ^
a.cc:9:16: note: 'int m' previously declared here
    9 |         int n, m, i, j,h=0, cnt = 0,m,p, k = 3, l[10], S, L, s[10], a[10];
      |                ^
a.cc:16:10: error: expected '}' at end of input
   16 |         }
      |          ^
a.cc:8:12: note: to match this '{'
    8 | int main() {
      |            ^
Language: C++

class Main{
    public static void main(String[] a){
      
 
  int i =9;
  for(m=1;m<=9;m++)
  {
     for(x=1;x<=9;x++)
     {
      
       System.out.println(m+"x"+x+"="+x*m);
     }
  }
 
    }
}

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'a'
    2 |     public static void main(String[] a){
      |                                      ^
a.cc:16:2: error: expected ';' after class definition
   16 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:6:7: error: 'm' was not declared in this scope
    6 |   for(m=1;m<=9;m++)
      |       ^
a.cc:8:10: error: 'x' was not declared in this scope
    8 |      for(x=1;x<=9;x++)
      |          ^
a.cc:11:8: error: 'System' was not declared in this scope
   11 |        System.out.println(m+"x"+x+"="+x*m);
      |        ^~~~~~
Language: C++

for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end

Compiler output:
a.cc:1:10: error: too many decimal points in number
    1 | for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end
      |          ^~~~
a.cc:1:24: error: too many decimal points in number
    1 | for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end
      |                        ^~~~
a.cc:1:1: error: expected unqualified-id before 'for'
    1 | for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end
      | ^~~
a.cc:1:15: error: expected unqualified-id before 'for'
    1 | for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end
      |               ^~~
a.cc:1:29: error: 'print' does not name a type; did you mean 'int'?
    1 | for i in 1..9;for j in 1..9;print i,"x",j,"=",i*j,"\n"end end
      |                             ^~~~~
      |                             int
Language: C++

#include<iostream>
using namespace std;

int main(){
for(ini i = 0;i < 9;i++){
for(int j = 0;j < 9;j++){
cout << i << "??" << j "=" <<i*j << endl;
}
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'ini' was not declared in this scope; did you mean 'int'?
    5 | for(ini i = 0;i < 9;i++){
      |     ^~~
      |     int
a.cc:5:15: error: 'i' was not declared in this scope
    5 | for(ini i = 0;i < 9;i++){
      |               ^
Language: C++

#include<stdio.h>

int main(){
??????int i;
   
  for(i=1;i<=9;i++){
    printf("%dx%d=%d\n",i,i,i*i);
}


    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: expected primary-expression before '?' token
    4 | ??????int i;
      | ^
a.cc:4:2: error: expected primary-expression before '?' token
    4 | ??????int i;
      |  ^
a.cc:4:3: error: expected primary-expression before '?' token
    4 | ??????int i;
      |   ^
a.cc:4:4: error: expected primary-expression before '?' token
    4 | ??????int i;
      |    ^
a.cc:4:5: error: expected primary-expression before '?' token
    4 | ??????int i;
      |     ^
a.cc:4:6: error: expected primary-expression before '?' token
    4 | ??????int i;
      |      ^
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:4:7: error: expected ':' before 'int'
    4 | ??????int i;
      |       ^~~
      |       :
a.cc:4:7: error: expected primary-expression before 'int'
    4 | ??????int i;
      |       ^~~
a.cc:6:7: error: 'i' was not declared in this scope
    6 |   for(i=1;i<=9;i++){
      |       ^
Language: C++

class Main{
    public static void main(String[] a){
        for(int i=1;i<=9;i++){
	for(int j=1;j<=9;j++){
		System.out.println(i+"x"+j+"="+(i*j));
	}
}

    }
}

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'a'
    2 |     public static void main(String[] a){
      |                                      ^
a.cc:10:2: error: expected ';' after class definition
   10 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:17: error: 'System' was not declared in this scope
    5 |                 System.out.println(i+"x"+j+"="+(i*j));
      |                 ^~~~~~
a.cc:5:43: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    5 |                 System.out.println(i+"x"+j+"="+(i*j));
      |                                    ~~~~~~~^~~~
      |                                         |  |
      |                                         |  const char [2]
      |                                         const char*
Language: C++

class Main{
    public static void main(String[] a){
for(int i=1;i<=9;i++){
	for(int j=1;j<=9;j++){
		System.out.println(i+"x"+j+"="+(i*j));
	}
}    }
}

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'a'
    2 |     public static void main(String[] a){
      |                                      ^
a.cc:8:2: error: expected ';' after class definition
    8 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:17: error: 'System' was not declared in this scope
    5 |                 System.out.println(i+"x"+j+"="+(i*j));
      |                 ^~~~~~
a.cc:5:43: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    5 |                 System.out.println(i+"x"+j+"="+(i*j));
      |                                    ~~~~~~~^~~~
      |                                         |  |
      |                                         |  const char [2]
      |                                         const char*
Language: C++

<?php

    for($i = 1; $i <= 9; $i++){
        for($j = 1; $j <= 9; $j++){
            echo $i."x".$j."=".$i * $j."\n";
        }
    }

?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:17: error: '$i' does not name a type
    3 |     for($i = 1; $i <= 9; $i++){
      |                 ^~
a.cc:3:26: error: '$i' does not name a type
    3 |     for($i = 1; $i <= 9; $i++){
      |                          ^~
a.cc:9:1: error: expected unqualified-id before '?' token
    9 | ?>
      | ^
Language: C++

#include<iostream>

int main(){

  for(int i=1,i<10,i++){
    for (int j=1,j<10,j++){
      std:cout << i << 'x' << j << '=' << i*j; << std::endl;
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: expected ';' before '<' token
    5 |   for(int i=1,i<10,i++){
      |                ^
      |                ;
a.cc:5:16: error: expected primary-expression before '<' token
a.cc:5:23: error: expected ';' before ')' token
    5 |   for(int i=1,i<10,i++){
      |                       ^
      |                       ;
a.cc:6:19: error: expected ';' before '<' token
    6 |     for (int j=1,j<10,j++){
      |                   ^
      |                   ;
a.cc:6:19: error: expected primary-expression before '<' token
a.cc:6:26: error: expected ';' before ')' token
    6 |     for (int j=1,j<10,j++){
      |                          ^
      |                          ;
a.cc:7:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |       std:cout << i << 'x' << j << '=' << i*j; << std::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:48: error: expected primary-expression before '<<' token
    7 |       std:cout << i << 'x' << j << '=' << i*j; << std::endl;
      |                                                ^~
Language: C++


    for(int i=1;i<10;i++){
       for(int j=1;j<10;j++){
           printf("%d+%d=%d", i, j, i*j);
       }
    }

Compiler output:
a.cc:2:5: error: expected unqualified-id before 'for'
    2 |     for(int i=1;i<10;i++){
      |     ^~~
a.cc:2:17: error: 'i' does not name a type
    2 |     for(int i=1;i<10;i++){
      |                 ^
a.cc:2:22: error: 'i' does not name a type
    2 |     for(int i=1;i<10;i++){
      |                      ^
Language: C++

#include <studio.h>

int 
main(void)
{
    int i, j;
    
    for (i=1; i<10; i++)
    {    for (j=1; j<10; j++)
         {
             printf("%dx%d=%d\n" i, j, i+j);
         }
         
    }
    return 0; 
}

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

#include <stdio.h>
 
int
main(void)
{
    int i, j;
     
    for (i=1; i<10; i++)
    {    for (j=1; j<10; j++)
         {
             printf("%dx%d=%d\n" i, j, i+j);
         }
          
    }
    return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:33: error: expected ')' before 'i'
   11 |              printf("%dx%d=%d\n" i, j, i+j);
      |                    ~            ^~
      |                                 )
Language: C++

#include<iostream>
using namespace std;

int main() {
	
	for (int i = 1; i < 10; i++) {
		for (int j = 1; j< 10; ++) {
			cout << i << "x" << j << "=" << i*j << endl;
		}

	}
	return 0;
}

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

class Main{
    public static void main(String[] a){
for(int a=1;a<=9;a++){
	            for(int b=1;b<=9;b++){
	                System.out.println(a+"??"+b+"="+a*b);
	            }
	        }
    }
}

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'a'
    2 |     public static void main(String[] a){
      |                                      ^
a.cc:9:2: error: expected ';' after class definition
    9 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:25: error: 'System' was not declared in this scope
    5 |                         System.out.println(a+"??"+b+"="+a*b);
      |                         ^~~~~~
a.cc:5:52: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    5 |                         System.out.println(a+"??"+b+"="+a*b);
      |                                            ~~~~~~~~^~~~
      |                                                  |  |
      |                                                  |  const char [2]
      |                                                  const char*
Language: C++

package Main;


class Main{
    public static void main(String[] a){
    	for(int i=1; i<=9; i++){
    		for(int j=1; j<=9; j++){
    			System.out.println(i+"x"+j+"="+i*j);
    		}
    	}
    }
}

Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package Main;
      | ^~~~~~~
a.cc:5:11: error: expected ':' before 'static'
    5 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:5:29: error: 'String' has not been declared
    5 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:5:38: error: expected ',' or '...' before 'a'
    5 |     public static void main(String[] a){
      |                                      ^
a.cc:12:2: error: expected ';' after class definition
   12 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:8:25: error: 'System' was not declared in this scope
    8 |                         System.out.println(i+"x"+j+"="+i*j);
      |                         ^~~~~~
a.cc:8:51: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    8 |                         System.out.println(i+"x"+j+"="+i*j);
      |                                            ~~~~~~~^~~~
      |                                                 |  |
      |                                                 |  const char [2]
      |                                                 const char*
Language: C++

#include <stdio>
int main(){
  int i,j,k;
  for(i=1;i<10;i++){
    for(j=1;j<10;j++){
      printf("%dx%d=%d\n",i,j,i*j);
    }
  }
  return 0;
}

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

object Main {
  def main(args: Array[String]): Unit = {
    for (i <- 1 to 9; j <- 1 to 9)
      println(i + "x" + j + "=" + i * j)
  }
}

Compiler output:
a.cc:1:1: error: 'object' does not name a type
    1 | object Main {
      | ^~~~~~
Language: C++

#include<stdio.h>


void main(void) {
	for (int i = 1;i < 10;i++)for (int j = 1;j < 10;j++,printf("\n"))printf("%dx%d=%d", i, j, i*j);
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(void) {
      | ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
for(int i = 1;i <=  9;i++){
{for(int j = 1;j <=  9;j++){
std::cout << i << "x" << j << "=" << i*j << std::endl;
}
}
    return 0;
}

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

#include<stdio.h>

int main(void){
for(i=0;i<10;i++){
for(j=0;j<10;j++){
printf("%dx%d=%d",i,j,i*j);
return 0;
}}}

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

#include<stdio.h>

int main(void){
for(i=0;i<10;i++){
for(j=0;j<10;j++){
printf("%dx%d=%d\n",i,j,i*j);
return 0;
}}}

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

#include<iostream>
using namespace std;

int main(){

    for(int i =1; i<10; i++)
      for(int j =1; j<10; j++)
         println(i+"x"+j+"="+(i*j));

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    8 |          println(i+"x"+j+"="+(i*j));
      |                  ~~~~~~~^~~~
      |                       |  |
      |                       |  const char [2]
      |                       const char*
a.cc:8:10: error: 'println' was not declared in this scope; did you mean 'printf'?
    8 |          println(i+"x"+j+"="+(i*j));
      |          ^~~~~~~
      |          printf
Language: C++

class Main{
    public static void main(String[] a){
         for(int i =1; i<10; i++){
             for(int j=1; j<10; j++){
                  System.out.println(i+"x"+j+"="+(i*j));
             }
         }
         
    }
}

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'a'
    2 |     public static void main(String[] a){
      |                                      ^
a.cc:10:2: error: expected ';' after class definition
   10 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:19: error: 'System' was not declared in this scope
    5 |                   System.out.println(i+"x"+j+"="+(i*j));
      |                   ^~~~~~
a.cc:5:45: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    5 |                   System.out.println(i+"x"+j+"="+(i*j));
      |                                      ~~~~~~~^~~~
      |                                           |  |
      |                                           |  const char [2]
      |                                           const char*
Language: C++

import java.lang.*;
import java.io.*;

class Main{
    public static void main(String[] a){
         for (int i = 1; i < 10; i++) {
               for(int j = 1; j < 10; j++) {
                     System.out.println(i + "x" + j + "=" + (i * j));
               }
         }
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.lang.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:11: error: expected ':' before 'static'
    5 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:5:29: error: 'String' has not been declared
    5 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:5:38: error: expected ',' or '...' before 'a'
    5 |     public static void main(String[] a){
      |                                      ^
a.cc:12:2: error: expected ';' after class definition
   12 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:8:22: error: 'System' was not declared in this scope
    8 |                      System.out.println(i + "x" + j + "=" + (i * j));
      |                      ^~~~~~
a.cc:8:53: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    8 |                      System.out.println(i + "x" + j + "=" + (i * j));
      |                                         ~~~~~~~~~~~ ^ ~~~
      |                                                 |     |
      |                                                 |     const char [2]
      |                                                 const char*
Language: C++

#include<iostream>
using namespace std;

int main(){
  for(int a=1;a<=9;a++){
    for(int b=1;b<=9;b++){
      int c=a*b;
      printf(a+"x"+b=c)
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: lvalue required as left operand of assignment
    8 |       printf(a+"x"+b=c)
      |              ~~~~~^~
Language: C++

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

int main(){
  for(int a=1;a<=9;a++){
    for(int b=1;b<=9;b++){
      int c=a*b;
      printf(a+"x"+b=c)
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: lvalue required as left operand of assignment
    8 |       printf(a+"x"+b=c)
      |              ~~~~~^~
Language: C++

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

int main(){
  for(int a=1;a<=9;a++){
    for(int b=1;b<=9;b++){
      int c=a*b;
      printf("%d\n",a+"x"+b=c)
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: lvalue required as left operand of assignment
    8 |       printf("%d\n",a+"x"+b=c)
      |                     ~~~~~^~
Language: C++

package com.company;
import java.io.IOException;
public class Main {
    public static void main (String[] args) throws IOException {

        for (int i = 1; i < 10; i++){
            for(int j=1;j < 10;j++){
                System.out.println(i+"??"+j);
            }
        }
    }
}

Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package com.company;
      | ^~~~~~~
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.IOException;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

import java.io.IOException;
public class Main {
    public static void main (String[] a) throws IOException {

        for (int i = 1; i < 10; i++){
            for(int j=1;j < 10;j++){
                System.out.println(i+"x"+j+"="+(i*j));
            }
        }
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.IOException;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C++

#include <stdio.h>

int main(){
    int i, j a;
    for(i = 1; i < 10; i++){
        for(j = 1; j < 10; j++){
            a = i * j;
            printf("%dx%d=%d\n", i, j, a);
        }
    }
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:4:14: error: expected initializer before 'a'
    4 |     int i, j a;
      |              ^
a.cc:6:13: error: 'j' was not declared in this scope
    6 |         for(j = 1; j < 10; j++){
      |             ^
a.cc:7:13: error: 'a' was not declared in this scope
    7 |             a = i * j;
      |             ^
Language: C++

#include <stdio.h>
int i, j;
for (i=1; i<=9; i++)
    for (j=1; j<=9; j++)
        printf("%dx%d=%d\n",i, j, i*j);


Compiler output:
a.cc:3:1: error: expected unqualified-id before 'for'
    3 | for (i=1; i<=9; i++)
      | ^~~
a.cc:3:11: error: 'i' does not name a type
    3 | for (i=1; i<=9; i++)
      |           ^
a.cc:3:17: error: 'i' does not name a type
    3 | for (i=1; i<=9; i++)
      |                 ^
a.cc:4:15: error: 'j' does not name a type
    4 |     for (j=1; j<=9; j++)
      |               ^
a.cc:4:21: error: 'j' does not name a type
    4 |     for (j=1; j<=9; j++)
      |                     ^
Language: C++

#include <stdio.h>
int i, j;


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>
void main()
{
    for (int i=1; i<=9; i++)
        for (int j=1; j<=9; j++)
            printf("%dx%d=%d\n", i, j, i*j);
}


Compiler output:
a.cc:2:1: error: '::main' must return 'int'
    2 | void main()
      | ^~~~
Language: C++

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


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

#include<stdin.h>
using namespace std;

int main(){
    for (int i=1; i<=9; c++){
        for (int j=1; j<=9; j++){
            printf("%dx%d=%d",i,j,i*j)
        }
    }
    return 0;
}


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

#include<iostream>
int main(void){
int i=1,j=1
for(i;i<10;i++){
for(j=1;j<10;j++){
std::cout<<i<<"x"<<j<<"="<<i*j<<std::endl;
}}

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: expected ',' or ';' before 'for'
    4 | for(i;i<10;i++){
      | ^~~
a.cc:4:15: error: expected ';' before ')' token
    4 | for(i;i<10;i++){
      |               ^
      |               ;
Language: C++

fn main(){
  let n=10;
  for i in 1..n{
    for j in 1..n{
      println!("{}x{}={}",i,j,i*j);
    }
  }
}




Compiler output:
a.cc:3:12: error: too many decimal points in number
    3 |   for i in 1..n{
      |            ^~~~
a.cc:4:14: error: too many decimal points in number
    4 |     for j in 1..n{
      |              ^~~~
a.cc:1:1: error: 'fn' does not name a type
    1 | fn main(){
      | ^~
Language: C++

fn main(){
  let n=10;
  for i in 1..n{
    for j in 1..n{
      println!("{}x{}={}",i,j,i*j);
    }
  }
}



Compiler output:
a.cc:3:12: error: too many decimal points in number
    3 |   for i in 1..n{
      |            ^~~~
a.cc:4:14: error: too many decimal points in number
    4 |     for j in 1..n{
      |              ^~~~
a.cc:1:1: error: 'fn' does not name a type
    1 | fn main(){
      | ^~
Language: C++

fn main(){

  for i in 1..10{
    for j in 1..10{
      println!("{}x{}={}",i,j,i*j);
    }
  }
}



Compiler output:
a.cc:3:12: error: too many decimal points in number
    3 |   for i in 1..10{
      |            ^~~~~
a.cc:4:14: error: too many decimal points in number
    4 |     for j in 1..10{
      |              ^~~~~
a.cc:1:1: error: 'fn' does not name a type
    1 | fn main(){
      | ^~
Language: C++

#include <stdio>

using namespace std;

int main(void)
{
    for (int i = 0; i <= 9; i++) {
        for ( int j = 0; j <= 9; j++) {
            cout << i << 'x' << j << '=' << i * j << endl;
        }
    }
    return 0;
}


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

#include<stdio.h> int i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);}


Compiler output:
a.cc:1:19: warning: extra tokens at end of #include directive
    1 | #include<stdio.h> int i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);}
      |                   ^~~
/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>
 
int main(void) {
  int i, j;
  for(i = 1; i < 10; ++i) {
    for(j = 1; j < 10; ++j) {
      printf("%dx%d=%d\n", i, j, i * j);
    }
  }
  return 0;



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

#include <iostream>
int main()
{
  std:cout << "Hello World" << "\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 |   std:cout << "Hello World" << "\n";
      |       ^~~~
      |       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
      |                  ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    
    for(int i=1;i<10;i++;){
      for(int j=1; j<10;j++){
          cout<<i<<"+"<<j<<"="<<i+j<<endl;
          
     }
    }  
 
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:25: error: expected ')' before ';' token
    5 |     for(int i=1;i<10;i++;){
      |        ~                ^
      |                         )
a.cc:5:26: error: expected primary-expression before ')' token
    5 |     for(int i=1;i<10;i++;){
      |                          ^
Language: C++

#include<stdio.h>
int main()
{
int n,p;
{
for(p=1;p<=9;p++)
{
for(n=1;n<10;n++)
{
printf("%dx%d=%d\n",p,n,p*n);
}
}
return 0;
}


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

#include <iostream>
using namespace std;

int main(){
  for(int i = 1; i < 10; i++){
    for(int i = 1; i < 10; i++){
      cout << i << "x" << j << "=" << i*j << endl;
    }
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: 'j' was not declared in this scope
    7 |       cout << i << "x" << j << "=" << i*j << endl;
      |                           ^
Language: C++

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


Compiler output:
a.cc:8:1: error: extended character 　 is not valid in an identifier
    8 | 　}
      | ^
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '<<' token
    7 |    cout<<i<<*<<j<<"="<<i*j<<endl;
      |              ^~
a.cc:8:1: error: '\U00003000' was not declared in this scope
    8 | 　}
      | ^~
Language: C++

#include<cstdio>
int main()
{
for(int x=1;x<10;x++)
{
for(int y=1;y<10;y++)
printf("%dX%d=%d\n",a*b);
}
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: 'a' was not declared in this scope
    7 | printf("%dX%d=%d\n",a*b);
      |                     ^
a.cc:7:23: error: 'b' was not declared in this scope
    7 | printf("%dX%d=%d\n",a*b);
      |                       ^
Language: C++

#include<cstdio>
int main()
{
for(int x=1;x<10;x++)
{
for(int y=1;y<10;y++)
printf("%d × %d = %d\n",a*b);
}
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'a' was not declared in this scope
    7 | printf("%d × %d = %d\n",a*b);
      |                         ^
a.cc:7:27: error: 'b' was not declared in this scope
    7 | printf("%d × %d = %d\n",a*b);
      |                           ^
Language: C++

#include<stdio.h>

int main(){

int i,j;

for(i=1;i<=10;i++){

for(j=1;j<=10;j++){

printf("%dx%d=%d\n",i,j,i*j)
}

}
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: expected ';' before '}' token
   11 | printf("%dx%d=%d\n",i,j,i*j)
      |                             ^
      |                             ;
   12 | }
      | ~
Language: C++

#include <stdio.h>
void main()
{
     int i,j;
     for(i=1;i<10;i++)
        for(j=1;j<10;j++)
           printf("%d*%d=%d\n",i,j,i*j);
}


Compiler output:
a.cc:2:1: error: '::main' must return 'int'
    2 | void main()
      | ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	for(int i=1; i<10; i++){
              for(int J=0; j<0; j++){
                      printf("%dx%d=%d", i, j, i*j);
              }
        }
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:28: error: 'j' was not declared in this scope
    6 |               for(int J=0; j<0; j++){
      |                            ^
Language: C++

#include <iostream>
using namespace std;

int main() {
	for(int i=1; i<10; i++){
              for(int J=0; j<10; j++){
                      printf("%dx%d=%d", i, j, i*j);
              }
        }
	return 0;
}


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

#include <iostream>
using namespace std;

int main() {
	for(int i=1; i<10; i++){
              for(int J=1; j<10; j++){
                      printf("%dx%d=%d", i, j, i*j);
              }
        }
	return 0;
}


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

#include <iostream>
using namespace std;

int main() {
	for(int i=1; i<10; i++){
              for(int J=1; j<10; j++){
                      printf("%dx%d=%d\n", i, j, i*j);
              }
        }
	return 0;
}


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

class Main {
	public static void main(String[] args) {
		for(int i=1; i<=9; i++ ){
			for(int j=1; j <=9;j++){
				System.out.println(i+" x "+j+" = "+ i*j);
			}
		}
	}

}



Compiler output:
a.cc:2:15: error: expected ':' before 'static'
    2 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:2:33: error: 'String' has not been declared
    2 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:2:42: error: expected ',' or '...' before 'args'
    2 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:10:2: error: expected ';' after class definition
   10 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:33: error: 'System' was not declared in this scope
    5 |                                 System.out.println(i+" x "+j+" = "+ i*j);
      |                                 ^~~~~~
a.cc:5:61: error: invalid operands of types 'const char*' and 'const char [4]' to binary 'operator+'
    5 |                                 System.out.println(i+" x "+j+" = "+ i*j);
      |                                                    ~~~~~~~~~^~~~~~
      |                                                           |  |
      |                                                           |  const char [4]
      |                                                           const char*
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: unable to find string literal operator 'operator""c' with 'const char [4]', 'long unsigned int' arguments
    7 |         printf("%d\n"c);
      |                ^~~~~~~
Language: C++

#include<stdio.h>
int main(void)
{
	int a,b,c;
	scanf("%d %d",&a,&b);
	c=axb;
	printf("%d\n",c);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'axb' was not declared in this scope
    6 |         c=axb;
      |           ^~~
Language: C++

#include<stdio.h>
int main(void)
{
	int a,b,c,x;
	scanf("%d %d",&a,&b);
	c=axb;
	printf("%d\n",c);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'axb' was not declared in this scope
    6 |         c=axb;
      |           ^~~
Language: C++

#include<stdio.h>
int main(void)
{
	int a,b,c,;
	scanf("%d %d",&a,&b);
	c=axb;
	printf("%d\n",c);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:19: error: expected unqualified-id before ';' token
    4 |         int a,b,c,;
      |                   ^
a.cc:6:11: error: 'axb' was not declared in this scope
    6 |         c=axb;
      |           ^~~
Language: C++

#include<stdio.h>
int main(void)
{
	int a,b,c,;
	scanf("%d %d",&a,&b);
	
	x=*;
	c=axb;
	printf("%d\n",c);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:19: error: expected unqualified-id before ';' token
    4 |         int a,b,c,;
      |                   ^
a.cc:7:9: error: 'x' was not declared in this scope
    7 |         x=*;
      |         ^
a.cc:7:12: error: expected primary-expression before ';' token
    7 |         x=*;
      |            ^
a.cc:8:11: error: 'axb' was not declared in this scope
    8 |         c=axb;
      |           ^~~