My program runs in time complexity O(n) but then also TLE. Please answer what to do and please don’t reply that this is an ongoing competition because I am just clarifying.
Thanks
My program runs in time complexity O(n) but then also TLE. Please answer what to do and please don’t reply that this is an ongoing competition because I am just clarifying.
Thanks
use fast i/0 or wait for competition to end
Asking for expected complexity is NOT “clarifying” !!!
Guidelines are linked in each problem page and contains also:
You cannot share the run-time or space complexity of your solution.
You are trying to outsmart us. "Dont tell me code…Just tell me a suitable ideone suffix. Eg : www.ideone.com/5dIcLF