criyle/codenet-compile-errors huggingface dataset:
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:8:11: error: 'axb' was not declared in this scope
    8 |         c=axb;
      |           ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'axb' was not declared in this scope
    8 |         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:7:9: error: 'x' was not declared in this scope
    7 |         x='*';
      |         ^
a.cc:8:11: error: 'axb' was not declared in this scope
    8 |         c=axb;
      |           ^~~
Language: C++

j;main(i){for(;++j%10||(j=i++<9);)printf("%dx%d=%d\n",i,j,i*j);exit(0);}

Compiler output:
a.cc:1:1: error: 'j' does not name a type
    1 | j;main(i){for(;++j%10||(j=i++<9);)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | j;main(i){for(;++j%10||(j=i++<9);)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
      |       ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'i' does not name a type
    2 | i=1,j=1;main(){for(;i<10;i++)for(;j<10;j++)printf("%dx%d=%d\n",i,j,i+j);}
      | ^
a.cc:2:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | i=1,j=1;main(){for(;i<10;i++)for(;j<10;j++)printf("%dx%d=%d\n",i,j,i+j);}
      |         ^~~~
a.cc: In function 'int main()':
a.cc:2:21: error: 'i' was not declared in this scope
    2 | i=1,j=1;main(){for(;i<10;i++)for(;j<10;j++)printf("%dx%d=%d\n",i,j,i+j);}
      |                     ^
a.cc:2:35: error: 'j' was not declared in this scope
    2 | i=1,j=1;main(){for(;i<10;i++)for(;j<10;j++)printf("%dx%d=%d\n",i,j,i+j);}
      |                                   ^
Language: C++

#include <stdio.h>
main(){
  int a,b,;
  a=1,b=1; 
  while(a<10){
  while(b<10){
    printf("%d*%d=%d",a,b,a*b);
    b++;
  }
  b=1;
  a++;
  }
}

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:3:11: error: expected unqualified-id before ';' token
    3 |   int a,b,;
      |           ^
Language: C++

#include <iostream>
using name space 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:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space std;
      |       ^~~~
a.cc: In function 'int main()':
a.cc:7:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |       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:7:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |       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 java.util.*;
import java.lang.*;
import java.math.*;

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
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.lang.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.math.*;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:5:12: note: to match this '{'
    5 | class main {
      |            ^
a.cc: In member function 'void main::run()':
a.cc:10:17: error: 'System' was not declared in this scope
   10 |                 System.out.println( i + "x" + j + "+"  + i*j);
      |                 ^~~~~~
a.cc:10:49: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   10 |                 System.out.println( i + "x" + j + "+"  + i*j);
      |                                     ~~~~~~~~~~~ ^ ~~~
      |                                             |     |
      |                                             |     const char [2]
      |                                             const char*
a.cc:14:5: error: expected primary-expression before 'public'
   14 |     public static void main(String[] args) {
      |     ^~~~~~
a.cc: At global scope:
a.cc:17:2: error: expected unqualified-id at end of input
   17 | }
      |  ^
Language: C++

import java.util.*;
import java.lang.*;
import java.math.*;

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
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.lang.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.math.*;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:15:11: error: expected ':' before 'static'
   15 |     public static void main( String[] args) {
      |           ^~~~~~~
      |           :
a.cc:15:30: error: 'String' has not been declared
   15 |     public static void main( String[] args) {
      |                              ^~~~~~
a.cc:15:39: error: expected ',' or '...' before 'args'
   15 |     public static void main( String[] args) {
      |                                       ^~~~
a.cc:15:19: error: return type specification for constructor invalid
   15 |     public static void main( String[] args) {
      |                   ^~~~
a.cc:15:12: error: constructor cannot be static member function
   15 |     public static void main( String[] args) {
      |            ^~~~~~
a.cc:18:2: error: expected ';' after class definition
   18 | }
      |  ^
      |  ;
a.cc: In member function 'void main::run()':
a.cc:10:17: error: 'System' was not declared in this scope
   10 |                 System.out.println( i + "x" + j + "+"  + i*j);
      |                 ^~~~~~
a.cc:10:49: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   10 |                 System.out.println( i + "x" + j + "+"  + i*j);
      |                                     ~~~~~~~~~~~ ^ ~~~
      |                                             |     |
      |                                             |     const char [2]
      |                                             const char*
a.cc: In constructor 'main::main(int*)':
a.cc:16:17: error: no matching function for call to 'main::main()'
   16 |        new main().run();
      |                 ^
a.cc:15:24: note: candidate: 'main::main(int*)'
   15 |     public static void main( String[] args) {
      |                        ^~~~
a.cc:15:24: note:   candidate expects 1 argument, 0 provided
a.cc:5:7: note: candidate: 'constexpr main::main(const main&)'
    5 | class main {
      |       ^~~~
a.cc:5:7: note:   candidate expects 1 argument, 0 provided
a.cc:5:7: note: candidate: 'constexpr main::main(main&&)'
a.cc:5:7: note:   candidate expects 1 argument, 0 provided
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i,j){for(i=1;i<10;i++){for(j=1;j<10;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
      |     ^
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i,j){
      |     ^
Language: C++

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

Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>main(int i,int j){for(i=1;i<10;i++){for(j=1;j<10;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
      |                      ^
a.cc:1:9: fatal error: stdio.h>mai: No such file or directory
    1 | #include<stdio.h>main(int i,int j){for(i=1;i<10;i++){for(j=1;j<10;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main(i){for(i=9;i<90;i++)printf("%dx%d=%d\n",i/9,i%9+1,i/9*(i%9+1));}
      |     ^~~~
a.cc:2:10: error: 'i' was not declared in this scope
    2 | int main(i){for(i=9;i<90;i++)printf("%dx%d=%d\n",i/9,i%9+1,i/9*(i%9+1));}
      |          ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |       ^
Language: C++

#include<stdio>
main(){int i=1,j;for(i;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:9: fatal error: stdio: No such file or directory
    1 | #include<stdio>
      |         ^~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc:1:11: error: expected constructor, destructor, or type conversion before '(' token
    1 | int i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |           ^
Language: C++

main(){printf("%d",1);}

Compiler output:
a.cc:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main(){printf("%d",1);}
      | ^~~~
a.cc: In function 'int main()':
a.cc:1:8: error: 'printf' was not declared in this scope
    1 | main(){printf("%d",1);}
      |        ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | main(){printf("%d",1);}
Language: C++

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

Compiler output:
a.cc:1:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | int i,j;main(){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |         ^~~~
a.cc: In function 'int main()':
a.cc:1:43: error: 'printf' was not declared in this scope
    1 | int i,j;main(){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |                                           ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int i,j;main(){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
Language: C++

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

Compiler output:
a.cc:1:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | int i,j;main(){for(;++i<=9;){for(j=1;j<=9;){printf("%dx%d=%d\n",i,j++,i*j);}}}
      |         ^~~~
a.cc: In function 'int main()':
a.cc:1:45: error: 'printf' was not declared in this scope
    1 | int i,j;main(){for(;++i<=9;){for(j=1;j<=9;){printf("%dx%d=%d\n",i,j++,i*j);}}}
      |                                             ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int i,j;main(){for(;++i<=9;){for(j=1;j<=9;){printf("%dx%d=%d\n",i,j++,i*j);}}}
Language: C++

#include<stdio>
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:1:9: fatal error: stdio: No such file or directory
    1 | #include<stdio>
      |         ^~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:2:87: error: expected '}' at end of input
    2 | int main(){int i,j=1;while(j<=9){for(i=1;i<10;i++){printf("%dx%d=%d\n",j,i,i*j);}j++;}
      |           ~                                                                           ^
Language: C++

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

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int i,j=1;while(j<=9){for(i=1;i<10;i++){printf("%dx%d=%d\n",j,i,i*j);}j++;}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:83: error: expected '}' at end of input
    2 | main(){int i,j=1;while(j<=9){for(i=1;i<10;i++){printf("%dx%d=%d\n",j,i,i*j);}j++;}
      |       ~                                                                           ^
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i,j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |     ^
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i,j){i=j=1;for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |     ^
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i){int j;for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |     ^
Language: C++

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

Compiler output:
a.cc:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main(){int i=0,j;for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      | ^~~~
a.cc: In function 'int main()':
a.cc:1:45: error: 'printf' was not declared in this scope
    1 | main(){int i=0,j;for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |                                             ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | main(){int i=0,j;for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
Language: C++

i;main(j){
  for(;i++<9;)
    for(j=0;j++<9;)
      printf("%dx%d=%d\n",i,j,i*j);
  exit(0);
}

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(j){
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | i;main(j){
      |       ^
Language: C++

main(i){i=8;while(i++<89)printf("%dx%d=%d\n",i/9,i%9+1,i/9*(i%9+1));}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(i){i=8;while(i++<89)printf("%dx%d=%d\n",i/9,i%9+1,i/9*(i%9+1));}
      |     ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'i' does not name a type
    2 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      | ^
a.cc:2:7: error: expected constructor, destructor, or type conversion before '(' token
    2 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);}
      |       ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit(0);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit(0);}
      |       ^
Language: C++

i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit(0);}

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
      |       ^
Language: C++

i;main(j){for(;i!=10;j++){printf("%dx%d=%d\n",i,j,i*j);if(j==9){i++;j=0;}}}

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(j){for(;i!=10;j++){printf("%dx%d=%d\n",i,j,i*j);if(j==9){i++;j=0;}}}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | i;main(j){for(;i!=10;j++){printf("%dx%d=%d\n",i,j,i*j);if(j==9){i++;j=0;}}}
      |       ^
Language: C++

i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
      | ^
a.cc:1:3: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
      |   ^~~~
a.cc: In function 'int main()':
a.cc:1:17: error: 'i' was not declared in this scope
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
      |                 ^
a.cc:1:23: error: 'printf' was not declared in this scope
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
      |                       ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
a.cc:1:58: error: 'exit' was not declared in this scope
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
      |                                                          ^~~~
a.cc:1:1: note: 'exit' is defined in header '<cstdlib>'; this is probably fixable by adding '#include <cstdlib>'
  +++ |+#include <cstdlib>
    1 | i;main(){for(;++i<=9;)printf("%dx%d=%d\n",i,10-i,i*10-i);exit(0);}
Language: C++

i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
      | ^
a.cc:1:3: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
      |   ^~~~
a.cc: In function 'int main()':
a.cc:1:15: error: 'i' was not declared in this scope
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
      |               ^
a.cc:1:25: error: 'printf' was not declared in this scope
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
      |                         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
a.cc:1:60: error: expected '}' at end of input
    1 | i;main(){for(;i<82;i++){printf("%dx%d=%d\n",i/10+1,i/9,i);}
      |         ~                                                  ^
Language: C++

#include <iostream>
using namespace std;

int main(void)
{
for (i=1;i<=9;i++)
{
for (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:6: error: 'i' was not declared in this scope
    6 | for (i=1;i<=9;i++)
      |      ^
a.cc:8:6: error: 'j' was not declared in this scope
    8 | for (j=1;j<=9;j++)
      |      ^
Language: C++

#include <iostream>
s,e;main(){while(e=e%9,s+=++e<2,s<10)std::cout<<s<<'x'<<e<<'='<<s*e<<'\n';}

Compiler output:
a.cc:2:1: error: 's' does not name a type
    2 | s,e;main(){while(e=e%9,s+=++e<2,s<10)std::cout<<s<<'x'<<e<<'='<<s*e<<'\n';}
      | ^
a.cc:2:5: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | s,e;main(){while(e=e%9,s+=++e<2,s<10)std::cout<<s<<'x'<<e<<'='<<s*e<<'\n';}
      |     ^~~~
a.cc: In function 'int main()':
a.cc:2:18: error: 'e' was not declared in this scope
    2 | s,e;main(){while(e=e%9,s+=++e<2,s<10)std::cout<<s<<'x'<<e<<'='<<s*e<<'\n';}
      |                  ^
a.cc:2:24: error: 's' was not declared in this scope
    2 | s,e;main(){while(e=e%9,s+=++e<2,s<10)std::cout<<s<<'x'<<e<<'='<<s*e<<'\n';}
      |                        ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
      | ^
a.cc:1:5: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
      |     ^~~~
a.cc: In function 'int main()':
a.cc:1:20: error: 'i' was not declared in this scope
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
      |                    ^
a.cc:1:29: error: 'j' was not declared in this scope
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
      |                             ^
a.cc:1:38: error: 'printf' was not declared in this scope
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
      |                                      ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | i,j;main(){while(++i<10)for(j=1;j<10;printf("%dx%d=%d\n",i,j,i*j++));}
Language: C++

#include <iostream>
using namespace std;
void main(){
	for(int i =1;i<=9;i++){
		for(int j=1;j<=9;j++){
			cout <<i<<"x"<<j<<"="<<i*j<<"\n";
		}
	}
}

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

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

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

include <iostream>
using namespace std;

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:4: error: 'cout' was not declared in this scope
    7 |    cout << i << "x" << j << "=" << i*j << endl;
      |    ^~~~
a.cc:7:43: error: 'endl' was not declared in this scope
    7 |    cout << i << "x" << j << "=" << i*j << endl;
      |                                           ^~~~
Language: C++

#include <iostream>
using namespace std;

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

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

#include <iostream>
using namespace std;

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

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

#import<algo.h>
main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)cout<<j<<"x"<<k<<"="<<j*k<<endl;}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<algo.h>
      |  ^~~~~~
a.cc:1:8: fatal error: algo.h: No such file or directory
    1 | #import<algo.h>
      |        ^~~~~~~~
compilation terminated.
Language: C++

main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}

Compiler output:
a.cc:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}
      | ^~~~
a.cc: In function 'int main()':
a.cc:1:49: error: 'printf' was not declared in this scope
    1 | main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                                                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}
Language: C++

int main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}

Compiler output:
a.cc: In function 'int main()':
a.cc:1:53: error: 'printf' was not declared in this scope
    1 | int main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                                                     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){for(int i=0,j,k;j=i/9+1,k=i%9+1,81-i;i++)printf("%dx%d=%d\n",j,k,j*k);}
Language: C++

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

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<stdio.h>
      |  ^~~~~~
a.cc:2:1: error: 'i' does not name a type
    2 | i=0,k,j;main(){for(;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      | ^
a.cc:2:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | i=0,k,j;main(){for(;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |         ^~~~
a.cc: In function 'int main()':
a.cc:2:21: error: 'j' was not declared in this scope
    2 | i=0,k,j;main(){for(;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                     ^
a.cc:2:23: error: 'i' was not declared in this scope
    2 | i=0,k,j;main(){for(;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                       ^
a.cc:2:29: error: 'k' was not declared in this scope
    2 | i=0,k,j;main(){for(;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                             ^
Language: C++

int main(){int i,j,k;for(i=0;i<81,j=i/9+1,k=i%9+1;i++)printf("%dx%d=%d\n",j,k,j*k);}

Compiler output:
a.cc: In function 'int main()':
a.cc:1:55: error: 'printf' was not declared in this scope
    1 | int main(){int i,j,k;for(i=0;i<81,j=i/9+1,k=i%9+1;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |                                                       ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){int i,j,k;for(i=0;i<81,j=i/9+1,k=i%9+1;i++)printf("%dx%d=%d\n",j,k,j*k);}
Language: C++

main(i,j,k){for(i=0;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(i,j,k){for(i=0;j=i/9+1,k=i%9+1,i<81;i++)printf("%dx%d=%d\n",j,k,j*k);}
      |     ^
Language: C++

j;main(i){for(;9/i;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);}

Compiler output:
a.cc:1:1: error: 'j' does not name a type
    1 | j;main(i){for(;9/i;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | j;main(i){for(;9/i;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);}
      |       ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:7: error: expected unqualified-id before '=' token
    3 |   int = a, b;
      |       ^
a.cc:4:9: error: 'a' was not declared in this scope
    4 |   for ( a = 1; a<=9 ; a++){
      |         ^
a.cc:5:10: error: 'b' was not declared in this scope
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
a.cc:6:26: error: 'i' was not declared in this scope
    6 |       printf("ixj=%d\n", i*j);
      |                          ^
a.cc:6:28: error: 'j' was not declared in this scope
    6 |       printf("ixj=%d\n", i*j);
      |                            ^
a.cc:8:4: error: expected '}' at end of input
    8 |   }
      |    ^
a.cc:2:12: note: to match this '{'
    2 | int  main(){
      |            ^
Language: C++

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

Compiler output:
a.cc:2:5: error: expected constructor, destructor, or type conversion before '(' token
    2 | main(i,j,k){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |     ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'i' does not name a type
    2 | i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      | ^
a.cc:2:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |       ^~~~
a.cc: In function 'int main()':
a.cc:2:18: error: 'i' was not declared in this scope
    2 | i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |                  ^
a.cc:2:31: error: 'j' was not declared in this scope
    2 | i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |                               ^
a.cc:2:39: error: 'k' was not declared in this scope
    2 | i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |                                       ^
Language: C++

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

Compiler output:
a.cc:1:11: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | int i,j,k;main(){for(;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |           ^~~~
a.cc: In function 'int main()':
a.cc:1:48: error: 'printf' was not declared in this scope
    1 | int i,j,k;main(){for(;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
      |                                                ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int i,j,k;main(){for(;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}
Language: C++

#include<stdio.h>

int main()=0;
return 0;

Compiler output:
a.cc:3:5: error: function 'int main()' is initialized like a variable
    3 | int main()=0;
      |     ^~~~
a.cc:4:1: error: expected unqualified-id before 'return'
    4 | return 0;
      | ^~~~~~
Language: C++

int main(){
abort();
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:1: error: 'abort' was not declared in this scope
    2 | abort();
      | ^~~~~
a.cc:1:1: note: 'abort' is defined in header '<cstdlib>'; this is probably fixable by adding '#include <cstdlib>'
  +++ |+#include <cstdlib>
    1 | int main(){
Language: C++


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

Compiler output:
a.cc:3:5: error: expected constructor, destructor, or type conversion before '(' token
    3 | main(i,j){
      |     ^
Language: C++

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

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return;}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:82: error: return-statement with no value, in function returning 'int' [-fpermissive]
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return;}
      |                                                                                  ^~~~~~
Language: C++

#include<stdio.h>
main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}

Compiler output:
a.cc:2:82: error: extended character 　 is not valid in an identifier
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                  ^
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:82: error: 'return\U000030c4\U000030000' was not declared in this scope
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                  ^~~~~~~~~~~
Language: C++

#include<stdio.h>
int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}

Compiler output:
a.cc:2:86: error: extended character 　 is not valid in an identifier
    2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                      ^
a.cc: In function 'int main()':
a.cc:2:86: error: 'return\U000030c4\U000030000' was not declared in this scope
    2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                      ^~~~~~~~~~~
Language: C++

m;main(n){for(;n<=9;m%=9,m||n++)printf("%dx%d=%d\n",n,m,n*++m);}

Compiler output:
a.cc:1:1: error: 'm' does not name a type
    1 | m;main(n){for(;n<=9;m%=9,m||n++)printf("%dx%d=%d\n",n,m,n*++m);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | m;main(n){for(;n<=9;m%=9,m||n++)printf("%dx%d=%d\n",n,m,n*++m);}
      |       ^
Language: C++

import java.io.*;
class a0000{
	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:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:15: error: expected ':' before 'static'
    3 |         public static void main(String[] args){
      |               ^~~~~~~
      |               :
a.cc:3:33: error: 'String' has not been declared
    3 |         public static void main(String[] args){
      |                                 ^~~~~~
a.cc:3:42: error: expected ',' or '...' before 'args'
    3 |         public static void main(String[] args){
      |                                          ^~~~
a.cc:8:2: error: expected ';' after class definition
    8 | }
      |  ^
      |  ;
a.cc: In static member function 'static void a0000::main(int*)':
a.cc:6:17: error: 'System' was not declared in this scope
    6 |                 System.out.println(i+"x"+j+"="+i*j);
      |                 ^~~~~~
a.cc:6:43: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    6 |                 System.out.println(i+"x"+j+"="+i*j);
      |                                    ~~~~~~~^~~~
      |                                         |  |
      |                                         |  const char [2]
      |                                         const char*
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<<"x"<<j<<"="<<i*j<<endl;
		}
	}
	retrun 0;
}
	

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

main(a,b){for(a=1,b=1;a<=9;(b%=9)||(a++,b++))printf("%dx%d=%d\n",a,b++,a*b);}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(a,b){for(a=1,b=1;a<=9;(b%=9)||(a++,b++))printf("%dx%d=%d\n",a,b++,a*b);}
      |     ^
Language: C++

b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d",a,++b,a*b+a);}

Compiler output:
a.cc:1:1: error: 'b' does not name a type
    1 | b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d",a,++b,a*b+a);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d",a,++b,a*b+a);}
      |       ^
Language: C++

b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d\n",a,++b,a*b+a);}

Compiler output:
a.cc:1:1: error: 'b' does not name a type
    1 | b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d\n",a,++b,a*b+a);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | b;main(a){for(;a<=9;(b%=9)||a++)printf("%dx%d=%d\n",a,++b,a*b+a);}
      |       ^
Language: C++

import java.io.*;

public class Practice  {
	public static void main(String[] args)throws IOException {
		int a,b;
		for(a = 1;a<10;a++){
			for(b = 1;b<10;b++){
				System.out.println(a + "x" + b + "=" + a*b);
			}
		}
	}
}

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

b;main(a){for(;a-10;b%=9||a++)printf("%dx%d=%d\n",a,++b,a*b+b);}

Compiler output:
a.cc:1:1: error: 'b' does not name a type
    1 | b;main(a){for(;a-10;b%=9||a++)printf("%dx%d=%d\n",a,++b,a*b+b);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | b;main(a){for(;a-10;b%=9||a++)printf("%dx%d=%d\n",a,++b,a*b+b);}
      |       ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:45: error: 'exit' was not declared in this scope
    3 |         for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);
      |                                             ^~~~
a.cc:1:1: note: 'exit' is defined in header '<cstdlib>'; this is probably fixable by adding '#include <cstdlib>'
  +++ |+#include <cstdlib>
    1 | int main(void){
a.cc:3:53: error: 'printf' was not declared in this scope
    3 |         for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);
      |                                                     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void){
Language: C++

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

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(i,j){for(i=j=1;(i<=9||(i=(j++)&&1))&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j);}
      |     ^
Language: C++

main(i,j){for(i=j=1;(i<=9||i=j++>0)&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j);exit(0);}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(i,j){for(i=j=1;(i<=9||i=j++>0)&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j);exit(0);}
      |     ^
Language: C++

main(i){for(i=11;i<=99;printf(i++%10?"%dx%d=%d\n":"",i/10,i%10,i%10*(i/10)));exit(0);}

Compiler output:
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
    1 | main(i){for(i=11;i<=99;printf(i++%10?"%dx%d=%d\n":"",i/10,i%10,i%10*(i/10)));exit(0);}
      |     ^
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:31: error: expected ';' before 'j'
    5 |                 for (int j = 0 j <= 9; j++) {
      |                               ^~
      |                               ;
Language: C++

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

Compiler output:
a.cc:1:1: error: 'j' does not name a type
    1 | j;main(i){for(;i<=9;i++){for(j=1;j<=9;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | j;main(i){for(;i<=9;i++){for(j=1;j<=9;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
      |       ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'j' does not name a type
    1 | j;main(i){for(;i<=9;i++){for(j=1;j<=9;j++){printf("%dx%d=%d\n",i,j,i*j);}}exit(0);}
      | ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
    1 | j;main(i){for(;i<=9;i++){for(j=1;j<=9;j++){printf("%dx%d=%d\n",i,j,i*j);}}exit(0);}
      |       ^
Language: C++

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:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'printf' was not declared in this scope
    5 | printf("%dx%d=%d\n", i,j,i*j);
      | ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | main()
Language: C++

#include <iostream>
using namespace std;

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


}
  }
  return 0;
}

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

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

Compiler output:
a.cc:1:26: warning: extra tokens at end of #include directive
    1 | #include <iostream>using namespace std;int main(){    int a,b;
      |                          ^~~~~~~~~
a.cc:1:10: fatal error: iostream>usin: No such file or directory
    1 | #include <iostream>using namespace std;int main(){    int a,b;
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

using namespace std;

int 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: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include <iostream>
#include <cstdio>

using namespace std;

int main()
{
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
printf("%d%s%d=%d\n",i,j,'x',i*j);
}
return 0;
}

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

#include <iostream>
#include <cstdio>

using namespace std;

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

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

#include <stdio.h>
#define N 10;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected primary-expression before ';' token
    6 |         for(i=1;i<N;i++)
      |                    ^
a.cc:6:20: error: expected ')' before ';' token
    6 |         for(i=1;i<N;i++)
      |            ~       ^
a.cc:6:24: error: expected ';' before ')' token
    6 |         for(i=1;i<N;i++)
      |                        ^
      |                        ;
a.cc:7:32: error: expected ';' before ')' token
    7 |                 for(j=1;j<N;j++)
      |                                ^
      |                                ;
Language: C++

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

Compiler output:
a.cc:6:14: warning: missing terminating " character
    6 |       printf("%dx%d=%d
      |              ^
a.cc:6:14: error: missing terminating " character
    6 |       printf("%dx%d=%d
      |              ^~~~~~~~~
a.cc:7:1: warning: missing terminating " character
    7 | ",i+1,j+1,(i+1)*(j+1));
      | ^
a.cc:7:1: error: missing terminating " character
    7 | ",i+1,j+1,(i+1)*(j+1));
      | ^~~~~~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected primary-expression before 'return'
    8 |   return 0;
      |   ^~~~~~
Language: C++

#include<iostream>
int main(){
int a=1,b=1;
int c;
for(int i=0;i<9;i++){
for(int j=0;j<9;j++){
c=a*b;
cout<<a<<"x"<<b<<"="<<c<<endl;
b++;
}
A++;
}
}

Compiler output:
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<<a<<"x"<<b<<"="<<c<<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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout<<a<<"x"<<b<<"="<<c<<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:1: error: 'A' was not declared in this scope
   11 | A++;
      | ^