iit_ya_ism's blog

By iit_ya_ism, history, 5 years ago, In English

I was solving question 216D - Spider's Web 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

»
5 years 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