帮帮孩子吧

2 comments

  • @ 2024-6-9 21:55:53

    #include<bits/stdc++.h> using namespace std; int a[105]; int main(){ int n,minn=2000,maxn=-1; cin>>n; for(int i = 1;i<=n;i++){ cin>>a[i]; if(a[i]<minn){ minn = a[i]; } if(a[i]>maxn){ maxn = a[i]; } } cout<<minn; return 0; }

    • @ 2024-5-24 14:10:37

      qqqqqq

      • 1

      Information

      ID
      2192
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      2
      Tags
      # Submissions
      256
      Accepted
      129
      Uploaded By