Anna.cpp: In function 'void Anna(int, long long int, int, int*)':
Anna.cpp:11:10: error: 'func' was not declared in this scope
memset(func, 1, sizeof func);
^~~~
Anna.cpp:11:10: note: suggested alternative: 'fuc'
memset(func, 1, sizeof func);
^~~~
fuc
Anna.cpp:22:61: error: request for member 'length' in 'rep', which is of non-class type 'std::__cxx11::string [3] {aka std::__cxx11::basic_string<char> [3]}'
else if (((1ll << b) & X) == 0 && rep[s][i % (int)rep.length()] == '1') pre[i] = 0;
^~~~~~
Anna.cpp:23:61: error: request for member 'length' in 'rep', which is of non-class type 'std::__cxx11::string [3] {aka std::__cxx11::basic_string<char> [3]}'
else if (((1ll << b) & X) > 0 && rep[s][i % (int)rep.length()] == '0') pre[i] = 0;
^~~~~~
Bruno.cpp: In function 'long long int Bruno(int, int*)':
Bruno.cpp:14:12: error: 'init' was not declared in this scope
if (!init) s = i % 3;
^~~~
Bruno.cpp:14:12: note: suggested alternative: 'int'
if (!init) s = i % 3;
^~~~
int
Bruno.cpp:15:36: error: request for member 'length' in 'rep', which is of non-class type 'std::__cxx11::string [3] {aka std::__cxx11::basic_string<char> [3]}'
else if (rep[s][i % (int)rep.length()] == '1') V += (1ll << b), b++;
^~~~~~