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;
	n=1;
	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:24: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:24: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:31: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:42: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:42: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:45: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:51: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:51: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:54: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
Main.java:60: error: illegal escape character
      		System.out.println("??\????????????:" + e.getMessage());
      		                       ^
Main.java:60: error: ';' expected
      		System.out.println("??\????????????:" + e.getMessage());
      		                                                      ^
Main.java:63: error: illegal escape character
			System.out.println("????????????????????\????????????????????????");
			                                         ^
12 errors