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.

Check array ascending

Threads: For an array of n integers. Check that the array ascending. Ascending array is larger array that follows the previous number.
Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces.
Output: If the array ascending print “TRUE”, if not printed “FALSE”.
For example:

input:
4
4 3 3 2
output:
FALSE

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

6 Comments

Add a Comment