Whats the difference?
I tried upsolving div2 stable groups problem. After solving why my code gives TLE while this code with exactly same logic gets accepted. Can someone guide me.