Completed Start: 10 Nov 2024, 09:00 End: 10 Nov 2024, 13:00 Timezone: Asia/Almaty

Into space

10s
1GiB

The team needs to place 4 magnets in one plane. For the magnets to work smoothly, the pairwise distances between them must be the natural numbers a, b, c, d, e and f meters. The team is not sure whether this is possible. Help them figure it out.

The first line contains these 6 numbers separated by spaces.

If it is possible, output "yes". If it is impossible, output "no".

Login to submit

You need to be signed in to submit solutions and track your submissions.

Log In