input/code.cpp: In function 'uint8_t get_bit(uint64_t)':
input/code.cpp:9:17: error: 'pow' was not declared in this scope
n = pow(n, 2);
^
input/code.cpp: In function 'int main()':
input/code.cpp:17:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'uint64_t* {aka long unsigned int*}' [-Wformat=]
scanf("%d", &k);
^
input/code.cpp:17:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^