結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2018-04-01 23:54:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 357 bytes |
コンパイル時間 | 518 ms |
コンパイル使用メモリ | 64,500 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 06:16:33 |
合計ジャッジ時間 | 2,411 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
#include"iostream" #include"algorithm" using namespace std; #define int long long signed main() { int n; scanf("%d", &n); for (int i = 0; i != n; i++) { int a, b; scanf("%d%d", &a,&b); int m = max(a, b); if (a == m&&b == m) { printf("%c\n", '='); } else if (m == a) { printf("%c\n", ('9' + 3)); } else printf("%c\n", ('9' + 5)); } }