4 solutions

  • 0
    @ 2025-7-14 16:14:21

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

    bool a[105] = {0};

    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