~/algor $ cat duels/558
Duel #558
A 1v1 battle on the problem «Median».
BATTLE OVER
Winner: Malika Sharipova
Solved in 2 min 11 s
Winner: Malika Sharipova
The winner was the first to solve it correctly — in 2 min 11 s.
Sort-03
Sorting
Easy
1000 ms
128 MB
Median
An odd number $n$ of integers is given. Find their median: the number that stands exactly in the middle when the numbers are sorted in increasing order.
Sample tests
Input #1
5 7 1 9 3 5
Output #1
5
Input #2
1 -4
Output #2
-4
Battle results compared
1v1 reportTiNcHLiK KeRaK
@boymatovbobur6
Not solved
Malika Sharipova
@malikaxanim_08
Winner (1st place)
—
Solve time
02:11
0
Submissions
1
—
Language
C++ (GCC 15)
—
Run time
62 ms
Submission timeline (1)
All submissions
M
Malika Sharipova
+02:11
WIN
Accepted
C++ (GCC 15)
· 62 ms
· 5.2 MB
Malika Sharipova won
The 1v1 battle ended after a hard fight.
T
TiNcHLiK KeRaK
Solution: Not solved
Rating: 1240 (-14)
M
Malika Sharipova
Solution: 2 min 11 s
Rating: 1311 (+14)
RIVAL FOUND!
1v1 DUEL IS STARTING
VS
15 minutes
Loading the arena...