for (unsigned int i = 0; i < n; ++i) ++k;
for (unsigned int i = 1U; i < n; i *= 2U) ++k;
for (unsigned int i = n - 1U; i != 0; i /= 2U) ++k;
for (unsigned int i = 0; i < n; ++i) if (i % 2 == 0) ++k;
for (unsigned int i = 0; i < n; ++i) for (unsigned int j = 0; j < n; ++j) ++k;
for (unsigned int i = 0; i < n; ++i) for (unsigned int j = i; j < n; ++j) ++k;
for (unsigned int i = 0; i < n; ++i) for (unsigned int j = 0; j < i * i; ++j) ++k;