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.

Category: Exercise

Three largest

Threads: For an array of n integers. Finding 3 the largest number in the array. Input: The first line is an integer n (n>=3). The second line 2 n is an integer array, of numbers separated by spaces. Output: A line of 3 the largest number in the order of most, second, ba

Sort array

Threads: For an array of n integers. Printed on 2 line arrays respectively arranged vertically rising and descending. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: two lines, on line

Square numbers in the array

Threads: For an array of n integers. Find and print out the square numbers in the array. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: Một dòng gồm nhiều số cách nhau bởi dấu cách là

Primes in the array

Threads: For an array of n integers. Find and print out the array primes. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: Một dòng gồm nhiều số cách nhau bởi dấu cách là

The average rainfall

Threads: Meteorological stations Vietnam is the rainfall statistics of several months to forecast the weather in the coming time. Look for and print out the order of month rainfall than the average rainfall of the month statistics. Đơn vị của

The average of the array

Threads: Enter array of n integers. Calculate the average of the array. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: A unique number is the average of the array. Kết quả làm tròn

Position in the array max

Threads: Enter array of n integers. Search order (location) the largest number in the array. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: Một dòng gồm nhiều số là thứ tự