結果
| 問題 | No.8032 Unavailability of Inequality Signs |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-02 23:10:55 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 308µs | |
| コード長 | 297 bytes |
| 記録 | |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 39,040 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-30 09:15:03 |
| 合計ジャッジ時間 | 1,023 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#include "stdio.h"
#include "stdlib.h"
int main(){
int N;
long long a,b;
scanf("%d",&N);
while(N--){
scanf("%lld %lld",&a,&b);
char c;
if(a == b) c = '=';
else if(abs(a-b)/(a-b)==1) c = '='+1;
else c='='-1;
printf("%c\n",c);
}
}