The largest element of the array
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given an array of N integers, your task is to find the largest element in the array.
Input
The first line contains the integer N, representing the number of elements in the array. The second line contains N integers, each not exceeding 100.
Output
Output the largest integer in the array.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 54%