iostream vs stdio.h

why stdio works faster than iostream?,raul1rnjn535_3
The only difference between the two accepted solutions is that one contains iostream & the other does not.
Same for two accepted solutions here–,raul1rnjn535_3 .with iostream it took 0.05 sec & without iostream it took only 0.01 seconds.

bro, it would be nice if you dont share answers for an ongoing competition

anyway, imho your answer lies here maybe: