Mr. X is a school teacher. He teaches C programming to the students. In every class, he gives some simple problems to the students as a class task. One day he asked his students to solve a simple problem. That is, he will give two numbers and an arithmetic operator ( +, - , * ) in the middle of the two numbers. Students have to find out the result after the arithmetic operation. For example, Mr. X has given β10 * 20β. So, the result will be 200.
Hello,
I have attempted to solve this simple problem with JS and got WA in the last test case. I have solved it with C++ , though. Is there any catch? Or, is it just any simple error in the dataset?
Hi @shamin_asfaq, you guessed it right. There was an issue with the dataset. Thank you for bringing this to our attention. Your submissions have been rejudged.