execution time starts from taking first input???

from where does the execution time of a problem starts??taking first input or starting of main function.??

From the main function , i.e. time of input is also included in time of execution , so you should try faster ways of input .