結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー |
![]() |
提出日時 | 2023-03-19 22:41:40 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 318 bytes |
コンパイル時間 | 1,864 ms |
コンパイル使用メモリ | 192,252 KB |
最終ジャッジ日時 | 2025-02-11 15:28:40 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include "bits/stdc++.h"using namespace std;using ll=long long;signed main() {int n;__builtin_scanf("%d", &n);char c = char(60);while (n--) {int a, b;__builtin_scanf("%d %d", &a, &b);if (!(a/b)) printf("%c\n", c);else if (!(b/a)) printf("%c\n", c+2);else printf("%c\n", c+1);}}