Borderou de evaluare (job #846835)

Utilizator elfusFlorin Chirica elfus Data 2 ianuarie 2013 20:57:06
Problema Resturi Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void mult(const int&)’: user.cpp:19: error: invalid operands of types ‘int [666666]’ and ‘const int’ to binary ‘operator*’ user.cpp:20: error: incompatible types in assignment of ‘int’ to ‘int [666666]’ user.cpp: In function ‘int mod(int*, const int&)’: user.cpp:29: error: invalid operands of types ‘int*’ and ‘const int’ to binary ‘operator%’ user.cpp: In function ‘void add(int)’: user.cpp:39: error: invalid operands of types ‘int [666666]’ and ‘int’ to binary ‘operator*’ user.cpp:40: error: incompatible types in assignment of ‘long long int’ to ‘int [666666]’ user.cpp:47: error: invalid conversion from ‘int*’ to ‘long long int’ user.cpp:49: error: invalid conversion from ‘int*’ to ‘long long int’ user.cpp:50: error: incompatible types in assignment of ‘long long int’ to ‘int [666666]’ user.cpp: In function ‘int main()’: user.cpp:67: error: incompatible types in assignment of ‘int’ to ‘int [666666]’ user.cpp:82: error: no match for ‘operator>>’ in ‘in >> d’ /usr/include/c++/4.4/istream:119: note: 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>] /usr/include/c++/4.4/istream:123: note: 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>] /usr/include/c++/4.4/istream:130: note: 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>] /usr/include/c++/4.4/istream:166: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:170: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:173: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:177: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:180: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:184: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:188: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:193: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:197: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:202: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:206: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:210: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:214: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.4/istream:238: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>] user.cpp:84: error: invalid conversion from ‘int*’ to ‘int’ user.cpp:84: error: initializing argument 2 of ‘int mod(int*, const int&)’ user.cpp:84: error: incompatible types in assignment of ‘int*’ to ‘int [31]’ user.cpp:86: error: invalid operands of types ‘int [31]’ and ‘int [31]’ to binary ‘operator+’ user.cpp:86: error: in evaluation of ‘operator+=(int [31], int [31])’ user.cpp:88: error: invalid conversion from ‘int*’ to ‘int’ user.cpp:88: error: initializing argument 2 of ‘int mod(int*, const int&)’ user.cpp:91: error: invalid operands of types ‘int’ and ‘int [31]’ to binary ‘operator%’ user.cpp:96: error: invalid conversion from ‘int*’ to ‘int’ user.cpp:96: error: initializing argument 1 of ‘void mult(const int&)’

Ceva nu functioneaza?