My submission 97108301 of problem 1437A - Маркетинговая схема got wrong answer on test case 7 using float during contest but using double it is getting accepted after the contest. After searching a lot on internet , I am not getting answer. Can someone please tell me why it is giving wrong answer on float?