Getting MLE

Revision en1, by decoder__, 2020-08-26 19:54:05

Here is my code https://mirror.codeforces.com/contest/681/submission/91075066 for the question https://mirror.codeforces.com/problemset/problem/681/C. Can anyone help me that use of which thing is causing the MLE and which data structure should be used to avoid MLE?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English decoder__ 2020-08-26 19:54:05 265 Initial revision (published)