← All problemsSign in

Vipul and Bottles

Given M and N the amount of milk in litres and size of bottles respectively. Vipul have infinite number of bottles of size N. How many bottles do Vipul need to pack the milk ? Input First line contains T the number of test cases. Each test case contains two lines M and N. Output Print the number of bottles required. Constraints - 1 ≤ T ≤ 100 - 1 ≤ N,M ≤ 100000 Example Input: 2 10 3 18 6

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start