Language: Java

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


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());
    	}

	try{
		n = Integer.parseInt(strbf);
    	}catch (NumberFormatException e) {
			System.out.println("?????????" + e);
			System.out.println("?????°?????´??°??§??\????????????????????????");
	}

	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());
    	}catch (NumberFormatException e) {
			System.out.println("?????????" + e);
			System.out.println("?????°?????´??°??§??\????????????????????????");
	}

	try{
		b = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}catch (NumberFormatException e) {
			System.out.println("?????????" + e);
			System.out.println("?????°?????´??°??§??\????????????????????????");
	}

    	try{
		c = Integer.parseInt(br.readLine());
    	}catch(IOException e){
      		System.out.println("??\?????¨??????:" + e.getMessage());
    	}catch (NumberFormatException e) {
			System.out.println("?????????" + e);
			System.out.println("?????°?????´??°??§??\????????????????????????");
	}

	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:4: error: ';' expected
import java.io.NumberFormatException
                                    ^
Main.java:23: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:23: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:30: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:41: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:41: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:44: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:50: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:50: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:53: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:59: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:59: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:62: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
13 errors