Cody

Problem 564. How to subtract?

± ± ± ± ± ± ± ± ± ± ±

  • Imagine you need to subtract one number from another using MATLAB.
  • You will not be using eval for this task.
  • Given two ASCII strings representing two integers X and Y.
  • Each of them has only 12 or less ASCII characters.
  • Each of them represents signed integers, such as '+2345'
  • Please output the result of (X-Y) in a similar style.

Solution Stats

26.96% Correct | 73.04% Incorrect
Last Solution submitted on Dec 08, 2019

Problem Comments

Solution Comments

Problem Recent Solvers1317

Suggested Problems

More from this Author100

Problem Tags