WATERCOOLER2

Program

#include <bits/stdc++.h>
using namespace std;
 
int main() 
{
    int T, X, Y;
    cin >> T;
    while (T--)
    {
        cin >> X >> Y;
        cout << ((Y-1)/X) << '\n';
    }
    return 0;
}

Comments