Số chính phương #4

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Nhập vào dãy A có \(n\) phần tử. Đếm xem trong dãy A có bao nhiêu số chính phương

Input

  • Số nguyên dương \(n\)
  • Các số nguyên \(a_i(i = 1...n) 1 \leq n \leq 100, 1 \leq a_i \leq 10^5\)

Output

  • In ra số số chính phương

Example

Test 1
Input
4
1 9 3 4
Output
3

Comments

There are no comments at the moment.