Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Maximum of Array

This program takes an array of size N and prints its maximum.

Input Format

  • The input consists of two lines.
  • In the first line, there will be a single integer N.
  • In the second line, there will be N space separated integers.

Output Format

A single integer, the maximum of the array.

Sample Input

5
-5 -4 -3 -2 -1

Sample Output

-1

Implemented in: