THE EXERCISE OF THE GUYS GUYS HAS BEEN MOVED TO THE MENU "EXERCISE OF Teacher"

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: A multi-line numbers separated by spaces are square numbers in the array. These numbers are in order as the order in the original array. If the sequence does not have square numbers, in ra “NOT FOUND”
For example:

input:
3
4 3 2
output:
4

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

12 Comments

Add a Comment