結果
問題 | No.3032 Unavailability of Inequality Signs |
ユーザー | akusyounin2412 |
提出日時 | 2018-04-01 22:37:23 |
言語 | C++17(clang) (17.0.6 + boost 1.83.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 1,132 bytes |
コンパイル時間 | 1,265 ms |
コンパイル使用メモリ | 148,656 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-15 14:41:17 |
合計ジャッジ時間 | 3,040 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
# include <iostream> # include <algorithm> #include <array> # include <cassert> #include <cctype> #include <climits> #include <numeric> # include <vector> # include <string> # include <set> # include <map> # include <cmath> # include <iomanip> # include <functional> # include <tuple> # include <utility> # include <stack> # include <queue> # include <list> # include <bitset> # include <complex> # include <chrono> # include <random> # include <limits.h> # include <unordered_map> # include <unordered_set> # include <deque> # include <cstdio> # include <cstring> #include <stdio.h> using namespace std; using LL = long long; using ULL = unsigned long long; constexpr long long MOD = 1000000000 + 7; const double PI = acos(-1); struct Tll { LL first, second, third; }; int h, w, n, m, k, s, t, q, sum, last, cnt, ans,a[2000000],b[2000000]; string str; bool f; char c; int main(void) { scanf("%d", &n); char x = 60, y = 61, z = 62; while(n){ scanf("%d%d", &h, &w); if (h - w == 0)printf("%c\n", y); else if (h - w == abs(h - w))printf("%c\n",z); else printf("%c\n", x); // cout << (char)x << endl; n--; } return 0; }