[Solution] Marathon Codeforces Solution | Codeforces Problem Solution 2022
A. Marathon
time limit per test
1 secondmemory limit per test
256 megabytesinput
standard inputoutput
standard outputYou are given four distinct integers , , , .
Timur and three other people are running a marathon. The value is the distance that Timur has run and , , correspond to the distances the other three participants ran.
Solution Click Below:- CLICK HERE
Output the number of participants in front of Timur.
Input
The first line contains a single integer () — the number of test cases.
The description of each test case consists of four distinct integers , , , ().
Output
For each test case, output a single integer — the number of participants in front of Timur.
No comments:
Post a Comment