#include <stdio.h> #include<stdlib.h> int main() { int n, m; scanf("%d%d", &n, &m); int ar1[100], ar2[100]; int i = 0, j = 0, sum1 = 0, sum2 = 0; for (i = 0; i < n; i++) { scanf("%d", &ar1[i]); sum1 += ar1[i]; ...