Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

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 - Summer sell-off, 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.

History

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