結果
| 問題 | No.8032 Unavailability of Inequality Signs |
| コンテスト | |
| ユーザー |
ty70
|
| 提出日時 | 2018-04-01 22:32:51 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 561 bytes |
| 記録 | |
| コンパイル時間 | 1,024 ms |
| コンパイル使用メモリ | 174,672 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-12 20:44:32 |
| 合計ジャッジ時間 | 2,370 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
#define ALL(A) A.begin(), A.end()
using namespace std;
typedef long long ll;
int ab[100];
int main()
{
memset(ab, 0, sizeof(ab));
ios_base::sync_with_stdio(0);
cin.tie(0);
int N; scanf("%d", &N);
vector<int> ab(N, 0);
rep (i, N){
int a, b; scanf("%d %d", &a, &b);
ab[i] = a - b;
if (ab[i] == 0){
printf("=\n");
}else
if ((unsigned int)(ab[i] & 2147483648)){
printf("%c\n",(char)(0x3c));
}else{
printf("%c\n",(char)(0x3e));
} // end if
} // end rep
return 0;
}
ty70