My C++ code is not taking any input, only cin is causing the trouble not cout. PLEASE HELP. even the online compilers are showing timeout error
The cpp code that i wrote while solving an online solution, was running indefinitely, eventhough it was not supposed to. So i pinpointed the line that was causing the problem- it was the cin line.