Problem | gecko |
---|---|
User | phontoof |
Submission Time | 2023-11-29 17:31:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gecko.cpp: In function ‘int main()’:
gecko.cpp:28:27: error: ‘x’ was not declared in this scope
28 | a[i][j] = x;
| ^
gecko.cpp:34:61: error: ‘x’ was not declared in this scope
34 | a[i][j] = max(a[i-1][j], a[i-1][j+1]) + x;
| ^
gecko.cpp:38:61: error: ‘x’ was not declared in this scope
38 | a[i][j] = max(a[i-1][j-1], a[i-1][j]) + x;
| ^
gecko.cpp:42:79: error: ‘x’ was not declared in this scope
42 | a[i][j] = max(a[i-1][j], max(a[i-1][j-1], a[i-1][j+1])) + x;
| ^