Borderou de evaluare (job #549414)
Utilizator | Data | 8 martie 2011 16:18:47 | |
---|---|---|---|
Problema | Cezar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:80:2: warning: no newline at end of file
user.cpp: In function 'void dfs(int, int)':
user.cpp:30: warning: comparison between signed and unsigned integer expressions
user.cpp: In function 'int main()':
user.cpp:62: error: conversion from '__gnu_cxx::__normal_iterator<short int*, std::vector<short int, std::allocator<short int> > >' to non-scalar type '__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >' requested
user.cpp:62: error: no match for 'operator!=' in 'it != g[((int)g[((int)x)].std::vector<_Tp, _Alloc>::operator[] [with _Tp = short int, _Alloc = std::allocator<short int>](0u))].std::vector<_Tp, _Alloc>::end [with _Tp = short int, _Alloc = std::allocator<short int>]()'
user.cpp:65: error: no matching function for call to 'std::vector<short int, std::allocator<short int> >::erase(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >&)'
/usr/include/c++/4.2/bits/vector.tcc:109: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = short int, _Alloc = std::allocator<short int>]
/usr/include/c++/4.2/bits/vector.tcc:121: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = short int, _Alloc = std::allocator<short int>]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !