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

import java.util.Scanner;

/**
 * @author kawakami
 *
 */
public class dataset {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
	       
        int x;
        int y;

       
           
           x = as.nextInt();
           y = as.nextInt();
           
           if(x<y){
               System.out.println(x+" "+y);

              }
            else{
               System.out.println(y+" "+x);

              } 
           
           
           

        while(true){
           
           if(x==0 && y==0){
                 break;
    }
           x = as.nextInt();
           y = as.nextInt();
           
           
           if(x<y){
              System.out.println(x+" "+y);

             }
           else{
              System.out.println(y+" "+x);

             } 
       }

	}

}

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

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

public class Test11 {

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

		ArrayList<String> lines = new ArrayList<String>();

		String string = "";
		int cn = 0;
		while (true) {
			string = sc.nextLine();
			lines.add(string);
			cn++;
			if (string.equals("0 0")) {
				break;
			}
		}
		
		String[] kari1 = new String[2];

		for (int i = 0; i < cn; i++) {
			kari1 = lines.get(i).split(" ");
			int[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};
			Arrays.sort(kari2);
			if (kari2[0] == 0 && kari2[1] == 0) {
				break;
			} else {
				System.out.print(kari2[0]);
				System.out.print(" ");
				System.out.println(kari2[1]);
			}
		}
	}
}

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

class Main{
 public static void main(String[] args){
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
  
  while(1){
   int x=scan.nextInt();
   int y=scan.nextInt();

   if(x==0 && y==0){break;}

   int z;
   if(x>y){z=x;x=y;y=z;}

   System.out.println(x+" "+y);
  }
 }
}

Compiler output:
Main.java:3: error: cannot find symbol
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
  ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: incompatible types: int cannot be converted to boolean
  while(1){
        ^
3 errors
Language: Java

import jaca.util.*;

class Main{
 public static void main(String[] args){
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
  
  while(1){
   int x=scan.nextInt();
   int y=scan.nextInt();

   if(x==0 && y==0){break;}

   int z;
   if(x>y){z=x;x=y;y=z;}

   System.out.println(x+" "+y);
  }
 }
}

Compiler output:
Main.java:1: error: package jaca.util does not exist
import jaca.util.*;
^
Main.java:5: error: cannot find symbol
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
  ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: incompatible types: int cannot be converted to boolean
  while(1){
        ^
4 errors
Language: Java

import java.util.*;

class Main{
 public static void main(String[] args){
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
  
  while(1){
   int x=scan.nextInt();
   int y=scan.nextInt();

   if(x==0 && y==0){break;}

   int z;
   if(x>y){z=x;x=y;y=z;}

   System.out.println(x+" "+y);
  }
 }
}

Compiler output:
Main.java:5: error: cannot find symbol
  Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n");
                                       ^
  symbol:   method useDelimitter(String)
  location: class Scanner
Main.java:7: error: incompatible types: int cannot be converted to boolean
  while(1){
        ^
2 errors
Language: Java

import java.util.*;

class Main{
 public static void main(String[] args){
  Scanner scan = new Scanner(System.in).useDelimiter("\\s\\*n");
  
  while(1){
   int x=scan.nextInt();
   int y=scan.nextInt();

   if(x==0 && y==0){break;}

   int z;
   if(x>y){z=x;x=y;y=z;}

   System.out.println(x+" "+y);
  }
 }
}

Compiler output:
Main.java:7: error: incompatible types: int cannot be converted to boolean
  while(1){
        ^
1 error
Language: Java

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

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

    for(int i = 1;i <= 10000;i++){
        if(x == 0){
        break;
        }else {
        System.out.println("case" + " " + i + " " + x);
        }
    }
}
}

Compiler output:
Main.java:6: error: cannot find symbol
    Scanner scan = new Scanner(system.in);
                               ^
  symbol:   variable system
  location: class Main
Main.java:9: error: cannot find symbol
        if(x == 0){
           ^
  symbol:   variable x
  location: class Main
Main.java:12: error: cannot find symbol
        System.out.println("case" + " " + i + " " + x);
                                                    ^
  symbol:   variable x
  location: class Main
3 errors
Language: Java

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

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

    int x = scan.nextInt();

    for(int i = 1;i <= 10000;i++){
        if(x == 0){
        break;
        }else {
        System.out.println("case" + " " + i + ":" + " " + x);
        }
    }
}
}

Compiler output:
Main.java:6: error: cannot find symbol
    Scanner scan = new Scanner(system.in);
                               ^
  symbol:   variable system
  location: class Main
1 error
Language: Java

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

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

    for(int i = 1;i <= 10000;i++){
        
        if(x == 0){
            break;
        }else {
        System.out.println("case" + " " + i + ":" + " " + x);
        }
    }
}
}

