Problem plantingpotatoes
User PlayVoltz
Submission Time 2023-11-23 15:07:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

plantingpotatoes.cpp: In function ‘int32_t main()’:
plantingpotatoes.cpp:26:17: error: ‘temp’ was not declared in this scope
26 | ans=max(ans, temp+sum);
| ^~~~