4 solutions

  • -2
    @ 2025-7-14 16:09:25

    #include <bits/stdc++.h> using namespace std;

    int main() { int n, a[5] ; for (int i = 1; i <= 5; i++) { cin >> a[i]; } cin >> n ; cout << a[n];

    return 0;
    

    }

    Information

    ID
    335
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    1
    Tags
    # Submissions
    42
    Accepted
    36
    Uploaded By