問題詳情
1. Implement a void function F that takes pointers to two arrays of integers (A and B) and asize N as parameters. It then populates B where B[i] is the sum of all ADil where j!- i.?For example: If A = {2, 1, 5,9}, then B would be {15, 16, 12, 8}. (10%)
參考答案
用户評論