Please read the new rule regarding the restriction on the use of AI tools. ×

TLE

Revision en1, by issahaddar5, 2015-09-10 21:51:10

Hello,

I am trying to solve this bitmasking problem. My algorithm is correct but it keeps timing out. I don't know how to further optimize it. this is my code.

Thanks in advance

Tags bitmasking, brute force

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English issahaddar5 2015-09-10 21:51:10 250 Initial revision (published)