Borderou de evaluare (job #162841)
Utilizator | Data | 20 martie 2008 19:55:28 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp:17: error: 'std::vector<short unsigned int, std::allocator<short unsigned int> > index [15000]' redeclared as different kind of symbol
/usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)'
user.cpp: In function 'void update(int, short unsigned int)':
user.cpp:48: error: pointer to a function used in arithmetic
user.cpp:48: error: request for member 'push_back' in '*(((char* (*)(const char*, int)throw ())((unsigned int)d)) + index)', which is of non-class type 'char* ()(const char*, int)throw ()'
user.cpp: In function 'int main()':
user.cpp:73: error: pointer to a function used in arithmetic
user.cpp:73: error: request for member 'size' in '*(((char* (*)(const char*, int)throw ())((unsigned int)i)) + index)', which is of non-class type 'char* ()(const char*, int)throw ()'
user.cpp:74: error: pointer to a function used in arithmetic
user.cpp:74: error: pointer to a function used in arithmetic
user.cpp:74: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:74: error: initializing argument 1 of 'void expand(int, short unsigned int)'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !