#include <bits/stdc++.h>
using namespace std;
int main()
{
int N;
cin>>N;
int A[N];
int min=INT_MAX;
for(int i=0;i<N;++i)
if(A[i]<min)
min=A[i];
}
cout<<A[i];
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <bits/stdc++.h>
using namespace std;
int main()
{
int N;
cin>>N;
int A[N];
int min=INT_MAX;
for(int i=0;i<N;++i)
{
if(A[i]<min)
min=A[i];
}
cout<<A[i];
}