Problem bizarrebuffet
User Shadow1
Submission Time 2024-05-25 15:33:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bizarrebuffet.cpp: In function ‘void solve()’:
bizarrebuffet.cpp:42:23: error: ‘x’ was not declared in this scope
42 | cout << max(a[n-1] - x, a[0] - x) << '\n';
| ^