in program calculator,subtask 2 it is showing result tle and when i run that same program in my compiler it is taking less 0.20 sec .So what can i do to get my subtask 2 correct ?
try to reduce the complexity of your code
i tried my level best and most complex part is a for loop inside a if statement.
how simple can i make it now.
More simpler. I will explain once the contest is over.