WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

count the number

Threads: For an array of integers, each number separated by a space. Ending sequence is the number 0. Find the largest number, the smallest in the range and number of numbers in sequence (not count 0 Last row).
Input: A sequence of numbers separated by spaces. Last number is the number 0.
Output: A line of 3 numbers separated by spaces, respectively the largest number, the smallest in the range and number of rows.
For example:

input:
7 6 5 4 3 2 0
output:
7 2 6

You are not logged in? Log in to Submit Now!

29 Comments

Add a Comment