Borderou de evaluare (job #961360)
Utilizator | Data | 11 iunie 2013 22:25:30 | |
---|---|---|---|
Problema | Mai Marii Orasului | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:26: error: ‘int index [30]’ redeclared as different kind of symbol
int minNeed[32], index[30];
^
In file included from /usr/local/include/c++/4.8.0/cstring:42:0,
from user.cpp:3:
/usr/include/string.h:480: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:101:18: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
index[i] = nrNodesNeed++;
^
user.cpp:112:37: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
np.mask = (1 << index[i]) | (1 << index[j]);
^
user.cpp:112:55: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
np.mask = (1 << index[i]) | (1 << index[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !