Borderou de evaluare (job #774157)

Utilizator toranagahVlad Badelita toranagah Data 3 august 2012 17:45:19
Problema Plus2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main(int, const char**)’: user.cpp:46: error: expected ‘;’ before ‘if’ user.cpp:50: error: expected ‘}’ before ‘else’ user.cpp:52: error: reference to ‘plus’ is ambiguous user.cpp:22: error: candidates are: bigUInt plus(bigUInt, bigUInt) /usr/include/c++/4.4/bits/stl_function.h:135: error: template<class _Tp> struct std::plus user.cpp:52: error: reference to ‘plus’ is ambiguous user.cpp:22: error: candidates are: bigUInt plus(bigUInt, bigUInt) /usr/include/c++/4.4/bits/stl_function.h:135: error: template<class _Tp> struct std::plus user.cpp:55: error: ‘else’ without a previous ‘if’ user.cpp:55: error: name lookup of ‘input’ changed for ISO ‘for’ scoping user.cpp:55: note: (if you use ‘-fpermissive’ G++ will accept your code) user.cpp:66: error: reference to ‘plus’ is ambiguous user.cpp:22: error: candidates are: bigUInt plus(bigUInt, bigUInt) /usr/include/c++/4.4/bits/stl_function.h:135: error: template<class _Tp> struct std::plus user.cpp:66: error: reference to ‘plus’ is ambiguous user.cpp:22: error: candidates are: bigUInt plus(bigUInt, bigUInt) /usr/include/c++/4.4/bits/stl_function.h:135: error: template<class _Tp> struct std::plus user.cpp: At global scope: user.cpp:71: error: expected constructor, destructor, or type conversion before ‘.’ token user.cpp:72: error: expected constructor, destructor, or type conversion before ‘<<’ token user.cpp:73: error: expected constructor, destructor, or type conversion before ‘.’ token user.cpp:74: error: expected unqualified-id before ‘return’ user.cpp:75: error: expected declaration before ‘}’ token

Ceva nu functioneaza?