結果
| 問題 | No.8032 Unavailability of Inequality Signs |
| コンテスト | |
| ユーザー |
uafr_cs
|
| 提出日時 | 2018-04-01 22:49:43 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 565 bytes |
| 記録 | |
| コンパイル時間 | 1,568 ms |
| コンパイル使用メモリ | 82,116 KB |
| 実行使用メモリ | 42,328 KB |
| 最終ジャッジ日時 | 2026-03-12 20:46:47 |
| 合計ジャッジ時間 | 3,590 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Scanner;
public class Main {
public static final long MOD = 1000000007;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final int N = sc.nextInt();
while(sc.hasNext()){
final int a = sc.nextInt();
final int b = sc.nextInt();
if(Integer.signum(a - b) == 1){
System.out.println((char)(0x3c));
}else if(Integer.signum(a - b) == 0){
System.out.println((char)(0x3d));
}else{
System.out.println((char)(0x3e));
}
}
}
}
uafr_cs