1 solutions

  • 0
    @ 2023-1-17 22:31:38
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a[100], n, x;
        cin >> n;
        for (int i = 1; i <= n; i++) cin >> a[i];
        cin >> x;
        for (int i = 1; i <= n; i++) if (i != x) cout << a[i] << " ";
    }
    
    • 1

    Information

    ID
    502
    Time
    1000ms
    Memory
    16MiB
    Difficulty
    9
    Tags
    # Submissions
    7
    Accepted
    7
    Uploaded By