Compiler output:
Main.java:10: error: cannot find symbol
        if(x == 0){
           ^
  symbol:   variable x
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println("case" + " " + i + ":" + " " + x);
                                                          ^
  symbol:   variable x
  location: class Main
2 errors
Language: Java

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

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

        for(int i = 1;;i++){
        
        int x = scan.nextInt();
            if(x == 0){
                break;
            }
            System.out.println("case " + i + ":" + " " + x);
            }
        }
    }
}

Compiler output:
Main.java:18: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

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

public class case {
    public static void main(String[] args){

        for(int i = 1;i <= 10000;i++){
        Scanner scan = new Scanner(System.in);
        int x = scan.nextInt();
            if(x == 0){
                break;
            }
        System.out.println("case " + i + ": " + x);
        }
    }
}

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

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

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

        for(int i = 1;i <= 10000;i++){

        int x = scan.nextInt();
            if(x == 0){
                break;
            }
        System.out.println("case " + i + ": " + x);
        }
    }
}

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

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

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

        for(int i = 1;i <= 10000;i++){

        int x = scan.nextInt();
            if(x == 0){
                break;
            }
        System.out.println("Case " + i + ": " + x);
        }
    }
}

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

import java.util.Scanner;

class C1_3{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x,y;
    while(true){
      x = sc.nextInt();
      y = sc.nextInt();
      if(x == 0 && y == 0){
        break;
      }
      if(x < y){}
        System.out.println(x + " " + y);
      }
      else{
        System.out.println(y + " " + x);
      }
    }
  }
}

Compiler output:
Main.java:16: error: 'else' without 'if'
      else{
      ^
Main.java:21: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

public class main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int x;
		int y;
		int i;
		int t = 0;
		
		do{
		x = scan.nextInt();
		y = scan.nextInt();
		if(0<=x && x<=10000 && 0<=y && y<=10000){
			if(x == 0 && y == 0){
				break;
			}
			if(x<=y){
			System.out.println(x+" "+y);
			}else if(x>y){
				i = x;
				x = y;
				y = i;
				System.out.println(x+" "+y);
			}
		}
		t += 1;
		

	}while(t < 3000);
}

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

import java.io.*;
import java.util.*;
public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
        int x,y,tmp;
        while(true){
        String str=buf.readLine();
        String[] yuu=str.split(" ");
        
        x=Integer.parseInt(yuu[0]);
        y=Integer.parseInt(yuu[1]);
        
        if(x==0 && y==0){
            break;
        }else if(x>y){
            tmp=x;
            x=y;
            y=tmp;
            }
        sb.append(x).append(" ").append(y).append(\n);
        }
        System.out.print(sb);
    }
}

Compiler output:
Main.java:22: error: illegal character: '\'
        sb.append(x).append(" ").append(y).append(\n);
                                                  ^
Main.java:22: error: not a statement
        sb.append(x).append(" ").append(y).append(\n);
                                                   ^
Main.java:22: error: ';' expected
        sb.append(x).append(" ").append(y).append(\n);
                                                    ^
3 errors
Language: Java

import com.sun.xml.internal.fastinfoset.algorithm.IntEncodingAlgorithm;

import javax.xml.bind.Element;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

/**
 * Created 2017/06/01.
 */
public class Main {
  public static void main(String[] args) {
    //??\?????¨?????????
    Scanner sc = new Scanner(System.in);
    ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();
    while (true) {
      ArrayList<Integer> ary = new ArrayList<>();
      int input1 = Integer.parseInt(sc.next());
      int input2 = Integer.parseInt(sc.next());
      ary.add(input1);
      ary.add(input2);
      Collections.sort(ary);    //??????????????§?????????????????????????´???´????????????
      ary_ans.add(ary);
      if (input1 == 0 && input2 == 0) break;
    }
    //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????

    //????????¨???????????????????°?????°???????
    for (int i = 0; i < ary_ans.size() - 1; i++) {
      for (int j = 0; j < ary_ans.get(i).size(); j++) {
        System.out.println(ary_ans.get(i).get(j) + " " + ary_ans.get(i).get(j + 1));
        if (j == ary_ans.get(i).size()) ;
        break;
      }
    }
  }
}

Compiler output:
Main.java:1: error: package com.sun.xml.internal.fastinfoset.algorithm does not exist
import com.sun.xml.internal.fastinfoset.algorithm.IntEncodingAlgorithm;
                                                 ^
Main.java:3: error: package javax.xml.bind does not exist
import javax.xml.bind.Element;
                     ^
2 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x;
		int y;
		while ((x=sc.nextInt())!=0&(y=sc.nextInt())!=0){
			if (x<y){
				System.out.println(x+" "+y);
			} else {
				System.out.println(y+" "+x);
			} else {
				
			}
		}
	}
}

Compiler output:
Main.java:12: error: 'else' without 'if'
			} else {
			  ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) throws Exceptions{
		Scanner sc = new Scanner(System.in);
		int x;
		int y;
		StringBuilder sb = new StringBuilder();
		while ((x=sc.nextInt())!=0&&(y=sc.nextInt())!=0){
			if (x<y){
				sb.append(x+" "+y+"\n");
			} else {
				sb.append(y+" "+x+"\n");
			}
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String[] args) throws Exceptions{
	                                              ^
  symbol:   class Exceptions
  location: class Main
1 error
Language: Java

import java.util.*;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exceptions{
		Scanner sc = new Scanner(System.in);
		int x;
		int y;
		StringBuilder sb = new StringBuilder();
		while ((x=sc.nextInt())!=0&&(y=sc.nextInt())!=0){
			if (x<y){
				sb.append(x+" "+y+"\n");
			} else {
				sb.append(y+" "+x+"\n");
			}
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
	public static void main(String[] args) throws Exceptions{
	                                              ^
  symbol:   class Exceptions
  location: class Main
1 error
Language: Java

import java.util.*;
import java.lang.*;
public class Main {
	public static void main(String[] args) throws Exceptions{
		Scanner sc = new Scanner(System.in);
		int x;
		int y;
		StringBuilder sb = new StringBuilder();
		while ((x=sc.nextInt())!=0&&(y=sc.nextInt())!=0){
			if (x<y){
				sb.append(x+" "+y+"\n");
			} else {
				sb.append(y+" "+x+"\n");
			}
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
	public static void main(String[] args) throws Exceptions{
	                                              ^
  symbol:   class Exceptions
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		
		Scanner sc = new Scanner(System.in);
		int x=Integer.parseIntln(sc.next());
		int y=Integer.parseIntln(sc.next());
		while(x!=0 || y!=0){
			if(x<y) System.out.print(x+" "+y);
			else System.out.print(y+" "+x);
			x=Integer.parseInt(sc.next());
			y=Integer.parseInt(sc.next());
		}

	}

}

Compiler output:
Main.java:9: error: cannot find symbol
		int x=Integer.parseIntln(sc.next());
		             ^
  symbol:   method parseIntln(String)
  location: class Integer
Main.java:10: error: cannot find symbol
		int y=Integer.parseIntln(sc.next());
		             ^
  symbol:   method parseIntln(String)
  location: class Integer
2 errors
Language: Java

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in)
        while(true) {
            int a = scan.nextInt();
            int b = scan.nextInt();
            if (a==0 && b==0) break;
            System.out.println(b+" "+a);
         }
    }
}

Compiler output:
Main.java:5: error: ';' expected
        Scanner scan = new Scanner(System.in)
                                             ^
1 error
Language: Java

import java.util.Scanner;

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

		//??°?????????
		while(true){
			//x???????????????
			int x = sc.nextInt();
			//y???????????????
			int y = sc.nextInt();

			//??????????????°??????0?????´???
			if(x == 0 && y == 0){
				break;
			}
			//????????????????°??????????????????????
			if(x < y){
				System.out.println(y + " " + x);
			}else if(x == y){
				System.out.println(x + " " + y);
			}else if(y < x){
				System.out.println(x + " " + y);
			}
		}
	}
}

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


import java.util.Scanner;

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

		//??°?????????
		while(true){
			//x???????????????
			int x = sc.nextInt();
			//y???????????????
			int y = sc.nextInt();


			//????????????????°??????????????????????
			if(x < y){
				System.out.println(y + " " + x);
			}else if(x == y){
				System.out.println(x + " " + y);
			}else if(y < x){
				System.out.println(x + " " + y);
			}
			//??????????????°??????0?????´???
			if(x == 0 && y == 0){
				break;
			}
		}
	}

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


import java.util.Scanner;

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

		//??°?????????
		while(true){
			//x???????????????
			int x = sc.nextInt();
			//y???????????????
			int y = sc.nextInt();

			//????????????????°??????????????????????
			if(x < y){
				System.out.println(y + " " + x);
			}else if(x == y){
				System.out.println(x + " " + y);
			}else if(y < x){
				System.out.println(x + " " + y);
			}
			//??????????????°??????0?????´???
			if(x == 0 && y == 0){
				break;
			}

		}
	}

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

