Doubt in problem c of Codeforces Round #746 (Div. 2)

Revision en1, by barats, 2021-10-04 20:03:22

I can't understand why my code is giving the memory limit exceeded on test case 2.

Here us the problem 1592C - Бакри и разделение

here is my code 130824440. Any suggestions?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English barats 2021-10-04 20:03:22 234 Initial revision (published)