Array Division - What is the best way to divide two numbers stored in an array?

前端 未结 7 1236
名媛妹妹
名媛妹妹 2021-01-13 16:51

I have two arrays (dividend, divisor):

dividend[] = {1,2,0,9,8,7,5,6,6};
divisor[] = {9,8};

I need the result (dividend/divisor) as:

<
7条回答
  •  深忆病人
    2021-01-13 17:27

    Other than that, have you considered using BigInt class (or the equivalent thing in your language) which will already does this for you?

提交回复
热议问题