Problem hamster1
User hwy
Submission Time 2023-06-08 12:15:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hamster1.cpp: In function ‘int main()’:
hamster1.cpp:17:41: error: ‘k’ was not declared in this scope
17 | for (int j = i-2; j >= max(0, i-k); j--) {
| ^