Car or Bus Solution || Codechef Starters - 26

   

Car or Bus Solution 

Codechef Starters - 26
Problem Code : TRAVELFAST

Solution :

#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
using namespace std;

void solve()
{
    ll x, y;
    cin >> x >> y;
    if (x > y)
        cout << "CAR\n";
    else if (x < y)
        cout << "BIKE\n";
    else
        cout << "SAME\n";
}

int main()
{
    ll t;
    cin >> t;
    while (t--)
    {
        solve();
    }
}

Comments