結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー | FF256grhy |
提出日時 | 2018-04-01 22:28:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 299 bytes |
コンパイル時間 | 1,884 ms |
コンパイル使用メモリ | 164,372 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 05:55:27 |
合計ジャッジ時間 | 2,554 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include "bits/stdc++.h" using namespace std; // ---- ---- int main() { int n; scanf("%d", &n); long long int a, b; while(scanf("%lld%lld", &a, &b) == 2) { if(a == b) { printf("=\n"); } else { printf("%c\n", '=' + ((a - b) & (9223372036854775808LU) ? -1 : +1)); } } return 0; }