結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2023-03-19 22:42:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 323 bytes |
コンパイル時間 | 1,959 ms |
コンパイル使用メモリ | 190,788 KB |
最終ジャッジ日時 | 2025-02-11 15:28:47 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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); } }