Who is taller! CodeChef Solution | CodeChef Problem Solution 2022
Alice and Bob were having an argument about which of them is taller than the other. Charlie got irritated by the argument, and decided to settle the matter once and for all.
Charlie measured the heights of Alice and Bob, and got to know that Alice's height is centimeters and Bob's height is centimeters. Help Charlie decide who is taller.
It is guaranteed that .
Input Format
- The first line of input will contain an integer — the number of test cases. The description of test cases follows.
- The first and only line of each test case contains two integers and , as described in the problem statement.
Output Format
For each test case, output on a new line if Alice is taller than Bob, else output . The output is case insensitive, i.e, both and will be accepted as correct answers when Alice is taller.
Constraints
Sample Input 1
2
150 160
160 150
Sample Output 1
B
A
Explanation
Chef and Chapters CodeChef Solution | CodeChef Problem Solution 2022
Presents for Cheffina CodeChef Solution | CodeChef Problem Solution 2022
Chef and Bird farm CodeChef Solution | CodeChef Problem Solution 2022
Valentine Vex CodeChef Solution | CodeChef Problem Solution 2022
Buying Sweets CodeChef Solution | CodeChef Problem Solution 2022
Reduce to 1 CodeChef Solution | CodeChef Problem Solution 2022
Three Arrays CodeChef Solution | CodeChef Problem Solution 2022
Test case : In this case, so Bob is taller than Alice.
Test case : In this case, so Alice is taller than Bob.
Join Now for Solution:-
No comments:
Post a Comment