Borderou de evaluare (job #560974)

Utilizator mihaimoldovanMihai Moldovan mihaimoldovan Data 18 martie 2011 19:36:18
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: /usr/include/c++/4.2/bits/stl_vector.h: In instantiation of 'std::_Vector_base<int, int>': /usr/include/c++/4.2/bits/stl_vector.h:160: instantiated from 'std::vector<int, int>' user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:79: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h:96: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h:100: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h: In instantiation of 'std::_Vector_base<int, int>::_Vector_impl': /usr/include/c++/4.2/bits/stl_vector.h:124: instantiated from 'std::_Vector_base<int, int>' /usr/include/c++/4.2/bits/stl_vector.h:160: instantiated from 'std::vector<int, int>' user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:83: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h:87: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h: In instantiation of 'std::vector<int, int>': user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:162: error: 'int' is not a class, struct, or union type /usr/include/c++/4.2/bits/stl_vector.h:189: error: no members matching 'std::_Vector_base<int, int>::_M_get_Tp_allocator' in 'struct std::_Vector_base<int, int>' user.cpp: In function 'void citire()': user.cpp:18: error: no matching function for call to 'std::vector<int, int>::push_back(std::pair<int, int>)' /usr/include/c++/4.2/bits/stl_vector.h:597: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = int] /usr/include/stdio.h: In function 'void afisare()': /usr/include/stdio.h:250: error: too few arguments to function 'FILE* fopen(const char*, const char*)' user.cpp:22: error: at this point in file user.cpp:25: error: expected `;' before '}' token user.cpp: In function 'void bellmann(int)': user.cpp:35: warning: comparison between signed and unsigned integer expressions user.cpp:36: error: 'class std::vector<int, int>' has no member named 'first' user.cpp:37: error: 'class std::vector<int, int>' has no member named 'second' user.cpp:30: warning: unused variable 'i' /usr/include/c++/4.2/bits/stl_vector.h: In destructor 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = int, _Alloc = int]': user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:268: error: '_M_get_Tp_allocator' was not declared in this scope /usr/include/c++/4.2/bits/stl_vector.h: In constructor 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(const _Alloc&) [with _Tp = int, _Alloc = int]': /usr/include/c++/4.2/bits/stl_vector.h:199: instantiated from 'std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = int, _Alloc = int]' user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:108: error: no matching function for call to 'std::_Vector_base<int, int>::_Vector_impl::_Vector_impl(const int&)' /usr/include/c++/4.2/bits/stl_vector.h:83: note: candidates are: std::_Vector_base<int, int>::_Vector_impl::_Vector_impl(const std::_Vector_base<int, int>::_Vector_impl&) /usr/include/c++/4.2/bits/stl_vector.h: In member function 'void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = int, _Alloc = int]': /usr/include/c++/4.2/bits/stl_vector.h:120: instantiated from 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = int, _Alloc = int]' /usr/include/c++/4.2/bits/stl_vector.h:199: instantiated from 'std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = int, _Alloc = int]' user.cpp:9: instantiated from here /usr/include/c++/4.2/bits/stl_vector.h:134: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named 'deallocate'

Ceva nu functioneaza?