Question link: https://hack.codingblocks.com/app/contests/1055/p/311
why m getting TLE?
please check: https://ide.codingblocks.com/s/186982
Question link: https://hack.codingblocks.com/app/contests/1055/p/311
why m getting TLE?
please check: https://ide.codingblocks.com/s/186982
@tripathiaman2997 I believe that your code is absolutely correct. The problem is with the java Language. It is 2 times slower than c++ . In order to use java I kindly request you to read about fast io and functionality in java.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.