Dhruv_gheewala's blog

By Dhruv_gheewala, history, 6 weeks ago, In English,

Hello guys, Can anyone please tell me that how can i remove TLE in this problem. i have used set to extract max element in each iteration but i dont know, how can i optimize it more.

Problem Link : E-TWO TEAMS

My Solution : 66822888

Sorry for too many macros and thanks for helping!!

 
 
 
 
  • Vote: I like it
  • -9
  • Vote: I do not like it