Borderou de evaluare (job #964111)
Utilizator | Data | 20 iunie 2013 09:04:25 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void distante::bford()’:
user.cpp:48:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[x].size();i++)
^
user.cpp: In member function ‘void distante::solve()’:
user.cpp:110:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<G[i].size();j++)
^
user.cpp:112:37: error: cannot bind ‘std::ostream {aka std::basic_ostream<char>}’ lvalue to ‘std::basic_ostream<char>&&’
cout<<G[i].back()<<" ";
^
In file included from /usr/local/include/c++/4.8.0/iostream:39:0,
from user.cpp:1:
/usr/local/include/c++/4.8.0/ostream:602:5: error: initializing argument 1 of ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = distante::muchie]’
operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !