Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Who Will Get the Job?

By aumit_se · Limits 1s, 512 MB

Mango Soft” is one of the best company in the Software Industry all over the world. They have a branch at Bangladesh. Although this branch is new but has proved their strength and getting new projects from the head office because of their talented team. The interesting thing is every Programmer of this company has a strong ACM Contest background. This branch hires junior software engineers every week.

Every week they organize a Programming Contest and anyone can attend. Each contestant gets a unique score after the contest. “Mango Soft” hires the contestant who acquires 1st Place. They don’t publish the name of the hired contestant. They only publish the score.

A few days ago you had become the head of the recruitment team. So this time your responsibility is to publish the score of the contestant who acquires 1st place.

For example, you are given 5 scores:
6 , 8 , 1 , 7 , 9
Then the score of the 1st place will be 9. ``````


The first line contains an integer N (1<=N<=100). Here N is the total number of contestants.

The second line contains N integer numbers.


Print One integer – The highest score.


4    7    2    3    9                    

In the first sample case, the maximum score is 9. So the answer will be 9.



    95% Solution Ratio

    joyislam1954Earliest, Oct '18

    JCPSC_TTMFastest, 0.0s

    Mili290Lightest, 0 B

    mashfiqur404Shortest, 35B


    Login to submit


    Find the maximum number from the list

    Related Contests