TLE CMON JAVA

Revision en1, by CP_Sucks, 2021-07-03 00:38:45

Hi i can someone tell how can i overcome TLE in this problem using java

Problem : https://cses.fi/problemset/task/1164/

My Solution : https://hastebin.com/ilexoqukuw.csharp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English CP_Sucks 2021-07-03 00:38:45 192 Initial revision (published)