How to solve TOPCHEF?

Can anyone please explain any solution to TOPCHEF problem?

2 Likes

editorial will be released soon :slight_smile:

5 Likes

Thanks for the reply. :slight_smile:

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