Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat duels/866

Duel #866

A 1v1 battle on the problem «Hypotenuse».

@malikaxanim_08 · Elo: 1323 (+12) · Pupil
1st place · 2 min 33 s
Tests: 20/20 (100%)
BATTLE OVER Winner: Malika Sharipova Solved in 2 min 33 s
@qurbonovmurodbek · Pupil · Elo: 1210 (-12)
No attempts
Tests: 0/20 (0%)

Winner: Malika Sharipova

The winner was the first to solve it correctly — in 2 min 33 s.

Begin-32 Begin Easy 1000 ms 64 MB

Hypotenuse

The legs and of a right triangle are given. Find the hypotenuse :

A right triangle: legs a and b, hypotenuse c

Sample tests

Input #1
3 4
Output #1
5.000
Input #2
1 1
Output #2
1.414

Battle results compared

1v1 report
Malika Sharipova
@malikaxanim_08
Winner (1st place)
Murodbek Qurbonov
@qurbonovmurodbek
Not solved
02:33 Solve time —
2 Submissions 0
C++ (GCC 15) Language —
4 ms Run time —

Submission timeline (2)

All submissions
C++ (GCC 15) · 4 ms · 4.2 MB
Wrong answer (test 4)
C++ (GCC 15) · 5 ms · 4.1 MB

Malika Sharipova won

The 1v1 battle ended after a hard fight.

M Malika Sharipova
Solution: 2 min 33 s
Rating: 1323 (+12)
M Murodbek Qurbonov
Solution: Not solved
Rating: 1210 (-12)
Start a new duel