Problem devour
User blob
Submission Time 2023-11-24 12:56:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

devour.cpp: In function ‘bool Dead()’:
devour.cpp:8:4: error: ‘s’ was not declared in this scope
8 | s.size(H-1) = alive;
| ^
devour.cpp: In function ‘int main()’:
devour.cpp:25:2: error: expected ‘,’ or ‘;’ before ‘for’
25 | for (int i = 0; i < K; i++){
| ^~~
devour.cpp:25:18: error: ‘i’ was not declared in this scope; did you mean ‘it’?
25 | for (int i = 0; i < K; i++){
| ^
| it