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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	n = Integer.parseInt(br.readLine());
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);
	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}elseif(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if
	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:25: error: ';' expected
	}elseif(x[0]==b){
	                ^
Main.java:28: error: 'else' without 'if'
	}else{
	 ^
2 errors
Language: Java

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	n = Integer.parseInt(br.readLine());
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);
	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if
	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:9: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	^
  symbol:   class BufferedReader
  location: class Tenmou
Main.java:9: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                        ^
  symbol:   class BufferedReader
  location: class Tenmou
Main.java:9: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                                           ^
  symbol:   class InputStreamReader
  location: class Tenmou
Main.java:12: error: cannot find symbol
	string str[];
	^
  symbol:   class string
  location: class Tenmou
Main.java:13: error: cannot find symbol
	str = new string[n];
	          ^
  symbol:   class string
  location: class Tenmou
Main.java:21: error: cannot find symbol
	x[0]=max(a,b,c);
	     ^
  symbol:   method max(int,int,int)
  location: class Tenmou
Main.java:32: error: bad operand types for binary operator '^'
	if(x[0]^2==x[1]^2+x[2]^2){
	       ^
  first type:  int
  second type: boolean
7 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
class Tenmou{
    public static void main (String[] args) {

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	n = Integer.parseInt(br.readLine());
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);
	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if
	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:14: error: cannot find symbol
	string str[];
	^
  symbol:   class string
  location: class Tenmou
Main.java:15: error: cannot find symbol
	str = new string[n];
	          ^
  symbol:   class string
  location: class Tenmou
Main.java:23: error: cannot find symbol
	x[0]=max(a,b,c);
	     ^
  symbol:   method max(int,int,int)
  location: class Tenmou
Main.java:34: error: bad operand types for binary operator '^'
	if(x[0]^2==x[1]^2+x[2]^2){
	       ^
  first type:  int
  second type: boolean
4 errors
Language: Java

import java.*;
class Tenmou{
    public static void main (String[] args) {

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	n = Integer.parseInt(br.readLine());
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);
	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if
	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:1: error: package java does not exist
import java.*;
^
Main.java:10: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	^
  symbol:   class BufferedReader
  location: class Tenmou
Main.java:10: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                        ^
  symbol:   class BufferedReader
  location: class Tenmou
Main.java:10: error: cannot find symbol
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	                                           ^
  symbol:   class InputStreamReader
  location: class Tenmou
Main.java:13: error: cannot find symbol
	string str[];
	^
  symbol:   class string
  location: class Tenmou
Main.java:14: error: cannot find symbol
	str = new string[n];
	          ^
  symbol:   class string
  location: class Tenmou
Main.java:22: error: cannot find symbol
	x[0]=max(a,b,c);
	     ^
  symbol:   method max(int,int,int)
  location: class Tenmou
Main.java:33: error: bad operand types for binary operator '^'
	if(x[0]^2==x[1]^2+x[2]^2){
	       ^
  first type:  int
  second type: boolean
8 errors
Language: Java

import java.util.Scanner;
 
public class Main {
  public static void main(String[] args){
	Scanner s = new Scanner(System.in);
	int a , b , c , max_num1, max_num2;
	String output;
	String y = "YES";
	String n = "NO";
	//String n = s.next();
	int n = Integer.parseInt(s.nextLine());
	for(int i = 0;i<n;i++){
		String line = s.nextLine();
		String[] array = line.split(" ",0);
		a = Integer.parseInt(array[0]);
		b = Integer.parseInt(array[1]);
		c = Integer.parseInt(array[2]);
 
		if(a >= b && a >= c){
			if(a*a == b*b+c*c){
				output = y;
			}else{
				output = n;
			}
		}
		else if(b >= a && b >= c){
			if(b*b == a*a+c*c){
				output = y;
			}else{
				output = n;
			}
		}
		else if(c >= a && a >= b){
			if(c*c == b*b+a*a){
				output = y;
			}else{
				output = n;
			}
		}else{
			output = n;
		}
		System.out.println(output);
 
	}
  }
}

Compiler output:
Main.java:11: error: variable n is already defined in method main(String[])
	int n = Integer.parseInt(s.nextLine());
	    ^
Main.java:23: error: incompatible types: int cannot be converted to String
				output = n;
				         ^
Main.java:30: error: incompatible types: int cannot be converted to String
				output = n;
				         ^
Main.java:37: error: incompatible types: int cannot be converted to String
				output = n;
				         ^
Main.java:40: error: incompatible types: int cannot be converted to String
			output = n;
			         ^
5 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	string strbf
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:12: error: ';' expected
	string strbf
	            ^
Main.java:18: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:18: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
3 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	string strbf;
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	string str[];
	str = new string[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:18: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:18: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
2 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	String strbf;
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=max(a,b,c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if(x[0]^2==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:18: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:18: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
2 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	String strbf;
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=Math.max(a,b,c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if(x[0]*x[0]==x[1]^2+x[2]^2){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:18: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:18: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
2 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	String strbf;
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){

	a = Integer.parseInt(br.readLine());
	b = Integer.parseInt(br.readLine());
	c = Integer.parseInt(br.readLine());

	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:18: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:18: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
2 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	String strbf;
	strbf = "0"
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:13: error: ';' expected
	strbf = "0"
	           ^
Main.java:19: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:19: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:29: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:29: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:34: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:34: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:39: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:39: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
9 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	String strbf;
	strbf = "0";
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:19: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:19: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:29: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:29: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:34: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:34: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:39: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:39: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
8 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	x= new int[3];
	x={0,0,0};
	String strbf;
	strbf = "0";
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:12: error: illegal start of expression
	x={0,0,0};
	  ^
Main.java:12: error: not a statement
	x={0,0,0};
	   ^
Main.java:12: error: ';' expected
	x={0,0,0};
	    ^
Main.java:20: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:20: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:30: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:30: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:35: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:35: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:40: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:40: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
11 errors
Language: Java

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

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

	int n;
	int a,b,c;
	int x[];
	//x= new int[3];
	//x={0,0,0};
	int x[] = {0,0,0};
	String strbf;
	strbf = "0";
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:21: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:21: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:31: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:31: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:36: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:36: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:41: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:41: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
8 errors
Language: Java

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

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

	int n;
	int a,b,c;
	//int x[];
	//x= new int[3];
	//x={0,0,0};
	int x[] = {0,0,0};
	String strbf;
	strbf = "0";
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}
	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:21: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:21: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:31: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:31: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:36: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:36: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:41: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:41: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
8 errors
Language: Java

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

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

	int n;
	int a,b,c;
	a=0;
	b=0;
	c=0;
	int x[] = {0,0,0};
	String strbf;
	strbf = "1";
	
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
	      	strbf = br.readLine();
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}

	n = Integer.parseInt(strbf);
	String str[];
	str = new String[n];

	for(int i=0;i<n;i++){

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
		a = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}

	x[0]=Math.max(a,b);
	x[0]=Math.max(x[0],c);

	if(x[0]==a){
		x[1]=b;
		x[2]=c;
	}else if(x[0]==b){
		x[1]=a;
		x[2]=c;
	}else{
		x[1]=b;
		x[2]=a;
	}//if

	if((x[0]*x[0])==(x[1]*x[1]+x[2]*x[2])){
		str[i]="YES";
	}else{
		str[i]="NO";
	}//if
	}//for

	for(int i=0;i<n;i++){
				System.out.println(str[i]);
	}//for
}//method
}//class

Compiler output:
Main.java:21: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:21: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:34: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:34: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:41: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:41: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:48: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:48: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
8 errors
Language: Java

import java.io.*;
import java.util.*;
public class???Main {
    public static void main(String[] args) throws IOException{
        BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(bf.readLine());
        ArrayList<String> ans=new ArrayList<String>();
        int[] num={};
        for(int i=0;i<n;i++){
            String[] str=bf.readLine().split(" ");
            
            for(int j=0;j<3;j++){
                num[j]=Integer.parseInt(str[j]);
            }
            
            Arrays.sort(num);       
            
            
            if(num[2]*num[2]==(num[1]*num[1])+(num[3]*num[3]))
                ans.add("NO\n");
            else 
                ans.add("YES\n");
        }
                    System.out.println(ans);
    }
}

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


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

public class Main {

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String str;
		String triangle_side_str[] = new String[3];
		int max = 0;
		int remain[] = new int[2];
		int triangle_side_int[] = new int[3];
		int N = Integer.parseInt(br.readLine());

		for (int i=0;i<N;i++) {
			str = br.readLine();
			remain[0] = 0;
			remain[1] = 0;
			max = 0;
			triangle_side_str = str.split(" ");

			for (int i = 0; i < 3; i++) {
				triangle_side_int[i] = Integer.parseInt(triangle_side_str[i]);
				if (max <= triangle_side_int[i]) {
					if (remain[1] == 0)
						remain[1] = max;
					else if (remain[0] == 0)
						remain[0] = max;
					max = triangle_side_int[i];
				} else {
					if (remain[1] == 0)
						remain[1] = triangle_side_int[i];
					else if (remain[0] == 0)
						remain[0] = triangle_side_int[i];
				}

			}
			System.out.println(max);
			System.out.println(remain[0]);
			System.out.println(remain[1]);
			if (Math.pow(remain[0], 2) + Math.pow(remain[1], 2) == Math.pow(max, 2)) {
				System.out.println("YES");
			} else
				System.out.println("NO");

		}

	}

}

Compiler output:
Main.java:25: error: variable i is already defined in method main(String[])
			for (int i = 0; i < 3; i++) {
			         ^
1 error
Language: Java

import java.util.Scanner;

//Is it a Right Triangle?
public class AOJ0003 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		while(n--!=0){
			int a[] = new int[3];
			for(int i=0;i<3;i++){
				a[i]=(int)Math.pow(sc.nextInt(), 2);
			}
			System.out.println((a[0]+a[1]==a[2]||a[0]+a[2]==a[1]||a[2]+a[1]==a[0])?"YES":"NO");
		}
	}
}

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

import java.util.*;
public class aoj0003 {
	static final Scanner stdin = new Scanner(System.in);
	static final String solve(int a, int b, int c){
		return ( a*a == b*b + c*c || b*b == c*c + a*a || c*c == a*a + b*b ) ? "YES" : "NO";
	}
	public static void main(String[] args) {
		int n = stdin.nextInt();
		while( n-- != 0 ){
			int a = stdin.nextInt();
			int b = stdin.nextInt();
			int c = stdin.nextInt();
			System.out.println( solve(a,b,c) );
		}
	}
}

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

public class Main {

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int n = sc.nextInt();

		int[][] box = new int[n][3];

		for (int i = 0; i < n; i++) {
			for (int j = 0; j < 3; j++) {
				box[i][j] = sc.nextInt();
			}
		}

		for (int i = 0; i < n; i++) {
			Arrays.sort(box[i]);
			int a = box[i][0];
			int b = box[i][1];
			int c = box[i][2];
			if (c * c == a * a + b * b) {
				System.out.println("YES");
			} else {
				System.out.println("NO");
			}

		}

	}

}

Compiler output:
Main.java:3: error: cannot find symbol
	static Scanner sc = new Scanner(System.in);
	       ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
	static Scanner sc = new Scanner(System.in);
	                        ^
  symbol:   class Scanner
  location: class Main
Main.java:17: error: cannot find symbol
			Arrays.sort(box[i]);
			^
  symbol:   variable Arrays
  location: class Main
3 errors
Language: Java

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

		int a = new java.util.Scanner(System.in).nextInt();
		int b = new java.util.Scanner(System.in).nextInt();
		int c = new java.util.Scanner(System.in).nextInt();


		if (a * a == b * b + c * c )
		{ System.out.println("YES");
		} else {
			System.out.println("NO");
		}

	}
}

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

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

		int a = new java.util.Scanner(System.in).nextInt();
		int b = new java.util.Scanner(System.in).nextInt();
		int c = new java.util.Scanner(System.in).nextInt();


		if (a * a == b * b + c * c )
		{ System.out.println("YES");
		} else {
			System.out.println("NO");
		}

	}
}

Compiler output:
Main.java:1: error: '{' expected
public class triangle.java {
                     ^
1 error
Language: Java

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

		for ( int i = 0; i < n; i++){

			int a = new java.util.Scanner(System.in).nextInt();
			int b = new java.util.Scanner(System.in).nextInt();
			int c = new java.util.Scanner(System.in).nextInt();

			if (a * a == b * b + c * c || b * b == a * a + c * c || c * c == b * b + a * a )
			{ System.out.println("YES");
			} else {
				System.out.println("NO");
			}

		}
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
		for ( int i = 0; i < n; i++){
		                     ^
  symbol:   variable n
  location: class Main
1 error
Language: Java

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		for(int i = 0; i < n; i++){

			int a = new java.util.Scanner(System.in).nextInt();
			int b = new java.util.Scanner(System.in).nextInt();
			int c = new java.util.Scanner(System.in).nextInt();

			if (a * a == b * b + c * c || b * b == a * a + c * c || c * c == b * b + a * a )
			{ System.out.println("YES");
			} else {
				System.out.println("NO");
			}

		}
	}
}

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;

public class main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        System.out.println("????????????????§???¢????????????????????\??????????????????");

        int times = scan.nextInt();

        int[][] delta = new int[times][3];

        for (int i = 0; i < times; i++) {
            System.out.println("????§???¢????????????????????\?????????????????????");

            int edge1 = scan.nextInt();
            int edge2 = scan.nextInt();
            int edge3 = scan.nextInt();

            delta[i][0] = edge1;
            delta[i][1] = edge2;
            delta[i][2] = edge3;

        }

        for (int i = 0; i < times; i++) {
            if ((delta[i][0]) * (delta[i][0]) == (delta[i][1]) * (delta[i][1]) + (delta[i][2]) * (delta[i][2])
                    || (delta[i][1]) * (delta[i][1]) == (delta[i][0]) * (delta[i][0]) + (delta[i][2]) * (delta[i][2])
                    || (delta[i][2]) * (delta[i][2]) == (delta[i][0]) * (delta[i][0]) + (delta[i][1]) * (delta[i][1])) {

                System.out.println("YES");
            } else {
                System.out.println("NO");
            }
        }

        scan.close();

    }

}

Compiler output:
Main.java:9: error: illegal escape character
        System.out.println("?????????????????????????????????????????\??????????????????");
                                                                      ^
Main.java:16: error: illegal escape character
            System.out.println("?????????????????????????????\?????????????????????");
                                                              ^
2 errors
Language: Java

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

		int num = sc.nextInt();
		
		for(int i = 0;i<num;i++){
			int[] array = new int[3];

			for (int j = 0; j < 3; j++) {
				array[i] = sc.nextInt();

			}

			Arrays.sort(array);

			if (array[2] * array[2] == array[1] * array[1] + array[0] * array[0]) {
				System.out.println("YES");
			}else{
				System.out.println("NO");
			}
		}		
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
Main.java:16: error: cannot find symbol
			Arrays.sort(array);
			^
  symbol:   variable Arrays
  location: class Main
3 errors
Language: Java

package jp.ac.can;
import java.util.*;

public class Triangle {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int A,B,C;

		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();

		for(int i = 0;i<num;i++){
			int[] array = new int[3];
			for (int j = 0; j<3; j++){
				array[j] = sc.nextInt();
			}
			A = array[0] * array[0];
			B = array[1] * array[1];
			C = array[2] * array[2];

			if(A == B + C){
				System.out.println("YES");
			}else if(B == A + C){
				System.out.println("YES");
			}else if(C == A + B){
				System.out.println("YES");
			}else{
				System.out.println("NO");
			}
		}
	}
}

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

package jp.ac.can;
import java.util.*;

public class 0003{

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int A,B,C;

		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();

		for(int i = 0;i<num;i++){
			int[] array = new int[3];
			for (int j = 0; j<3; j++){
				array[j] = sc.nextInt();
			}
			A = array[0] * array[0];
			B = array[1] * array[1];
			C = array[2] * array[2];

			if(A == B + C){
				System.out.println("YES");
			}else if(B == A + C){
				System.out.println("YES");
			}else if(C == A + B){
				System.out.println("YES");
			}else{
				System.out.println("NO");
			}
		}
	}
}

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

public class Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int dataSet = scanner.nextInt();
		for(int i=0; i<dataSet; i++){
			int ab = (int)(Math.pow(scanner.nextInt(),2));
			int bc = (int)(Math.pow(scanner.nextInt(),2));
			int ac = (int)(Math.pow(scanner.nextInt(),2));
			
			if(ab==bc+ac){
				System.out.println("YES");
			}else if(bc==ab+ac){
				System.out.println("YES");
			}else if(ac==ab+bc){
				System.out.println("YES");
			}
			System.out.println("NO");
		}
		scanner.close();
		
	}	
}

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

import java.util.Scanner;
import java.util.Arrays;
class Main{
    public static void main(String[] a){
    Scanner scan = new Scanner(System.in);
    int N=sc.nextInt();
    int[] t=new int[N][3];
for(int i=0; i<N; i++){
for(int j=0; j<3; j++){
t[i][j]=sc.nextInt();
}
}
sort(t);

for(int i=0; i<N; i++){
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
System.out.println("YES");

}else{
System.out.println("NO");

}
}

    }
    public static void sort(int[][] t){
    int [] s=new int[3];
    for(int i=0; i<t.length; i++){
    for(int j=0; j<3; j++){
    s[j]=t[i][j];
    }
      Arrays.sort(s);
      for(int k=0; k<3; k++){
      t[i][k]=s[k];
      }
    }
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
    int N=sc.nextInt();
          ^
  symbol:   variable sc
  location: class Main
Main.java:7: error: incompatible types: int[][] cannot be converted to int[]
    int[] t=new int[N][3];
            ^
Main.java:10: error: array required, but int found
t[i][j]=sc.nextInt();
    ^
Main.java:10: error: cannot find symbol
t[i][j]=sc.nextInt();
        ^
  symbol:   variable sc
  location: class Main
Main.java:13: error: incompatible types: int[] cannot be converted to int[][]
sort(t);
     ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
       ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
               ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
                         ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
                                 ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
                                         ^
Main.java:16: error: array required, but int found
if(t[i][2]*t[i][2]==(t[i][1]*t[i][1]+t[i][0]*t[i][0])){
                                                 ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
11 errors
Language: Java

import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner in=new Scanner(System.in);
int a[3]=new int[3],t,n;
n=in.nextInt();
while(n--){
a[0]=in.nextInt();a[1]=in.nextInt();a[2]=in.nextInt();
for(int i=0;i<2;i++){
if(a[i]<a[i+1]){t=a[i];a[i]=a[i+1];a[i+1]=t;}
}
if(a[0]<a[1]){t=a[0];a[0]=a[1];a[1]=t;}
if(a[0]*a[0]==a[1]*a[1]+a[2]*a[2])System.out.println("YES");
else System.out.println("NO");
}
}
}

