GUPTA MECHANICAL

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

Wednesday 15 June 2022

[Solution] Burgers CodeChef Solution | CodeChef Problem Solution 2022

Chef is fond of burgers and decided to make as many burgers as possible.

Chef has A patties and B buns. To make 1 burger, Chef needs 1 patty and 1 bun.
Find the maximum number of burgers that Chef can make.

Input Format

  • The first line of input will contain an integer T — the number of test cases. The description of T test cases follows.
Solution Click Below:-  CLICK HERE

  • The first and only line of each test case contains two space-separated integers A and B, the number of patties and buns respectively.

Output Format

For each test case, output the maximum number of burgers that Chef can make.

Burgers CodeChef Solution

Waiting Time CodeChef Solution

DNA Storage CodeChef Solution

Joining Date CodeChef Solution

Distinct Palindrome CodeChef Solution

The Optimal Pairs CodeChef Solution

Make them Equal CodeChef Solution

Permutation AND CodeChef Solution

Constraints

  • 1T1000

No comments:

Post a Comment