Tuesday, January 15, 2019

URI 1080:: SOLUTION

URI Online Judge | 1080

Highest and Position

Read 100 integer numbers. Print the highest read value and the input position.

Input

The input file contains 100 distinct positive integer numbers.

Output

Print the highest number read and the input position of this value, according to the given example.
Input SampleOutput Sample
2
113
45
34565
6
...
8
34565
4


[WAIT]
     First of all, think yourself that you have tried enough for the problem. If you did not please read the program once. REMEMBER one thing, just believe in yourself.....YOU CAN.....YOU KNOW....



See the ANSWER here..
                                                                

No comments:

Post a Comment