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

#include<stdio.h>

int main(){


for(

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected primary-expression before 'return'
    8 |     return 0;
      |     ^~~~~~
a.cc:9:1: error: expected primary-expression before '}' token
    9 | }
      | ^
a.cc:8:14: error: expected ';' before '}' token
    8 |     return 0;
      |              ^
      |              ;
    9 | }
      | ~             
a.cc:9:1: error: expected primary-expression before '}' token
    9 | }
      | ^
a.cc:8:14: error: expected ')' before '}' token
    8 |     return 0;
      |              ^
      |              )
    9 | }
      | ~             
a.cc:6:4: note: to match this '('
    6 | for(
      |    ^
a.cc:9:1: error: expected primary-expression before '}' token
    9 | }
      | ^
Language: C++

#include<stdio.h>

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

    return 0;
}

Compiler output:
a.cc:8:32: warning: missing terminating " character
    8 |                         printf("%dx%d=%d,a,b,c);
      |                                ^
a.cc:8:32: error: missing terminating " character
    8 |                         printf("%dx%d=%d,a,b,c);
      |                                ^~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:17: error: expected primary-expression before '}' token
    9 |                 }
      |                 ^
Language: C++

#include<stdio.h>

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

    return 0;
}

Compiler output:
a.cc:8:32: warning: missing terminating " character
    8 |                         printf("%dx%d=%d,a,b,c);
      |                                ^
a.cc:8:32: error: missing terminating " character
    8 |                         printf("%dx%d=%d,a,b,c);
      |                                ^~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:17: error: expected primary-expression before '}' token
    9 |                 }
      |                 ^
Language: C++

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iinclude; did you mean #include?
    1 | #iinclude <iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:8:1: error: 'cout' was not declared in this scope
    8 | cout << i << 'x' << j << '=' << i*j << endl;
      | ^~~~
a.cc:8:40: error: 'endl' was not declared in this scope
    8 | cout << i << 'x' << j << '=' << i*j << endl;
      |                                        ^~~~
Language: C++

#iinclude <iostream>
using namespace std;
int main()
{
for(int i=1;i<=9;i++)
{
for(int j=1;j<=9;i++)
{
cout << i << 'x' << j << '=' << i*j << endl;
}
}
return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iinclude; did you mean #include?
    1 | #iinclude <iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope
    9 | cout << i << 'x' << j << '=' << i*j << endl;
      | ^~~~
a.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #iinclude <iostream>
a.cc:9:40: error: 'endl' was not declared in this scope
    9 | cout << i << 'x' << j << '=' << i*j << endl;
      |                                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #iinclude <iostream>
Language: C++

#iinclude <iostream>
using namespace std;
int main()
{
int i,j;
for(i=1;i<=9;i++)
{
for(j=1;j<=9;i++)
{
cout << i << 'x' << j << '=' << i*j << endl;
}
}
return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iinclude; did you mean #include?
    1 | #iinclude <iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:10:1: error: 'cout' was not declared in this scope
   10 | cout << i << 'x' << j << '=' << i*j << endl;
      | ^~~~
a.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #iinclude <iostream>
a.cc:10:40: error: 'endl' was not declared in this scope
   10 | cout << i << 'x' << j << '=' << i*j << endl;
      |                                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #iinclude <iostream>
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:7:2: error: expected ';' after class definition
    7 | }
      |  ^
      |  ;
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:64: 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++


public 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:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C++

public 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:1:1: error: expected unqualified-id before 'public'
    1 | public class Main {
      | ^~~~~~
Language: C++

#include <iostream>
using namespace std ;

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

return 0

}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: expected ';' before '}' token
   14 | return 0
      |         ^
      |         ;
   15 | 
   16 | }
      | ~
Language: C++

#include<iostream>
using namespace std;

int main(){
	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: In function 'int main()':
a.cc:5:23: error: expected primary-expression before '<' token
    5 |         for(int i=0;i=<9;i++){
      |                       ^
a.cc:6:31: error: expected primary-expression before '<' token
    6 |                 for(int j=0;j=<9;j++){
      |                               ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:45: error: expected primary-expression before ')' token
    7 | cout << i << "x" << j << "=" << i*j << "\n";);
      |                                             ^
Language: C++

public class QQ
{
    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:1:1: error: expected unqualified-id before 'public'
    1 | public class QQ
      | ^~~~~~
Language: C++

#include <iostream>

using namespace std;

int main(){
for(int i=1;i<10;i++){
for(int j=0;j<10;j++){

cout<<i<<'x'<<j<<'='<<i*j<<endl;



}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:6:22: note: to match this '{'
    6 | for(int i=1;i<10;i++){
      |                      ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:2:11: error: expected ':' before 'static'
    2 |     public static void main(String[] args){
      |           ^~~~~~~
      |           :
a.cc:2:29: error: 'String' has not been declared
    2 |     public static void main(String[] args){
      |                             ^~~~~~
a.cc:2:38: error: expected ',' or '...' before 'args'
    2 |     public static void main(String[] args){
      |                                      ^~~~
a.cc:14:2: error: expected ';' after class definition
   14 | }
      |  ^
      |  ;
a.cc: In static member function 'static void q0::main(int*)':
a.cc:6:9: error: 'System' was not declared in this scope
    6 |         System.out.print(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:9:2: error: expected ';' after class definition
    9 | }
      |  ^
      |  ;
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++

public 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:1:1: error: expected unqualified-id before 'public'
    1 | public class Main {
      | ^~~~~~
Language: C++

using System;

namespace acm1000
{
    class Program
    {
        static void Main(string[] args)
        {
            int i, j;
            for (i = 1; i <= 9; i++)
            {
                for (j = 1; j <= 9; j++)
                {
                    Console.Write("{0}*{1}={2} \r\n",i,j,i*j);
                }
            }
            Console.ReadLine();

        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:7:26: error: 'string' has not been declared
    7 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:7:35: error: expected ',' or '...' before 'args'
    7 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:20:6: error: expected ';' after class definition
   20 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void acm1000::Program::Main(int*)':
a.cc:14:21: error: 'Console' was not declared in this scope
   14 |                     Console.Write("{0}*{1}={2} \r\n",i,j,i*j);
      |                     ^~~~~~~
a.cc:17:13: error: 'Console' was not declared in this scope
   17 |             Console.ReadLine();
      |             ^~~~~~~
Language: C++

#include <iostream>
#include <cstdio>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:36: error: expected ';' before 'cout'
   14 |                         ans = i * j
      |                                    ^
      |                                    ;
   15 |                         cout << i << "x" << j << "=" << ans << endl;
      |                         ~~~~        
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include <iostream>
#include <cstdio>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:36: error: expected ';' before 'cout'
   14 |                         ans = i * j
      |                                    ^
      |                                    ;
   15 |                         cout << i << "x" << j << "=" << ans << endl;
      |                         ~~~~
Language: C++

http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/

Compiler output:
a.cc:1:5: error: found ':' in nested-name-specifier, expected '::'
    1 | http://www.cprogramdevelop.com/1099631/
      |     ^
      |     ::
a.cc:1:1: error: 'http' does not name a type
    1 | http://www.cprogramdevelop.com/1099631/
      | ^~~~
Language: C++

include <iostream>

using namespace std;

int main()
{
  for(int x = 1; x <= 9; ++x){
    for(int y = 1; y <= 9; ++y){
      cout << x << "x" << y << "=" << x*y << 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:7: error: 'cout' was not declared in this scope
    9 |       cout << x << "x" << y << "=" << x*y << endl;
      |       ^~~~
a.cc:9:46: error: 'endl' was not declared in this scope
    9 |       cout << x << "x" << y << "=" << x*y << endl;
      |                                              ^~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:15:2: error: 'v' does not name a type
   15 | }v
      |  ^
Language: C++

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

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

class Main{
    public static void main(String[] a){
      for (i=1,i<10,i++){
       for (j=1,j<10,j++){
       System.out.println(i + "×" + 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:9:2: error: expected ';' after class definition
    9 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:3:12: error: 'i' was not declared in this scope
    3 |       for (i=1,i<10,i++){
      |            ^
a.cc:8:5: error: expected primary-expression before '}' token
    8 |     }
      |     ^
a.cc:8:5: error: expected ';' before '}' token
a.cc:8:5: error: expected primary-expression before '}' token
a.cc:8:5: error: expected ')' before '}' token
a.cc:3:11: note: to match this '('
    3 |       for (i=1,i<10,i++){
      |           ^
a.cc:8:5: error: expected primary-expression before '}' token
    8 |     }
      |     ^
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 + "×" + 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:9:2: error: expected ';' after class definition
    9 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:8: error: 'System' was not declared in this scope
    5 |        System.out.println(i + "×" + j + "=" i*j);
      |        ^~~~~~
a.cc:5:39: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    5 |        System.out.println(i + "×" + j + "=" i*j);
      |                           ~~~~~~~~~~~ ^ ~~~
      |                                   |     |
      |                                   |     const char [2]
      |                                   const char*
Language: C++

#include<iostream>

using mamespace 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:3:7: error: expected nested-name-specifier before 'mamespace'
    3 | using mamespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |                         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:8:52: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |                         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++

#include <cstdio.h>
#include <algorithm>

using namespace std;

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

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

#include<iostream>
using namespece std;
int main()
 {
    int i,j;
    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:2:7: error: expected nested-name-specifier before 'namespece'
    2 | using namespece std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |             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:9:38: error: expected primary-expression before '=' token
    9 |             cout << i << "x" << j << = << i*j << endl;
      |                                      ^
a.cc:9:40: error: expected primary-expression before '<<' token
    9 |             cout << i << "x" << j << = << i*j << endl;
      |                                        ^~
a.cc:9:50: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |             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++

#include<iostream>
using namespace std;
int main()
 {
    int i,j;
    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:9:38: error: expected primary-expression before '=' token
    9 |             cout << i << "x" << j << = << i*j << endl;
      |                                      ^
a.cc:9:40: error: expected primary-expression before '<<' token
    9 |             cout << i << "x" << j << = << i*j << endl;
      |                                        ^~
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: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(i + "x" + j + "=" + i*j);
      |                         ^~~~~~
a.cc:5:56: 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: Java

import java.io.*;

public class Main {
	public static void main(String args[]) throws IOException{
		int[] height = new int[10];
		int i,j;
		int temp;
		for(i = 0; i < 10; i++){
			BufferedReader input = 
					new BufferedReader(new InputStreamReader(System.in));
			height[i] = Integer.parseInt(input.readLine());
		}
		
		for(i = 0; i < height.length - 1; i++){
			for(j = height.length - 1; j > i; j--){
				if(height[j] < height[j-1]){
					temp = height[j];
					height[j] = height[j-1];
					height[j-1] = temp;
				}
			}
		}
		for(i = height.length - 1; i > height.length - 4; i--){
			System.out.println(height[i]);
		}
	}
}
import java.io.*;

public class Main {
	public static void main(String args[]) throws IOException{
		int[] height = new int[10];
		int i,j;
		int temp;
		for(i = 0; i < 10; i++){
			BufferedReader input = 
					new BufferedReader(new InputStreamReader(System.in));
			height[i] = Integer.parseInt(input.readLine());
		}
		
		for(i = 0; i < height.length - 1; i++){
			for(j = height.length - 1; j > i; j--){
				if(height[j] < height[j-1]){
					temp = height[j];
					height[j] = height[j-1];
					height[j-1] = temp;
				}
			}
		}
		for(i = height.length - 1; i > height.length - 4; i--){
			System.out.println(height[i]);
		}
	}
}

Compiler output:
Main.java:28: error: class, interface, enum, or record expected
import java.io.*;
^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Integer;
import java.lang.String;
import java.lang.System;

class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        int [] mountains = new int[10];
        int i = 0;
        while (true) {
            String s = r.readLine();
            mountains[i++] = Integer.valueOf(s);
            if(i >= 10) break;
        }

        Arrays.sort(mountains);
        for(i = 9; i < 6; i--) {
            System.out.println(mountains[i]);
        }
    }
}

Compiler output:
Main.java:18: error: cannot find symbol
        Arrays.sort(mountains);
        ^
  symbol:   variable Arrays
  location: class Main
1 error
Language: Java

class Main {
	public static void main(String[] args) throws NumberFormatException, IOException {
		Integer[] input = new Integer[10];
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		for(int i=0; i<10; i++){
			input[i] = Integer.parseInt(br.readLine());
		}
		Arrays.sort(input, Collections.reverseOrder());
		
		for(int i=0; i<3; i++){
			System.out.println(input[i]);
		}
	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws NumberFormatException, IOException {
	                                                                     ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:10: error: cannot find symbol
		Arrays.sort(input, Collections.reverseOrder());
		^
  symbol:   variable Arrays
  location: class Main
Main.java:10: error: cannot find symbol
		Arrays.sort(input, Collections.reverseOrder());
		                   ^
  symbol:   variable Collections
  location: class Main
6 errors
Language: Java

public static void insertSort(int[] arr)
	{
		/*if(arr.length==1)
		{
			return arr;
		}*/
		for(int n=1;n<arr.length;n++)
		{
			for(int i=n;i>0;i--)
			{
				if(arr[i-1]>arr[i])
				{
					int temp=arr[i];
					arr[i]=arr[i-1];
					arr[i-1]=temp;
				}
			}
		}
		for(int j=arr.length-1;j>arr.length-4;j--);
		{
			System.out.println(arr[j]);
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void insertSort(int[] arr)
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

import java.io.*;
import java.util.Arrays;
public class ProgteamA {
    public static void main(String args[])throws IOException
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        System.out.println("Enter length");
        int len = Integer.parseInt(br.readLine());
        int A[] = new int[len];
        
        for(int i =0; i< len; i++)
            A[i] = Integer.parseInt(br.readLine());
        
        Arrays.sort(A);
        
        System.out.println(A[len-1]);
        System.out.println(A[len-2]);
        System.out.println(A[len-3]);
        
        
    }
}

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

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.Scanner;

/**
 *
 * @author sahil
 */

public class main {

    private static Scanner input;
	public static void main(String[] args) {
     
                input = new Scanner(System.in);
		int arr[]=new int[10];
                for(int i=0;i<10;i++)
                {
                    arr[i]=input.nextInt();
                }
                for(int j=0;j<3;j++)
                {
                    for(int k=0;k<10-j-1;k++)
                    {
                        if(arr[k]>arr[k+1])
                        {
                            int temp=arr[k];
                            arr[k]=arr[k+1];
                            arr[k+1]=temp;
                        }
                    }
                }
		
                for(int i=7;i<10;i++)
                {
                    System.out.println(arr[i]);
                }
                
		
		}
		
		
   
    }
    

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

import java.util.Scanner;
import java.util.ArrayList;

public class Main {
   public static void main (String[] args) {
      Scanner input = new Scanner(System.in);
      ArrayList<Integer> t = new ArrayList<Integer>();
      for (int i=0; i<10; i++) t.add(input.nextInt());
      Collections.sort(t);
      for (int i=0; i<3; i++) System.out.println(t.get(i));
}
}

Compiler output:
Main.java:9: error: cannot find symbol
      Collections.sort(t);
      ^
  symbol:   variable Collections
  location: class Main
1 error
Language: Java

public class Main{
	public static void main(String[] args) throws IOException {
		FileReader in = new FileReader("test.txt");
	    BufferedReader br = new BufferedReader(in);
	    ArrayList<Integer> Al = new ArrayList<Integer>();
	    
		// Read in
	    String line = br.readLine();
	    while (line != null) { // You might also want to check for empty?
	        Al.add(Integer.valueOf(line));
	        line = br.readLine();
	    }
	    
		// Quick Sort
	    Collections.sort(Al);
	    
		// Print first 3
	    Integer i = Al.size() - 1;
	    Integer numOfElements = 3;
	    while (i >= Al.size()-numOfElements){
	    	System.out.println(Al.get(i));
	    	i--;
	    }
	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: cannot find symbol
		FileReader in = new FileReader("test.txt");
		^
  symbol:   class FileReader
  location: class Main
Main.java:3: error: cannot find symbol
		FileReader in = new FileReader("test.txt");
		                    ^
  symbol:   class FileReader
  location: class Main
Main.java:4: error: cannot find symbol
	    BufferedReader br = new BufferedReader(in);
	    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
	    BufferedReader br = new BufferedReader(in);
	                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
	    ArrayList<Integer> Al = new ArrayList<Integer>();
	    ^
  symbol:   class ArrayList
  location: class Main
Main.java:5: error: cannot find symbol
	    ArrayList<Integer> Al = new ArrayList<Integer>();
	                                ^
  symbol:   class ArrayList
  location: class Main
Main.java:15: error: cannot find symbol
	    Collections.sort(Al);
	    ^
  symbol:   variable Collections
  location: class Main
8 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;
public class Sort {
	
	public static void main(String args[]){
		Scanner in = new Scanner(System.in);
		int[] mylist = new int[10];
		for(int i = 0; i<10; i++){
			int a = in.nextInt();
			mylist[i] = a;
		}
		Arrays.sort(mylist);
		System.out.println(mylist[9]);
		System.out.println(mylist[8]);
		System.out.println(mylist[7]);
	}	
}

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


import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		
	    ArrayList<Integer> Al = new ArrayList<Integer>();
	    
		// Read in
	    for (Integer i = 0; i < 10; i++){
	    	Scanner user_input = new Scanner( System.in );
	    	Al.add(Integer.valueOf(user_input.toString()));
		}
	    
		// Quick Sort
	    Collections.sort(Al);
	    
		// Print first 3
	    Integer i = Al.size() - 1;
	    Integer numOfElements = 3;
	    while (i >= Al.size()-numOfElements){
	    	System.out(Al.get(i));
	    	i--;
	    }
	}
}

Compiler output:
Main.java:24: error: cannot find symbol
	    	System.out(Al.get(i));
	    	      ^
  symbol:   method out(Integer)
  location: class System
1 error
Language: Java

import java.util.Scanner;
public class TopHills {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		//BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		int[] tops = {0,0,0};
		for (int i = 0;i < 10;i++) {
			int h = scan.nextInt();
			// do nothing if equality
			if (h > tops[0]) {
				tops[2]=tops[1];
				tops[1]=tops[0];
				tops[0] = h;
			} else if (h < tops[0] && h > tops[1]) {
				tops[2]=tops[1];
				tops[1] = h;
			} else if (h < tops[1] && h > tops[2]) {
				tops[2]=h;
			}
		}
		System.out.print(tops[0]);
		System.out.print("\n");
		System.out.print(tops[1]);
		System.out.print("\n");
		System.out.print(tops[2]);
		System.out.print("\n");
	}
}

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

import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class topThree {
	public static void main(String[] args){
		int[] input = new int[10];
		Scanner s = new Scanner(System.in);
		for(int i=0; i<10; i++){
			System.out.println("Please input the "+ (i+1) +"th number(integer)");
			input[i]=s.nextInt();
		}
		
		Arrays.sort(input);
		int i=input.length-1;
		while(i>input.length-4){
			System.out.println(input[i]);
			i--;
		}			
	}
}

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



public class main{
public static void main(String args[]){
	
	int largest=0;
	int largest2=0;
	int largest3=0;
	
	for(int i=0;i<args.length;i++){
		if(Integer.parseInt(args[i])>largest){
			largest3=largest2;
			largest2=largest;
			largest=Integer.parseInt(args[i]);
		}
		i++;
	}
	System.out.println(largest);
	System.out.println(largest2);
	System.out.println(largest3);
}
}

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

public class  Main{
	public static void main(String[] args) throws Exception {
			
			// buffer from input
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));			
			// read by line until the end of file
			String line;
			String thisToken;
			ArrayList<Integer> heightMountain = new ArrayList<Integer>();
			int thisVal;
		
			for(int i = 0; i<10 ; i++){
				// Stringify the line
				line = in.readLine();
				StringTokenizer st = new StringTokenizer(line);
				thisToken = st.nextToken();
				thisVal = Integer.parseInt(thisToken);
				heightMountain.add(thisVal);
				
				Collections.sort(heightMountain);
				
				
			// Output
			}
			for(int i = 9; i>6; i--){
				System.out.println(heightMountain.get(i));
			}

			
		}
}

Compiler output:
Main.java:5: error: cannot find symbol
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));			
			^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));			
			                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));			
			                                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:9: error: cannot find symbol
			ArrayList<Integer> heightMountain = new ArrayList<Integer>();
			^
  symbol:   class ArrayList
  location: class Main
Main.java:9: error: cannot find symbol
			ArrayList<Integer> heightMountain = new ArrayList<Integer>();
			                                        ^
  symbol:   class ArrayList
  location: class Main
Main.java:15: error: cannot find symbol
				StringTokenizer st = new StringTokenizer(line);
				^
  symbol:   class StringTokenizer
  location: class Main
Main.java:15: error: cannot find symbol
				StringTokenizer st = new StringTokenizer(line);
				                         ^
  symbol:   class StringTokenizer
  location: class Main
Main.java:20: error: cannot find symbol
				Collections.sort(heightMountain);
				^
  symbol:   variable Collections
  location: class Main
8 errors
Language: Java

public class Question2 {
	public static void main(String[] args) {
		int[] array = { 1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922 };

		for (int i = 0; i < array.length; i += 1) {
			for (int j = i + 1; j < array.length; j += 1) {
				if (array[i] < array[j]) {
					int temporary = array[i];
					array[i] = array[j];
					array[j] = temporary;
					
				}
			}
		}
		for (int x = 0; x < 3; x += 1) {
			System.out.println(array[x]);
		}
	}
}

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

public class Question2 {
	public static void main(String[] args) {
		int[] array = { 1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592,
				922 };
		for (int i = 0; i < array.length; i += 1) {
			for (int j = i + 1; j < array.length; j += 1) {
				if (array[i] < array[j]) {
					int temporary = array[i];
					array[i] = array[j];
					array[j] = temporary;
				}
			}
		}
		for (int x = 0; x < 3; x += 1) {
			System.out.println(array[x]);
		}
	}
}

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

public class {
	public static void main(String[] args) {
		int[] array = { 1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592,
				922 };
		for (int i = 0; i < array.length; i += 1) {
			for (int j = i + 1; j < array.length; j += 1) {
				if (array[i] < array[j]) {
					int temporary = array[i];
					array[i] = array[j];
					array[j] = temporary;
				}
			}
		}
		for (int x = 0; x < 3; x += 1) {
			System.out.println(array[x]);
		}
	}
}

Compiler output:
Main.java:1: error: <identifier> expected
public class {
            ^
1 error
Language: Java

int[] array = { 256, 3456, 4377, 6472, 4356, 467, 3456, 346, 2345, 589 };
		for (int i = 0; i < array.length; i += 1) {
			for (int j = i + 1; j < array.length; j += 1) {
				if (array[i] < array[j]) {
					int temporary = array[i];
					array[i] = array[j];
					array[j] = temporary;
				}
			}
		}
		for (int x = 0; x < 3; x += 1) {
			System.out.println(array[x]);
		}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int[] array = { 256, 3456, 4377, 6472, 4356, 467, 3456, 346, 2345, 589 };
^
  (use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
		for (int i = 0; i < array.length; i += 1) {
		^
Main.java:2: error: class, interface, enum, or record expected
		for (int i = 0; i < array.length; i += 1) {
		                ^
Main.java:2: error: class, interface, enum, or record expected
		for (int i = 0; i < array.length; i += 1) {
		                                  ^
Main.java:3: error: class, interface, enum, or record expected
			for (int j = i + 1; j < array.length; j += 1) {
			                    ^
Main.java:3: error: class, interface, enum, or record expected
			for (int j = i + 1; j < array.length; j += 1) {
			                                      ^
Main.java:6: error: class, interface, enum, or record expected
					array[i] = array[j];
					^
Main.java:7: error: class, interface, enum, or record expected
					array[j] = temporary;
					^
Main.java:8: error: class, interface, enum, or record expected
				}
				^
Main.java:11: error: class, interface, enum, or record expected
		for (int x = 0; x < 3; x += 1) {
		                ^
Main.java:11: error: class, interface, enum, or record expected
		for (int x = 0; x < 3; x += 1) {
		                       ^
Main.java:13: error: class, interface, enum, or record expected
		}
		^
12 errors
Language: Java

public class Main {
	public static void main(String[] args) {
		int[] input = new int[10];

		Scanner sc = new Scanner(System.in);

		for(int i = 0; i < input.length; i++) {
			System.out.println((i + 1) + "番目の読み込み");
			input[i] = sc.nextInt();
			System.out.println("値：" + input[i]);
		}

		for(int i = 0; i < input.length - 1; i++) {
			for(int j = i + 1; j <= input.length - 1;) {
				if(input[i] < input[j]) {
					int tmp = input[i];
					input[i] = input[j];
					input[j] = tmp;
				}
			}
		}

		for(int i = 0; i < 3; i++) {
			System.out.println(input[i]);
		}
	}
}

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

import java.util.Scanner;
public class Volume1 {
	public static void main(String[] args) {
		int[] takasa;
		takasa = new int[10];
		Scanner n=new Scanner(System.in);
			for (int i = 0; i < 10;i++){
				takasa[i]=n.nextInt();
		}
		int max=0;
		int max2=0;
		int max3=0;
		for (int a = 0; a < 10; a++){
			if (max < takasa[a]){ max=takasa[a];
			}
		}//ループ終了
			for (int b = 0; b < 10; b++){
			 if (max2 < takasa[b] && takasa[b] < max){ max2=takasa[b];
			}
		}//ループ終了
			 for (int c = 0; c < 10; c++){
			 if (max3 < takasa[c] && takasa[c] < max2){ max3=takasa[c];
			}
		}//ループ終了
		System.out.println(max);
		System.out.println(max2);
		System.out.println(max3);
	}	

Compiler output:
Main.java:28: error: reached end of file while parsing
	}	
	 ^
1 error
Language: Java

import java.util.Scanner;
public class Volume1 {
	public static void main(String[] args) {
		int[] takasa;
		takasa = new int[10];
		Scanner n=new Scanner(System.in);
			for (int i = 0; i < 10;i++){
				takasa[i]=n.nextInt();
		}
		int max=0;
		int max2=0;
		int max3=0;
		for (int a = 0; a < 10; a++){
			if (max < takasa[a]){ max=takasa[a];
			}
		}//ループ終了
			for (int b = 0; b < 10; b++){
			 if (max2 < takasa[b] && takasa[b] < max){ max2=takasa[b];
			}
		}//ループ終了
			 for (int c = 0; c < 10; c++){
			 if (max3 < takasa[c] && takasa[c] < max2){ max3=takasa[c];
			}
		}//ループ終了
		System.out.println(max);
		System.out.println(max2);
		System.out.println(max3);
	}	
}

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

import java.io.*;
class hills{
    public static void main(String args[]){
	String buf = "";
	int save;
	int n = 10;
	int data[];
	data = new int[10];
	BufferedReader lineread = new BufferedReader(
new InputStreamReader(System.in));
	for(int i=0;i<10;i++){
	    int a =i+1;
	    System.out.println("第"+a+"の山の高さを入力しなさい");
	    try{
		buf = lineread.readLine();
	    }catch(IOException e){}
	    data[i] = new Integer(buf).intValue();
	}
	for(int i=n-2;i>=0;i--){
	    for(int j=0; j<=i; j++)
		if(data[j]>data[j+1]){
		    save = data[j]; data[j] = data[j+1];data[j+1] = save;
		}
	}
	System.out.println(data[9]);
	System.out.println(data[8]);
	System.out.println(data[7]);
    }
    returun 0;
}

Compiler output:
Main.java:29: error: <identifier> expected
    returun 0;
           ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
    	Scanner scan = new Scanner(System.in);
    	int[] data = new int[3];
    	int tmp;
    	for(int i=0;i<10;i++){
    		tmp=scan.nextInt();
    		for(j=0;j<3;j++){
    			if(data[j]<=tmp){
    				for(int k=2;k>j;k--){
    					data[k]=data[k-1];
    				}
    				data[j]=tmp;
    			}
    		}
    	}
    	for(int i=0;i<3;i++){
    		System.out.println(data[i]);
    	}
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
    	Scanner scan = new Scanner(System.in);
    	^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    	Scanner scan = new Scanner(System.in);
    	                   ^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
    		for(j=0;j<3;j++){
    		    ^
  symbol:   variable j
  location: class Main
Main.java:8: error: cannot find symbol
    		for(j=0;j<3;j++){
    		        ^
  symbol:   variable j
  location: class Main
Main.java:8: error: cannot find symbol
    		for(j=0;j<3;j++){
    		            ^
  symbol:   variable j
  location: class Main
Main.java:9: error: cannot find symbol
    			if(data[j]<=tmp){
    			        ^
  symbol:   variable j
  location: class Main
Main.java:10: error: cannot find symbol
    				for(int k=2;k>j;k--){
    				              ^
  symbol:   variable j
  location: class Main
Main.java:13: error: cannot find symbol
    				data[j]=tmp;
    				     ^
  symbol:   variable j
  location: class Main
8 errors