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

前端 未结 7 1181
名媛妹妹
名媛妹妹 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:20

    You can use Long division algorithm or the more general Polynomial Long Division.

提交回复
热议问题