Borderou de evaluare (job #2323759)
Utilizator | Data | 19 ianuarie 2019 17:21:01 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:14: error: 'int index [205]' redeclared as different kind of symbol
int index[dim];
^
In file included from /usr/include/c++/6/cstring:42:0,
from main.cpp:2:
/usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)'
index (const char *__s, int __c) __THROW
^~~~~
main.cpp: In function 'int main()':
main.cpp:86:29: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
index[++varf] = i;
^
main.cpp:92:29: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
out << a[index[i]] << "\n";
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !