Problem snack
User helloworld
Submission Time 2024-02-22 11:05:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snack.cpp: In function ‘int main()’:
snack.cpp:27:16: error: ‘x’ was not declared in this scope
27 | s = max(s + x, x);
| ^