Problem | snakesnack |
---|---|
User | chenweilian |
Submission Time | 2023-06-18 21:48:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snakesnack.cpp:41:1: error: ‘bitset’ does not name a type
41 | bitset <S> va[N],vb[N];
| ^~~~~~
snakesnack.cpp: In function ‘void SolveA(int, int, int, int)’:
snakesnack.cpp:45:8: error: ‘va’ was not declared in this scope; did you mean ‘a’?
45 | if (!va[cnt][sum]){
| ^~
| a
snakesnack.cpp: In function ‘void SolveB(int, int, int, int)’:
snakesnack.cpp:56:8: error: ‘vb’ was not declared in this scope; did you mean ‘b’?
56 | if (!vb[cnt][sum]){
| ^~
| b
snakesnack.cpp: In function ‘int main()’:
snakesnack.cpp:94:8: error: ‘vb’ was not declared in this scope; did you mean ‘b’?
94 | if (vb[j][k])
| ^~
| b
snakesnack.cpp:97:9: error: ‘va’ was not declared in this scope; did you mean ‘a’?
97 | if (!va[i][k])
| ^~
| a