BASIC CALCULATOR


I am getting TLE with this code of basic calculator , please check it .

link to problem : https://online.codingblocks.com/app/player/71634/content/150285/4806/code-challenge

I submitted my code even when i was having the TLE problem , and it passed all test cases , How is it possible ? I am unable to understand it.

@saumya10.jangid


try this, this is correct code, your code had a little error, you’ve to delete line no 13 from your code.