#include using namespace std; void nhap(int n, int a[]){ for(int i=0; i> a[i]; } } void xuat(int n, int a[]){ cout << "\nIn day so:"; for(int i=0; i a[0]) max = a[i]; } return max; } bool isChinhPhuong(int c){ if (c == 1) return true; for(int i=2; i<=(c/2); i++){ if(i*i == c) return true; } return false; } int chinhPhuong(int n, int a[]){ int b[100]; int count = 0; for(int i=0; i