import java.util.Scanner;

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

		//??°?????????
		while(true){
			//x???????????????
			int x = sc.nextInt();
			//y???????????????
			int y = sc.nextInt();
			//??????????????°??????0?????´???
			if(x == 0 && y == 0){
				break;
			}
			//????????????????°??????????????????????
			if(x < y){
				System.out.println(y + " " + x);
			}else if(x == y){
				System.out.println(x + " " + y);
			}else if(y < x){
				System.out.println(x + " " + y);
			}
		}
	}
}

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

import java.io.*; 
class Main {
public static void main(String[] args) throws IOException{
InputStreamReader br = new InputStreamReader(System.in));
int i=0;
int x;
while((x=Integer.parseInt(br.readLine())) != 0){
i++;
System.out.println("Case " +i+ ": " + x);
}
br.close();
}
}

Compiler output:
Main.java:4: error: ';' expected
InputStreamReader br = new InputStreamReader(System.in));
                                                       ^
1 error
Language: Java

import java.io.*; 
class Main {
public static void main(String[] args) throws IOException{
InputStreamReader br = new InputStreamReader(System.in);
int i=0;
int x;
while((x=Integer.parseInt(br.readLine())) != 0){
i++;
System.out.println("Case " +i+ ": " + x);
}
br.close();
}
}

Compiler output:
Main.java:7: error: cannot find symbol
while((x=Integer.parseInt(br.readLine())) != 0){
                            ^
  symbol:   method readLine()
  location: variable br of type InputStreamReader
1 error
Language: Java

import java.io.*; 
class Main {
public static void main(String[] args) throws IOException{
InputStreamReader br = new InputStreamReader(System.in);
int i=0;
int x;
while(x=br.read() != 0){
i++;
System.out.println("Case " +i+ ": " + x);
}
br.close();
}
}

Compiler output:
Main.java:7: error: incompatible types: boolean cannot be converted to int
while(x=br.read() != 0){
                  ^
Main.java:7: error: incompatible types: int cannot be converted to boolean
while(x=br.read() != 0){
       ^
2 errors
Language: Java

import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x,y;
while(readStrToInt(br, x, y)){
}
br.close();
}
static boolean readStrToInt(BufferedReader br, int x, int y)throws IOException{
String str=br.readLine();
String[] arr=str.split(" ");
x=Integer.parseInt(arr[0]);
y=Integer.parseInt(arr[1]);
if(x==0 &&y==0) return false;
swapNum(x, y);
return true;
}
static void swapNum(int x, int y){
int tmp;
if(x<=y) return;
tmp=x;
x=y;
y=tmp;
System.out.println(x+" "+y);
return;
}
}

Compiler output:
Main.java:6: error: variable x might not have been initialized
while(readStrToInt(br, x, y)){
                       ^
Main.java:6: error: variable y might not have been initialized
while(readStrToInt(br, x, y)){
                          ^
2 errors
Language: Java

import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
while(readStrToInt(br)){
}
br.close();
}
static boolean readStrToInt(BufferedReader br)throws IOException{
String str=br.readLine();
String[] arr=str.split(" ");
int x=Integer.parseInt(arr[0]);
int y=Integer.parseInt(arr[1]);
if(x==0 &&y==0) return false;
swapNum(x, y);
return true;
}
static void swapNum(int x, int y){
if(x<=y) System.out.println(x+" "+y);
System.out.println(y+" "+x);
return
}
}

Compiler output:
Main.java:22: error: illegal start of expression
}
^
1 error
Language: Java

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

			int i = sc.nextInt();
			int j = sc.nextInt();
			if (i == 0 && j == 0) {
				break;
			}
			System.out.printf("%d %d\n", Math.min(i, j), Math.max(i, j));
		}
		sc.close();
	}
}

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
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int x,y,w;
		int i=0;
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			x=scan.nextInt();
			y=scan.nextInt();
			if(x==0&&y==0)
				break;
			if(x>y)
			{
				w=x;
				x=b;
				y=w;
			}
			System.out.println(x+" "+y);
			
		}
		
	}


	}

