#include <stdio.h>
#include <math.h>

int main() {
    int n,k=0;
    // pow(2,k) == 1 << k == 2의 k 제곱
    while ((1 << k)<256) {
        k++;
    }
    printf("%d",k);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: