For this Question: Rahul is on his way to becoming the new big bull of the stock market but is a bit weak at calculating whether he made a profit or a loss on his deal. Given that Rahul bought the stock at value X and sold it at value Y. Help him calculate whether he made a profit, loss, or was it a neutral deal.The first line of input will contain a single integer T, denoting the number of test cases.
Each test case consists of a single line of input containing two space-separated integers X and Y, denoting the value at which Rahul bought and sold the stock respectively.

<b>Constraints</b>
1 ≤ T ≤ 500
1 ≤ X, Y ≤ 100For each test case, output PROFIT if Rahul made a profit on the deal, LOSS if Rahul incurred a loss on the deal, and NEUTRAL otherwise.Sample Input
2
1 5
5 1

Sample Output
PROFIT
LOSS

Explanation
Test case 1: Since the selling price is greater than the cost price, Rahul made a profit in the deal.
Test case 2: Since the cost price is greater than the selling price, Rahul made a loss in the deal., I have written this Solution Code: #include <bits/stdc++.h>

#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

using namespace std;
using namespace __gnu_pbds;

template <class T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;

template <class key, class value, class cmp = std::less<key>>
using ordered_map = tree<key, value, cmp, rb_tree_tag, tree_order_statistics_node_update>;
// find_by_order(k)  returns iterator to kth element starting from 0;
// order_of_key(k) returns count of elements strictly smaller than k;

#ifdef LOCAL
#define debug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define debug(...) 2351
#endif

#define int long long

mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());

inline int64_t random_long(int l = LLONG_MIN, int r = LLONG_MAX) {
    uniform_int_distribution<int64_t> generator(l, r);
    return generator(rng);
}

int32_t main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    auto start = std::chrono::high_resolution_clock::now();

    // Number of test cases
    int T;
    cin >> T;

    // Loop over test cases
    for (int t = 0; t < T; t++) {
        // Buying and selling prices
        int buy, sell;
        cin >> buy >> sell;

        // Calculate profit/loss
        int profit = sell - buy;

        // Print result
        if (profit > 0) {
            cout << "PROFIT" << endl;
        } else if (profit < 0) {
            cout << "LOSS" << endl;
        } else {
            cout << "NEUTRAL" << endl;
        }
    }

    auto stop = std::chrono::high_resolution_clock::now();
    auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(stop - start);
    cerr << "Time taken : " << ((long double)duration.count()) / ((long double)1e9) << "s " << endl;
    return 0;
};
, In this Programming Language: C++, Now tell me if this Code is compilable or not?