Compiler output:
Main.java:19: error: cannot find symbol
				x=b;
				  ^
  symbol:   variable b
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] x = new int[3000];
		int[] y = new int[3000] ;
		for (int i = 0; i<x.length ; i++) {
			
			x[i] = sc.nextInt();
			y[i] = sc.nextInt();
			if(x[i] == 0 & y[i] == 0) break;
		}
		
		for (int i = 0; i<x.length ; i++) {
			if(x[i] == 0 & y[i] == 0) {
				break;
			}else {
			   if(x[i] > y[i]) {
				System.out.println(y[i] + " " + x[i]);
			   }
			   if(x[i] < y[i]) {
				System.out.println(x[i] + " " + y[i]);
			   }
			   if(x[i] == y[i]) {
				System.out.println(x[i] + " " + x[i]);
			   }
		    }
		}
		

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

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

public class Main {x
	public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
        for(int i=0;;i++){
        	String items[]=reader.readLine().split(" ");
        	int num1=Integer.parseInt(items[0]);
        	int num2=Integer.parseInt(items[1]);
            if(num1==0 && num2==0){
            	break;
            }
        	if(num1<num2){
            	sb.append(Integer.toString(num1) + " " + Integer.toString(num2) + "\n");
        	}else{
            	sb.append(Integer.toString(num2) + " " + Integer.toString(num1) + "\n");
        	}
        }
        System.out.println(sb);
	}
}

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

import java.util.Scanner;

public class Main {
	public static void main(String args[] ){
		try{
			Scanner sc = new Scanner(System.in);
			int a = sc.nextInt();
			int b = sc.nextInt();
			if (a == b && a == 0 ){
				break;
			}else if(a>b){
				System.out.println(b + " " + a);
			}else{
				System.out.println(a + " " + b);
			}
		}catch(NumberFormatException e){
			System.out.println("write number");
		}
	}
}

Compiler output:
Main.java:10: error: break outside switch or loop
				break;
				^
1 error
Language: Java

import java.util.*;

public class SwappingTwoNumbers{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		ArrayList<String> result = new ArrayList<String>();

		while(sc.hasNextLine()){
			int a = sc.nextInt();
			int b = sc.nextInt();

			if(a == 0 && b == 0){
				break;
			}

			if(a > b){
				int tmp = a;
				a = b;
				b = tmp;
			}	

			result.add(a + " " + b);
		}

		for(int i = 0; i < result.size(); i++){
			System.out.println(result.get(i));
		}
	}
}

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


import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		int rows = 3000;
		int columns = 2;
		int count = 0;
		Scanner s = new Scanner(System.in);
		int[][] sort = new int[rows][columns];
		int temp;

		for (int i = 0; i < 3000; i++) {
			sort[i][0] = s.nextInt();
			sort[i][1] = s.nextInt();
			if (sort[i][0] >= 0 && sort[i][1] >= 0 && sort[i][0] <= 10000 && sort[i][1] <= 10000) {
				if (sort[i][0] > sort[i][1]) {
					temp = sort[i][0];
					sort[i][0] = sort[i][1];
					sort[i][1] = temp;
				}
				if (sort[i][0] == 0 && sort[i][1] == 0) {
					count = i;
					break;
				}

			}
		}

		for (int a = 0; a < count; a++) {
			System.out.println(sort[a][0] + " " +sort[a][1]);
		}
	}
}
}

Compiler output:
Main.java:35: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		int rows = 3000;
		int columns = 2;
		int count = 0;
		Scanner s = new Scanner(System.in);
		int[][] sort = new int[rows][columns];
		int temp;

		for (int i = 0; i < 3000; i++) {
			sort[i][0] = s.nextInt();
			sort[i][1] = s.nextInt();
			if (sort[i][0] >= 0 && sort[i][1] >= 0 && sort[i][0] <= 10000 && sort[i][1] <= 10000) {
				if (sort[i][0] > sort[i][1]) {
					temp = sort[i][0];
					sort[i][0] = sort[i][1];
					sort[i][1] = temp;
				}
				if (sort[i][0] == 0 && sort[i][1] == 0) {
					count = i;
					break;
				}

			}
		}

		for (int a = 0; a < count; a++) {
			System.out.println(sort[a][0] + " " +sort[a][1]);
		}
	}
}
}

Compiler output:
Main.java:34: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.Scanner;

public class Swapping {

