結果
| 問題 | No.8032 Unavailability of Inequality Signs |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-19 10:10:23 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 362 ms |
| コンパイル使用メモリ | 68,616 KB |
| 実行使用メモリ | 76,584 KB |
| 最終ジャッジ日時 | 2026-04-02 07:12:30 |
| 合計ジャッジ時間 | 1,040 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include"iostream"
using namespace std;
int main(){
int n;
scanf("%d", &n);
while(n--){
int a, b;
scanf("%d%d", &a, &b);
if(a==b){
puts("=");
}else if(a-b-abs(a-b)){
printf("%c\n", ';'+1);
}else printf("%c\n", ';'+3);
}
return 0;
}