fork(1) download
  1. N = int(input());
  2. line = input().split();
  3. ans = 0;
  4. for x in range(N):
  5. ans += int(line[x]);
  6. print(ans);
Runtime error #stdin #stdout #stderr 0.16s 23464KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line