Problem erp
User leyi
Submission Time 2026-03-05 22:56:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

erp.cpp: In function ‘int main()’:
erp.cpp:59:8: error: ‘x’ was not declared in this scope
59 | if(d2[x] != -1 and d1[Y] != -1) ans = max(ans, d1[N-1] - (d2[X] + d1[Y]) -1);
| ^