4 solutions

  • 1
    @ 2025-7-14 16:11:36

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

    int a[5];

    int main() { int n; 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