Duona ir sviestas

Taškai: 0

Compile: FAIL

duona.cpp: In function ‘int main()’: duona.cpp:76:38: error: invalid types ‘int[int]’ for array subscript ans = max(ans, e[a[i]] - i + 1); ^ duona.cpp:77:42: error: invalid types ‘int[int]’ for array subscript ans = max(ans, j - s[a[j]] + 1); ^

nr.resulttimemessage