HuTao_Oya_OyaOya's blog

By HuTao_Oya_OyaOya, history, 4 months ago, In English
Problem Statement
Optimal Code

Link to the problem on GFG

Doubt: Can anyone explain to me how this code is working practically while theoretically O(1e4*1e5) should give TLE.

Is there any mathematically reason ?

Thanks for your time.

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

No