結果
| 問題 | 
                            No.8032 Unavailability of Inequality Signs 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hiromi_ayase
                         | 
                    
| 提出日時 | 2018-04-02 20:42:24 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 159 ms / 2,000 ms | 
| コード長 | 417 bytes | 
| コンパイル時間 | 2,128 ms | 
| コンパイル使用メモリ | 74,596 KB | 
| 実行使用メモリ | 41,236 KB | 
| 最終ジャッジ日時 | 2024-06-26 06:44:05 | 
| 合計ジャッジ時間 | 4,357 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		while ((n--) != 0) {
			int s = Integer.signum(sc.nextInt() - sc.nextInt());
			if (s == 0) {
				System.out.println((char)61);
			} else if (s == -1) {
				System.out.println((char)60);
			} else if (s == 1) {
				System.out.println((char)62);
			}
		}
	}
}
            
            
            
        
            
hiromi_ayase