Compiler output:
Main.java:5: error: ']' expected
int a[3]=new int[3],t,n;
      ^
Main.java:5: error: not a statement
int a[3]=new int[3],t,n;
         ^
Main.java:5: error: ';' expected
int a[3]=new int[3],t,n;
                   ^
Main.java:5: error: not a statement
int a[3]=new int[3],t,n;
                    ^
Main.java:5: error: ';' expected
int a[3]=new int[3],t,n;
                     ^
Main.java:5: error: not a statement
int a[3]=new int[3],t,n;
                      ^
6 errors
Language: Java

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

class Main {
  public static void main(String[] args) throws IOException{
    BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    int N = Integer.parseInt(buf.readLine());
    for (int i = 0; i < N; i++) {
      String str = buf.readLine();
      String[] tmp = str.split(" ");
      int array[] = new int[3];
      for (i = 0; i < 3; i++) {
        array[i] = Integer.parseInt(tmp[i]);
      }
      int a, b, c;
      a = array[0] * array[0];
      b = array[1] * array[1];
      c = array[2] * arary[2];
      if ((a == b + c) || (b == a + c) || (c == a + b)) {
        System.out.println("YES");
      } else {
        System.out.println("NO");
      }
    }
  }
}

Compiler output:
Main.java:19: error: cannot find symbol
      c = array[2] * arary[2];
                     ^
  symbol:   variable arary
  location: class Main
1 error
Language: Java

mport java.util.Scanner;


public class Main {
	
	static Scanner sc = new Scanner(System.in);
	static int num;
	static int edge[][] = new int[3][100];
	
	//mainÖ
	public static void main(String[] args) {
		read();
		solve();
	}

	//readÖ
	static boolean read(){
		if(sc.hasNextInt()){
			num = sc.nextInt();
		}
		for(int i=0; i<num; i++){
			for(int j=0; j<3; j++){
				if(sc.hasNextInt() == true){
					edge[j][i] = sc.nextInt();
				}
			}			
		}
		return true;
	}
	
	//solveÖ
	static void solve(){
		for(int i=0; i<num; i++){
			
			if(Math.pow(edge[0][i], 2) + Math.pow(edge[1][i], 2) == Math.pow(edge[2][i], 2)){
				System.out.println("YES");
				continue;
			} else if(Math.pow(edge[1][i], 2) + Math.pow(edge[2][i], 2) == Math.pow(edge[0][i], 2)){
				System.out.println("YES");
				continue;
			} else if(Math.pow(edge[2][i], 2) + Math.pow(edge[0][i], 2) == Math.pow(edge[1][i], 2)){
				System.out.println("YES");
				continue;
			} else{
				System.out.println("NO");
			}
			
		}      
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a, b, c;
		boolean flg;
		for(int i = 0; i < n; i++){
			if(a >= b && a >= c){
				flg = pita(a, b, c);
			}else if(b >= a && b >= c){
				flg = pita( b, a, c);
			}else{
				flg = pita( c, a, b);
			}
			if(flg){
				System.out.println("YES");
			}else{
				System.out.println("NO");
			}
		}
	}
	public static boolean pita(int a, int b, int c){
		if( a * a == b * b + c * c){
			return true;
		}
		return false;
	}
}

Compiler output:
Main.java:10: error: variable a might not have been initialized
			if(a >= b && a >= c){
			   ^
Main.java:10: error: variable b might not have been initialized
			if(a >= b && a >= c){
			        ^
Main.java:10: error: variable c might not have been initialized
			if(a >= b && a >= c){
			                  ^
Main.java:12: error: variable c might not have been initialized
			}else if(b >= a && b >= c){
			                        ^
Main.java:15: error: variable c might not have been initialized
				flg = pita( c, a, b);
				            ^
5 errors