Bath in Winters Solution || Codechef March Long Challenge 2022 - I

  

Bath in Winters Solution 

Codechef March Long Challenge 2022 - I
Problem Code : BATH

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;
    cout << x / (2 * y) << "\n";
}

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

Comments