Codechef Biteration #2 BIT2C complexity

Revision en1, by Tutis, 2019-09-20 21:27:06

Can someone explain or prove, why calculating all possible values for every interval doesn't get TLE?

I think it should be $$$O(n!)$$$.

My solution.

Problem link.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Tutis 2019-09-20 21:27:06 308 Initial revision (published)