how to solve this **S = A0*B0 + … + AN-1*BN-1** the right way in c++

前端 未结 0 710
情歌与酒
情歌与酒 2021-01-15 14:35

We have two arrays of integers, A and B. A and B, each contains exactly N elements. You should compute the value of S as follows: S = A0B0 + … + AN-1BN-1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题