• + 3 comments

    if you are facing time out problem, you can use printf() function here because in c++, streams are slower.