bool compus[nMax]; void ciur() { for(int i = 2; i * i <= n; i += 2) for(int j = i * i; j <= n; j += i) compus[j] = true; }