✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Оцените временную сложность привденного фрагмента кода:
CPP:
int i, j, k = 0;
for (i = n / 2; i <= n; i++) {
for (j = 2; j <= n; j = j * 2) {
k = k + n / 2;
}
}