We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
using namespace std;
int MIN(int a[],int length)
{
int min;
for(int j=0;jmax) max=a[k];}
return max;
}
int main()
{
int N;
cin>>N;
int a[N];
for(int i=0;i>a[i];
Cut the sticks
You are viewing a single comment's thread. Return to all comments →
include
using namespace std; int MIN(int a[],int length) { int min; for(int j=0;jmax) max=a[k];} return max; } int main() { int N; cin>>N; int a[N]; for(int i=0;i>a[i];
}