Borderou de evaluare (job #1743596)
Utilizator | Data | 18 august 2016 14:07:00 | |
---|---|---|---|
Problema | Gather | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:32: error: ‘int index [751]’ redeclared as different kind of symbol
int which[MAXK], index[1 + MAXN];
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from user.cpp:5:
/usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘int main()’:
user.cpp:95:16: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
index[i] = -1;
^
user.cpp:99:23: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
index[which[i]] = i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !