https://www.codechef.com/viewsolution/42519253 Why the above java solution give TLE while the same approach in C++ gives AC?
Why the java solution gives TLE?
https://www.codechef.com/viewsolution/42519253 Why the above java solution give TLE while the same approach in C++ gives AC?