Problem erp
User MS
Submission Time 2023-09-02 23:47:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

erp.cpp: In function ‘int main()’:
erp.cpp:44:21: error: invalid operands of types ‘int’ and ‘int* const’ to binary ‘operator-’
44 | erp = totald-max(path1+path2[end],path2+path1[end]) -1;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int int* const