Borderou de evaluare (job #1142943)
Utilizator | Data | 14 martie 2014 14:11:22 | |
---|---|---|---|
Problema | Bemo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:11: error: cannot bind ‘std::basic_ostream<char>’ lvalue to ‘std::basic_ostream<char>&&’
#define x first
^
user.cpp:57:11: note: in expansion of macro ‘x’
fout << x << ' ';
^
In file included from /usr/local/include/c++/4.8.0/istream:39:0,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:2:
/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 = std::pair<const std::pair<int, int>, int>]’
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 !