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

Compile Error

devour.cpp: In function ‘int main()’:
devour.cpp:8:13: error: a function-definition is not allowed here before ‘{’ token
8 | bool Dead(){
| ^
devour.cpp: At global scope:
devour.cpp:22:2: error: expected unqualified-id before ‘for’
22 | for (int i = 0; i < N; i++){
| ^~~
devour.cpp:22:18: error: ‘i’ does not name a type
22 | for (int i = 0; i < N; i++){
| ^
devour.cpp:22:25: error: ‘i’ does not name a type
22 | for (int i = 0; i < N; i++){
| ^