Problem candymountain_ex
User phoenixai0
Submission Time 2025-11-21 22:31:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:27:19: error: ‘result’ was not declared in this scope
27 | ans = min(result, d[i]);
| ^~~~~~