Hello guys, yesterday I was solving the problem RAJAPRO and was trying out a new template.
But I noticed something unusual(at least to me :p). Both the submissions have same code except in the first one I used scanf for input while in second one I used cin.
The difference in execution time was too high and I was amazed cz I thought scanf takes less time for input as compared to cin!!
Can anyone provide a valid justification to this and tell which one is faster?