Basic Calculator problem

In coding block ide my code gives correct output but when i compile it in my assignment section it gives warning and during submission it gives TLE.

here is my code :

TAKE A LOOK AT CONSTRAINTS

Constraints

0 <= Input integers <= 100000000
( It is assured that the second integer provided for division and modulo operations will not be 0. )

input integers are large which may exceed the limit of int
hence use long long int

modified Code