GUPTA MECHANICAL

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

Friday 8 July 2022

[Solution] Bidding CodeChef Solution | Codechef Solution 2022


Alice, Bob and Charlie are bidding for an artifact at an auction.
Alice bids A rupees, Bob bids B rupees, and Charlie bids C rupees (where AB, and C are distinct).

According to the rules of the auction, the person who bids the highest amount will win the auction.
Determine who will win the auction.

Input Format

  • The first line contains a single integer T — the number of test cases. Then the test cases follow.
Solution Click Below:-  👉CLICK HERE👈
👇👇👇👇👇

  • The first and only line of each test case contains three integers AB, and C, — the amount bid by Alice, Bob, and Charlie respectively.

Output Format

[Solution] Bidding CodeChef Solution | Codechef Solution 2022

For each test case, output who (out of AliceBob, and Charlie) will win the auction.

Bidding CodeChef Solution 

Pass the Exam CodeChef Solution

Chef and Candies CodeChef Solution

Journey of the Knight CodeChef Solution

Slow Solution CodeChef Solution 

Game of Piles Version 1 CodeChef Solution

Find A, B, C CodeChef Solution

Largest Square in the garden CodeChef Solution

Game of Piles Version 2 CodeChef Solution

You may print each character of AliceBob, and Charlie in uppercase or lowercase (for example, ALICEaliCeaLIcE will be considered identical).

Constraints

  • 1T1000
  • 1A,B,C1000
  • AB, and C are distinct

No comments:

Post a Comment