結果

問題 No.8032 Unavailability of Inequality Signs
ユーザー Nishionyama
提出日時 2019-04-01 16:26:57
言語 Java
(openjdk 23)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 521 bytes
コンパイル時間 2,075 ms
コンパイル使用メモリ 73,816 KB
実行使用メモリ 54,448 KB
最終ジャッジ日時 2024-11-25 07:11:40
合計ジャッジ時間 3,902 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;


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

        Scanner sc = new Scanner( System.in );
        int N = sc.nextInt();
        while( N-- != 0 ){
            int a = sc.nextInt();
            int b = sc.nextInt();
            int c = 0;
            if( a == b ){
                c = 61;
            }else if( Math.max(a,b) == a ){
                c = 62;
            }else{
                c = 60;
            }
            System.out.printf( "%c\n", c );
        }
    }
}


0