Borderou de evaluare (job #474022)

Utilizator cescC.Fabregas cesc Data 2 august 2010 01:47:07
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:84:2: warning: no newline at end of file user.cpp: In function 'void init()': user.cpp:19: warning: unused variable 'i' user.cpp: In function 'void citire()': user.cpp:35: error: 'class std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >' has no member named 'make_pair' user.cpp: In function 'void bell()': user.cpp:62: error: 'C' was not declared in this scope user.cpp:62: error: no match for 'operator[]' in 'd[G[x].std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](i)]' user.cpp:64: error: no match for 'operator[]' in 'd[G[x].std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](i)]' user.cpp:65: error: no match for 'operator[]' in 'is[G[x].std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](i)]' user.cpp:67: error: no matching function for call to 'std::queue<int, std::deque<int, std::allocator<int> > >::push(std::pair<int, int>&)' /usr/include/c++/4.2/bits/stl_queue.h:203: note: candidates are: void std::queue<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = int, _Sequence = std::deque<int, std::allocator<int> >] user.cpp:68: error: no match for 'operator[]' in 'is[G[x].std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<int, int>, _Alloc = std::allocator<std::pair<int, int> >](i)]'

Ceva nu functioneaza?