I have noticed in the practice problem “Approximately” that printing the output as character rather integer decreases the execution time to a great extent (in my case 0.22 from 1.5 sec). If anybody can tell me the reason for this observation.
I am also curious to know :o
Due to the size?
It should be the case that due to the size difference in char and int led to this difference, as there could be huge number of large test cases so that the difference was significant?
Seniors please clarify this.
It may be the case. Please any expert answer to this ?