Problem lasers
User personjs
Submission Time 2025-01-11 16:13:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lasers.cpp: In function ‘int main()’:
lasers.cpp:13:18: error: ‘max’ was not declared in this scope
13 | ans = max(ans, max(0, 2 * x - L));
| ^~~
lasers.cpp:13:9: error: ‘max’ was not declared in this scope
13 | ans = max(ans, max(0, 2 * x - L));
| ^~~