A ir B ir A ir B
- [1] 2019-01-24 20:31 (97.6)
- [2] 2019-01-24 20:46 (97.6)
- [3] 2019-03-09 15:37 (97.6)
- [4] 2019-03-09 16:08 (0)
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. | result | time | message |
---|