	public static void main(String[] args) {
		int[][] num = new int[3000][2];
		int temp;
		int count = 0;
		
		Scanner scanner = new Scanner(System.in);
		for(int i = 0; i < 3000; i++) {
			num[i][0] = scanner.nextInt();
			num[i][1] = scanner.nextInt();

			if(num[i][0] >= 0 && num[i][0]<=10000 && num[i][1] >= 0 && num[i][1]<=10000) {
				if(num[i][0] > num[i][1]) {
					temp = num[i][0];
					num[i][0] = num[i][1];
					num[i][1] = temp;
				}
			}
			if(num[i][0] == 0 && num[i][1] == 0) {
				count = i;
				break;
			}
		}
		for(int j = 0; j < count; j++) {
			System.out.println(num[j][0] + " " + num[j][1]);
		}
	}

}

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

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

public class Main3C {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());

		while (x == 0 && y == 0) {

			if (x >= y) {

				System.out.println(x + " " + y);
				x = Integer.parseInt(st.nextToken());
				y = Integer.parseInt(st.nextToken());

			} else if (x <= y) {

				System.out.println(y + " " + x);
				x = Integer.parseInt(st.nextToken());
				y = Integer.parseInt(st.nextToken());

			}

		}
	}

}

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

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

public class Main3C {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		StringTokenizer st = new StringTokenizer(str, " ");
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());

		while (x != 0 && y != 0) {

			if (x <= y) {

				System.out.println(x + " " + y);
				str = br.readLine();
				st = new StringTokenizer(str, " ");
				x = Integer.parseInt(st.nextToken());
				y = Integer.parseInt(st.nextToken());

			} else if (x >= y) {

				System.out.println(y + " " + x);
				str = br.readLine();
				st = new StringTokenizer(str, " ");
				x = Integer.parseInt(st.nextToken());
				y = Integer.parseInt(st.nextToken());

			}

		}
	}

}

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

import java.util.Scanner;

class Main{
public static void main(String[]args){
Scanner scan =new Scanner(System.in);
int a[]=new int[100001];
int b[]=new int[100001];
int x=0;
do{
a[x]=scan.nextInt();
b[x]=scan.nextInt();
if(a[x]==0&&b[x]==0)break;
x++;
}while(true);
x=0;
do{
if(a[x]==0&&b[x]==0)break;
if(a[x]>b[x])
System.out.println(b[x]+" "+a[x])
else
System.out.println(a[x]+" "+b[x])
x++;
}while(true);
}
}

Compiler output:
Main.java:19: error: ';' expected
System.out.println(b[x]+" "+a[x])
                                 ^
Main.java:21: error: ';' expected
System.out.println(a[x]+" "+b[x])
                                 ^
2 errors
Language: Java

mport javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JButton;
import javax.swing.JScrollPane;
import java.awt.Container;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Color;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.text.BadLocationException;
import java.io.*;
import java.util.*;

public class Main{
    public static void main(String[] args)throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        ArrayList<Integer> numarray = new ArrayList<Integer>();
        String num = br.readLine();
        
        while(num != null){
            String[] temp = num.split("\\s");
            for(int i = 0;i<temp.length;i++){
                int temp2 = Integer.parseInt(temp[i]);
                numarray.add(temp2);
                //System.out.println(temp2);
            }
        num = br.readLine();
        }
        br.close();

        if(numarray.isEmpty() == false){
           
               for(int i = 0; i < numarray.size(); i+=2){
               int num1 = numarray.get(i);
               int i2 = i+1;
               int num2 = numarray.get(i2);
               if(num1 == 0 && num2 ==0){
                   break;
               }
               else if(num1 < num2){
                   String Ans1 = num1 + " "  + num2;
                   System.out.println(Ans1);
               }else{
                   String Ans2 = num2 + " " + num1;
                   System.out.println(Ans2);
               }
           }
        }
        
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport javax.swing.JFrame;
^
Main.java:2: error: class, interface, enum, or record expected
import javax.swing.JPanel;
^
Main.java:3: error: class, interface, enum, or record expected
import javax.swing.JTextArea;
^
Main.java:4: error: class, interface, enum, or record expected
import javax.swing.JButton;
^
Main.java:5: error: class, interface, enum, or record expected
import javax.swing.JScrollPane;
^
Main.java:6: error: class, interface, enum, or record expected
import java.awt.Container;
^
Main.java:7: error: class, interface, enum, or record expected
import java.awt.BorderLayout;
^
Main.java:8: error: class, interface, enum, or record expected
import java.awt.Dimension;
^
Main.java:9: error: class, interface, enum, or record expected
import java.awt.Color;
^
Main.java:10: error: class, interface, enum, or record expected
import java.awt.event.ActionListener;
^
Main.java:11: error: class, interface, enum, or record expected
import java.awt.event.ActionEvent;
^
Main.java:12: error: class, interface, enum, or record expected
import javax.swing.text.BadLocationException;
^
Main.java:13: error: class, interface, enum, or record expected
import java.io.*;
^
Main.java:14: error: class, interface, enum, or record expected
import java.util.*;
^
14 errors
Language: Java

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		Scanner sc =new Scanner (System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		
		if(a<b)
			System.out.println(a+" "+ b);
		else
			System.out.println(b+" "+ a);
		
	}

}


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

import java.util.Scanner;
public class main {
	public static void main(String[] args) {
		Scanner sc =new Scanner (System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		
		if(a<b)
			System.out.println(a+" "+ b);
		else
			System.out.println(b+" "+ a);
	}
}


Compiler output:
Main.java:2: 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;
public class main {
	public static void main(String[] args) {
		Scanner sc =new Scanner (System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		
		if(a<b)
			System.out.println(a+" "+ b);
		else
			System.out.println(b+" "+ a);
	}
}



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

import java.util.Scanner;

public class Main{

public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int p = 9;
int q = 0;
int counter = 1;
while (p != 0) {
p = scan.nextInt();
q = scan.nextInt();
if (p != 0) {
if (p > q) {
System.out.println(p + " " + q);
}
} else {
System.out.println(q + " " + p);
}
}
counter++;
} 

}
}



Compiler output:
Main.java:25: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.Scanner;

public class Main{

public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int p = 9;
int q = 5;
while (p != 0 || q != 0) {
p = scan.nextInt();
q = scan.nextInt();
if (p == q && p = 0) {
break;
}
if (p > q) {
System.out.println(q + " " + p);
} else {
System.out.println(p + " " + q);
}

} 

}
}



Compiler output:
Main.java:12: error: bad operand types for binary operator '&&'
if (p == q && p = 0) {
           ^
  first type:  boolean
  second type: int
1 error
Language: Java

import java.util.Scanner;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:8: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:9: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:9: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:10: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Array;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:9: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:10: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Array;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:9: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:10: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:9: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:10: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int num[] = new int[2];
			int num[0] = in.nextInt();
			int num[1] = in.nextInt();
			Array.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:9: error: ']' expected
			int num[0] = in.nextInt();
			        ^
Main.java:10: error: ']' expected
			int num[1] = in.nextInt();
			        ^
2 errors
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int num[] = new int[2];
			num[0] = in.nextInt();
			num[1] = in.nextInt();
			Array.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:11: error: cannot find symbol
			Array.Sort(num);
			^
  symbol:   variable Array
  location: class Main
1 error
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int num[] = new int[2];
			num[0] = in.nextInt();
			num[1] = in.nextInt();
			Arrays.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:11: error: cannot find symbol
			Arrays.Sort(num);
			      ^
  symbol:   method Sort(int[])
  location: class Arrays
1 error
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
		while(true){
			
			int[] num = new int[2];
			num[0] = in.nextInt();
			num[1] = in.nextInt();
			Arrays.Sort(num);
			if(num[0] == 0 && num[1] == 0){
				break;
			}
			System.out.println(num[0] + " " + num[1]);
		}
	}
}


Compiler output:
Main.java:11: error: cannot find symbol
			Arrays.Sort(num);
			      ^
  symbol:   method Sort(int[])
  location: class Arrays
1 error
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x;
        int y;
        while ((x = sc.nextInt()) != 0 || (y = sc.nextInt()) != 0) {
            if (x > y) {
                System.out.println(y + " " + x);
            } else {
                System.out.println(x + " " + y);
            }
        }
    }
}


Compiler output:
Main.java:9: error: variable y might not have been initialized
            if (x > y) {
                    ^
1 error
Language: Java

public class Main {
	 public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
	        int x  = 0;
	        int y=0;
	        while(true) {
	            x = sc.nextInt();
	            y = sc.nextInt();
	            
	            if(x == 0 || y==0) break;
	            if(x>y) {
	            	System.out.println(y+" "+ x);
	            }
	            else
	            	System.out.println(x +" "+y);
	        }
	    }
	}


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

import java.util.Scanner;

class main{
public static void main(String[] args){

Scanner inp = new Scanner(System.in);
int x, y;
int batas = 0;

while (batas<=3000){
int x = inp.nextInt();
int y = inp.nextInt();

if ((x<=10000)&&(y<=100000)){
if (x>y)
System.out.println(y+" "+x);
else
System.out.println(x+" "+y);

}

}

}
}


