.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 454208

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 454208
Concurent: Teo Calin (icoe)Progres: evaluare completă
Problemă: vagoanePunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 6 oct 2015, 12:17
Mesaj evaluator:
vagoane.cpp: In function `int main()': vagoane.cpp:9: ambiguous overload for `std::istream& >> std::istream&' operator /usr/include/c++/3.2.2/bits/istream.tcc:83: candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>&(*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/3.2.2/bits/istream.tcc:92: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_ios<_CharT, _Traits>&(*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/3.2.2/bits/istream.tcc:101: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base&(*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/3.2.2/bits/istream.tcc:483: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/3.2.2/istream:250: std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*) [with _Traits = std::char_traits<char>] <near match> /usr/include/c++/3.2.2/istream:255: std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*) [with _Traits = std::char_traits<char>] <near match> vagoane.cpp:9: parse error before `>>' token vagoane.cpp:7: warning: unused variable `int ka' vagoane.cpp:7: warning: unused variable `int kb'
ajutor