7 kyu

Bugs Life

352 of 1,016saiyan91
Description
Loading description...
Fundamentals
Geometry
  • Please sign in or sign up to leave a comment.
  • quint Avatar

    I can't figure out how hint #1 relates to the solution.

  • A_Vaclav Avatar

    A beautiful problem. I liked it very much. Thanks.

  • Amel  Haracic Avatar

    this is not the shortest way?? i got the 3.95 noticing that bugs cant fly... cant proceed any further.

  • DayTroy Avatar

    We find a large diagonal of a right triangle, according to the Pythagorean theorem. In 1 test I got the answer 3.74, but in the author the answer was 4.24. Why?

  • Barnellioss Avatar

    Can't understand the idea of kata, why we can't go through the diagonals. It is the shortest way. In first test I got 3.74

  • Minoru-kun Avatar

    I translated this to Rust, please take a look!

  • stellartux Avatar
  • glynester Avatar

    This comment has been hidden.

  • Steven Pavlovskii Avatar

    Hello! Who can explain me this Kata(idea) and solution please? I don't understand it.

  • JohanWiltink Avatar
  • FArekkusu Avatar

    Also added a Ruby translation. Please, take a look at it.

  • jamad Avatar

    This comment has been hidden.

  • FArekkusu Avatar

    Python translation. Please, review and approve.

    Note: it addresses the issue of outdated description, so you can approve it without modifying the kata description yourself.

  • JohanWiltink Avatar

    Please do not round results. Compare unrounded results with assertApproxEquals.