## GUPTA MECHANICAL

IN THIS WEBSITE I CAN TELL ALL ABOUT TECH. TIPS AND TRICKS APP REVIEWS AND UNBOXINGS ALSO TECH. NEWS .............

# [Solution] Fill Candies CodeChef Solution

Chef received $N$ candies on his birthday. He wants to put these candies in some bags. A bag has $K$ pockets and each pocket can hold at most $M$ candies. Find the minimum number of bags Chef needs so that he can put every candy into a bag.

### Input Format

• The first line of input will contain a single integer $T$, denoting the number of test cases.
Solution Click Below:-  👉
👇👇👇👇👇

• Each test case consists of a single line containing three space-separated integers $N,K,M$.

### Output Format

For each test case, print the minimum number of bags Chef needs so that he can put all the candies in

Passes for Fair CodeChef Solution

Fill Candies CodeChef Solution

Make Palindrome 2 CodeChef Solution

Fill The Grid CodeChef Solution

Positive array CodeChef Solution

Strict Permutation CodeChef Solution

one of the bags.

### Constraints

• $1\le T\le 1000$
• $1\le N,K,M\le 100$