floppy.cpp:27:8: error: 'N' was not declared in this scope
27 | int lg[N];
| ^
floppy.cpp: In function 'std::vector<int> solve_queries(int, int, const string&, const std::vector<int>&, const std::vector<int>&)':
floppy.cpp:34:13: error: 'lg' was not declared in this scope; did you mean 'log'?
34 | lg[i] = 1 + lg[i / 2];
| ^~
| log
floppy.cpp:54:19: error: 'lg' was not declared in this scope; did you mean 'lgg'?
54 | int lgg = lg[bb - aa + 1];
| ^~
| lgg
floppy.cpp:30:16: warning: unused variable 'm' [-Wunused-variable]
30 | int k = 0, m = bits.size(), jj = 0;
| ^
stub.cpp: In function 'void run2()':
stub.cpp:101:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
101 | if (query_answers.size() != M) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~