[Solution] Bidding CodeChef Solution
Alice, Bob and Charlie are bidding for an artifact at an auction.
Alice bids rupees, Bob bids rupees, and Charlie bids rupees (where , , and 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 — the number of test cases. Then the test cases follow.
- The first and only line of each test case contains three integers , , and , — the amount bid by Alice, Bob, and Charlie respectively.
Output Format
For each test case, output who (out of Alice
, Bob
, and Charlie
) will win the auction.
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 Alice
, Bob
, and Charlie
in uppercase or lowercase (for example, ALICE
, aliCe
, aLIcE
will be considered identical).
Constraints
- , , and are distinct
No comments:
Post a Comment