Problem | archaeologist |
---|---|
User | hmm |
Submission Time | 2025-02-21 23:08:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:37:31: error: redeclaration of ‘int sm’
37 | else set_light(L);int sm = 0, cnt = 0, f = paths.size()>0;
| ^~
archaeologist.cpp:27:13: note: ‘int sm’ previously declared here
27 | int sm = 0, cnt = 0, f = 1, g = 1;
| ^~
archaeologist.cpp:37:39: error: redeclaration of ‘int cnt’
37 | else set_light(L);int sm = 0, cnt = 0, f = paths.size()>0;
| ^~~
archaeologist.cpp:27:21: note: ‘int cnt’ previously declared here
27 | int sm = 0, cnt = 0, f = 1, g = 1;
| ^~~
archaeologist.cpp:37:48: error: redeclaration of ‘int f’
37 | else set_light(L);int sm = 0, cnt = 0, f = paths.size()>0;
|