Summer sell-off problem

Revision en1, by ammar_hammoud, 2023-08-02 16:03:37

Hello CF community, I'm trying to solve this problem 810B - Летняя распродажа, and here's my submission 216849580, Although the code gives AC for the first $$$15$$$ test, it gives a WA on the $$$16$$$-th test, I'm not able to identify the issue, any ideas?. I don't want another solution, I just want to know what's wrong in my solution.


  Rev. Lang. By When Δ Comment
en1 English ammar_hammoud 2023-08-02 16:03:37 356 Initial revision (published)