Can anyone please explain any solution to TOPCHEF problem?
2 Likes
editorial will be released soon
5 Likes
Thanks for the reply.
2 Likes
I have a beautiful idea to solve the problem.Just find the total number of L and total number of R and print l*(l-1)/2+r*(r-1)/2 this is the answer…I came to this proof after several observation
1 Like