Anna.cpp: In function 'void Anna(int, long long int, int, int*)':
Anna.cpp:21:17: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
if (X & (1LL<<pos) {
^
Anna.cpp:21:32: error: expected ';' before '{' token
if (X & (1LL<<pos) {
^
Anna.cpp:21:19: warning: statement has no effect [-Wunused-value]
if (X & (1LL<<pos) {
~~^~~~~~~~~~~~
Anna.cpp:25:13: error: expected primary-expression before 'else'
else {
^~~~
Anna.cpp:25:13: error: expected ')' before 'else'
Bruno.cpp: In function 'long long int Bruno(int, int*)':
Bruno.cpp:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); i++) {
~~^~~~~~~~~~~~