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.

Author: nguyenvanquan7826

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: A line consisting of many numbers separated by spaces is

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. Unit of

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. Rounded results

Min max in the array

Threads: Enter array of n integers. Find the largest and smallest number in 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 line of 2 numbers are the largest and smallest numbers

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

Find gCD, BCNN

Threads: Input 2 integer. Find the greatest common divisor (UCLN) and the least common multiple (BCNN) of them. Input: A line of 2 positive integers separated by spaces. Output: A line of 2 numbers separated by spaces that GCD, BCNN of 2 some have