Problem relaymarathon
User Cookie
Submission Time 2023-06-26 20:35:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

relaymarathon.cpp: In function ‘int main()’:
relaymarathon.cpp:123:33: error: ‘da’ was not declared in this scope; did you mean ‘d2’?
123 | mn2d1 = min(mn2d1, {da[i]], i}); mn2d2 = min(mn2d2, {d2[a[i]], i});
| ^~
| d2
relaymarathon.cpp:123:38: error: expected ‘}’ before ‘]’ token
123 | mn2d1 = min(mn2d1, {da[i]], i}); mn2d2 = min(mn2d2, {d2[a[i]], i});
| ~ ^
relaymarathon.cpp:123:38: error: expected ‘)’ before ‘]’ token
123 | mn2d1 = min(mn2d1, {da[i]], i}); mn2d2 = min(mn2d2, {d2[a[i]], i});
| ~ ^
| )
relaymarathon.cpp:123:43: error: expected primary-expression before ‘)’ token
123 | mn2d1 = min(mn2d1, {da[i]], i}); mn2d2 = min(mn2d2, {d2[a[i]], i});
|