Borderou de evaluare (job #1099681)
Utilizator | Data | 6 februarie 2014 09:11:27 | |
---|---|---|---|
Problema | Search | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:22:15: error: ‘std::vector<short int> index’ redeclared as different kind of symbol
vector<short> index;
^
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:43:7: error: ‘index’ does not have class type
index.push_back(sol[1]);
^
user.cpp:50:9: error: ‘index’ does not have class type
index.pop_back();
^
user.cpp:51:20: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
sol[i]=index[j-1];
^
user.cpp:77:8: error: ‘index’ does not have class type
index.push_back(sol[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !