rahulpkvij's blog

By rahulpkvij, history, 6 weeks ago, In English

https://codeforces.com/contest/1471/submission/105087978 I am unable to understand why my code fails TC 47. Any help would be highly appreciated. Thank you !

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

You are mapping a vector. Think about the Time Complexity of that.
Refer to this — https://codeforces.com/blog/entry/75644