CSES Build Team TLEing

Revision en1, by bobbilyking, 2020-06-25 22:32:09

Do I just have to switch over to java? Full code: https://pastebin.com/5HDQ6kRa

The logic should be correct but it's TLEing for some cases, and I'm pretty sure I have the optimal logic, but it's either cuz Java is slow or something w/ the implementation of the code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English bobbilyking 2020-06-26 02:42:53 4 Tiny change: 'itch over to java?\nFu' -> 'itch over from java?\nFu'
en1 English bobbilyking 2020-06-25 22:32:09 291 Initial revision (published)