Anna.cpp: In function '{anonymous}::vi {anonymous}::encode({anonymous}::vi)':
Anna.cpp:14:9: error: 'sz' was not declared in this scope
14 | while(sz(A) % obs != 0)
| ^~
Anna.cpp:18:3: error: 'll' was not declared in this scope
18 | ll pow2[cbs];
| ^~
Anna.cpp:19:3: error: 'pow2' was not declared in this scope; did you mean 'powl'?
19 | pow2[0] = 1;
| ^~~~
| powl
Anna.cpp:24:5: error: expected ';' before 'dp'
24 | ll dp[1 + obs][2];
| ^~~
| ;
Anna.cpp:26:3: error: 'dp' was not declared in this scope
26 | dp[1][0] = 1;
| ^~
Anna.cpp:38:22: error: 'sz' was not declared in this scope
38 | for(int i = 0; i < sz(A); i += obs)
| ^~
Anna.cpp:41:6: error: expected ';' before 'val'
41 | ll val = 0;
| ^~~~
| ;
Anna.cpp:52:6: error: 'val' was not declared in this scope
52 | val += dp[obs - j][0];
| ^~~
Anna.cpp:58:24: error: 'val' was not declared in this scope
58 | res.push_back(bool(val & pow2[j]));
| ^~~
Anna.cpp: In function 'void Anna(int, std::vector<char>)':
Anna.cpp:103:25: error: expected ';' before 'for'
103 | tosend = encode(tosend)
| ^
| ;
104 |
105 | for(int f : tosend)
| ~~~
In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from Bruno.cpp:2:
Bruno.cpp: In function '{anonymous}::vi {anonymous}::decode({anonymous}::vi, int)':
Bruno.cpp:21:10: error: 'sz' was not declared in this scope
21 | assert(sz(A) % cbs == 0);
| ^~