Programming Fundamentals Exam - 26 February 2017 Part II - 04. Hornet Armada

Здравейте, изкарвам 60/100 и нямам идея защо.

 

Код - https://pastebin.com/Za7rytT3

Задача - https://judge.softuni.bg/Contests/Practice/Index/477#1