Borderou de evaluare (job #2385994)
Utilizator | Data | 22 martie 2019 00:24:08 | |
---|---|---|---|
Problema | Critice | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:30: error: 'int index [20001]' redeclared as different kind of symbol
int first[MAX_N], index[MAX_M], next[MAX_M], at[MAX_M], count;
^
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 'void add(int, int, int)':
main.cpp:14:16: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
index[count] = i;
^
main.cpp: In function 'void rBfs()':
main.cpp:72:58: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if (f[x][y] == c[x][y]) r[rCount++] = index[p];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !