[Solution] Best of Two CodeChef Solution
Chef took an examination two times. In the first attempt, he scored marks while in the second attempt he scored marks. According to the rules of the examination, the best score out of the two attempts will be considered as the final score.
Determine the final score of the Chef.
Input Format
- The first line contains a single integer — the number of test cases. Then the test cases follow.
👇👇👇👇👇
- The first line of each test case contains two integers and — the marks scored by Chef in the first attempt and second attempt respectively.
Output Format
For each test case, output the final score of Chef in the examination.
Chef and his Apps CodeChef Solution
Change Row and Column Both CodeChef Solution
Adjacent Sum Parity CodeChef Solution
Retrieve the Array CodeChef Solution
Even Equal Odd CodeChef Solution
Xor and Multiply CodeChef Solution
KBG and GN-Theory CodeChef Solution
No comments:
Post a Comment