Cody

Problem 564. How to subtract?

Created by AMITAVA BISWAS in Community

± ± ± ± ± ± ± ± ± ± ±

  • 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

27.11% Correct | 72.89% Incorrect
Last solution submitted on May 22, 2019

Problem Comments

Solution Comments

Recent Solvers1258

Suggested Problems

More from this Author100

Tags