Problem fireandbeary
User aiden
Submission Time 2026-11-18 17:24:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fireandbeary.cpp: In function ‘int main()’:
fireandbeary.cpp:30:9: error: scalar object ‘dr’ requires one element in initializer
30 | int dr = {-1,1,0,0};
| ^~
fireandbeary.cpp:31:9: error: scalar object ‘dc’ requires one element in initializer
31 | int dc = {0,0,-1,1};
| ^~
fireandbeary.cpp:39:67: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
39 | if(nr>=0 && nr<r && nc>=0 && nc<c && ftime[nr][nc] == inf){
| ^~~
| ynf
fireandbeary.cpp:54:16: error: ‘nextt’ was not declared in this scope; did you mean ‘next’?
54 | if(nextt <= ftime[cr][cc]){
| ^~~~~
| next
fireandbeary.cpp:63:66: error: ‘nextt’ was not declared in this scope; did you mean ‘next’?
63