A ir B ir A ir B

Taškai: 0

Compile: FAIL

as_and_bees.cpp:12:15: error: ‘std::map<int, int> index’ redeclared as different kind of symbol map<int, int> index; ^ In file included from as_and_bees.cpp:3:0: /usr/include/string.h:477:1: note: previous declaration ‘const char* index(const char*, int)’ index (const char *__s, int __c) __THROW ^ as_and_bees.cpp: In function ‘int main()’: as_and_bees.cpp:28:19: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript index[t[i]] = i; ^ as_and_bees.cpp:31:53: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript for(int i = 0; i < n; i++) num[i] = index[num[i]]; ^

nr.resulttimemessage