1 solutions

  • 0
    @ 2025-7-12 16:21:49

    #include using namespace std;

    int main() { int n, x, s = 0; cin >> n; for (int i = 1; i <= n; i++) { cin >> x; s = s + x; } cout << s; return 0; }

    • 1

    Information

    ID
    175
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    2
    Tags
    # Submissions
    93
    Accepted
    54
    Uploaded By