Problem gecko
User god
Submission Time 2026-02-23 08:59:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gecko.cpp: In function ‘int main()’:
gecko.cpp:19:51: error: ‘max’ cannot be used as a function
19 | wall[i][j] += max(wall[i-1][j], wall[i-1][j+1]);
| ^
gecko.cpp:21:51: error: ‘max’ cannot be used as a function
21 | wall[i][j] += max(wall[i-1][j-1], wall[i-1][j]);
| ^
gecko.cpp:23:69: error: ‘max’ cannot be used as a function
23 | wall[i][j] += max({wall[i-1][j-1], wall[i-1][j], wall[i-1][j+1]});
| ^