iit_ya_ism's blog

By iit_ya_ism, history, 7 weeks ago, In English,

I was solving question 216D - Паутина and getting tle over my submission 76082614 . Is it due to higher number of function calling or solution could be further optimized?

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

»
7 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

You have attached wrong link. Your code gets WA and not TLE. BTW for your other submission getting TLE you are passing the vector to function func by value change it to pass by reference and it gets AC. check here