01418232 Algorithm Design and Analysis 2553: Integer Sum Solution

/* LANG: C++ TASK: sample_problem


 * 1) include 

int main {   int n, sum = 0; scanf("%d", &n); for(int i=0; i < n; i++) {       int x;        scanf("%d", &x); sum += x;   } printf("%d\n", sum); return 0; }