Ad
  • Custom User Avatar

    Probolity You did use atoi function or like atoi function. The function is not working big numbers. So you have to control the inputs begin until finish. You have to think primitive sum method.
    For example:

    r: result
    a: 1 2 3
    b: 2 4 6
      +------
    r: 3 6 9