1 solutions

  • 0
    @ 2025-3-9 21:20:41
    #include<bits/stdc++.h>
    using namespace std;
    const int N = 2e4+7;
    
    int n, a[N];
    int x = 1e9+7;
    
    int main(){
        cin>>n;
        while(n--) cin>>a[n], x = min(x, a[n]);
        cout<<x<<endl; return 0;
    }
    
    
    • 1

    Information

    ID
    533
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    8
    Tags
    (None)
    # Submissions
    14
    Accepted
    9
    Uploaded By