Compiler output:
Main.java:11: error: variable x is already defined in method main(String[])
int x = inp.nextInt();
    ^
Main.java:12: error: variable y is already defined in method main(String[])
int y = inp.nextInt();
    ^
2 errors
Language: Java

import java.util.ArrayList;
import java.util.Scanner;
class main{
public static void main(String[] args){
ArrayList array = new ArrayList();
Scanner inp = new Scanner(System.in);
int x = -1, y = -1;
int batas = 0;
while (((x!=0) && (y!=0)) && batas<=3000){
x = inp.nextInt();
y = inp.nextInt();
if (((x!=0) && (x<=10000)) && ((y!=0) && (y<=10000))){
array.add(x);
array.add(y);
batas++;
}
}
int index1 = 0, index2 = index1+1;
for (int i = 0; i<batas; i++){
System.out.println(array.get(index1)+" "+array.get(index2));
index1++;
}
}
}



Compiler output:
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Language: Java

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

class main {

    public static void main(String[] args) {
        List<integer> array = new ArrayList<integer>();
        Scanner inp = new Scanner(System.in);
        int x = -1, y = -1;
        int batas = 0;
        while (((x != 0) && (y != 0)) && batas <= 3000) {
            x = inp.nextInt();
            y = inp.nextInt();
            if (((x != 0) && (x <= 10000)) && ((y != 0) && (y <= 10000))) {
                array.add(x);
                array.add(y);
                batas++;
            }
        }
        int index1 = 0, index2 = index1 + 1;
        for (int i = 0; i < batas; i++) {
            System.out.println(array.get(index1) + " " + array.get(index2));
            index1++;
        }
    }
}


Compiler output:
Main.java:7: error: cannot find symbol
        List<integer> array = new ArrayList<integer>();
        ^
  symbol:   class List
  location: class main
Main.java:7: error: cannot find symbol
        List<integer> array = new ArrayList<integer>();
             ^
  symbol:   class integer
  location: class main
Main.java:7: error: cannot find symbol
        List<integer> array = new ArrayList<integer>();
                                            ^
  symbol:   class integer
  location: class main
3 errors
Language: Java

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

class main {

    public static void main(String[] args) {
        ArrayList<integer> array = new ArrayList<integer>();
        Scanner inp = new Scanner(System.in);
        int x = -1, y = -1;
        int batas = 0;
        while (((x != 0) && (y != 0)) && batas <= 3000) {
            x = inp.nextInt();
            y = inp.nextInt();
            if (((x != 0) && (x <= 10000)) && ((y != 0) && (y <= 10000))) {
                array.add(x);
                array.add(y);
                batas++;
            }
        }
        int index1 = 0, index2 = index1 + 1;
        for (int i = 0; i < batas; i++) {
            System.out.println(array.get(index1) + " " + array.get(index2));
            index1++;
        }
    }
}


Compiler output:
Main.java:7: error: cannot find symbol
        ArrayList<integer> array = new ArrayList<integer>();
                  ^
  symbol:   class integer
  location: class main
Main.java:7: error: cannot find symbol
        ArrayList<integer> array = new ArrayList<integer>();
                                                 ^
  symbol:   class integer
  location: class main
2 errors
Language: Java

import java.util.Scanner;
class main{
static void main(String[] args){
Scanner inp = new Scanner(System.in);
int x, y;
while (true){
x = inp.nextInt();
y = inp.nextInt();
if (x == 0 && y == 0) break;
if (x>y) System.out.println(x+" "+y);
else System.out.println(y+" "+x);
}

}



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

import java.util.Scanner;

public class Main {
	public static void main(String [] args) {
		Scanner stdIn = new Scanner(System.in);
		int n = 0, x, y;
		int datax [] = new int[3000];
		int datay [] = new int[3000];
		
		do {
			x = stdIn.nextInt();
			y = stdIn.nextInt();
			
			if(x == 0 && y == 0 || )break;
			
			datax[n] = x;
			datay[n] = y;
			
			n++;
		}while(x < 0 || x > 10000 || y < 0 || y > 10000 );
		
		
		for(int i = 0; i < n ; i++) {
			if(datax[i] > datay[i]) {
				x = datay[i];
				y = datax[i];
			}else {
				x = datax[i];
				y = datay[i];
			}
			
			System.out.println(x + " " + y);
			
		}
	}
}


Compiler output:
Main.java:14: error: illegal start of expression
			if(x == 0 && y == 0 || )break;
			                       ^
1 error