Borderou de evaluare (job #23300)

Utilizator avatar FlorinDumitru Florin Dumitru FlorinDumitru IP ascuns
Problemă Ruine Compilator cpp
Rundă Baraj Șumen seniori 2013 - etapa 1 Status evaluat
Dată 10 oct. 2013 12:58:39 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:30: error: ‘out’ was not declared in this scope user.cpp:6:6: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default] user.cpp:6:14: warning: overflow in implicit constant conversion [-Woverflow] user.cpp: In function ‘void checkprotocol(int)’: user.cpp:10:12: error: ‘frst’ was not declared in this scope user.cpp:10:22: warning: left operand of comma operator has no effect [-Wunused-value] user.cpp:10:23: error: expected ‘;’ before ‘)’ token user.cpp:10:24: warning: right operand of comma operator has no effect [-Wunused-value] user.cpp:10:29: error: expected ‘;’ before ‘{’ token user.cpp:10:32: error: expected primary-expression before ‘=’ token user.cpp:11:15: error: too few arguments to function ‘int strcmp(const char*, const char*)’ /usr/include/string.h:143:12: note: declared here user.cpp:13:1: error: expected primary-expression before ‘}’ token user.cpp:13:1: error: expected ‘;’ before ‘}’ token user.cpp:9:10: warning: unused variable ‘prim’ [-Wunused-variable] user.cpp: In function ‘int main()’: user.cpp:39:34: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default] user.cpp:39:41: error: ‘lIMS’ was not declared in this scope user.cpp:39:47: error: ‘host’ was not declared in this scope user.cpp:39:58: error: ‘Port’ was not declared in this scope user.cpp:39:69: error: ‘File’ was not declared in this scope user.cpp:40:18: error: expected initializer before ‘<=’ token user.cpp:40:18: error: expected ‘;’ before ‘<=’ token user.cpp:40:18: error: expected primary-expression before ‘<=’ token user.cpp:42:15: error: no match for ‘operator>>’ in ‘fout >> sir’ user.cpp:42:15: note: candidates are: /usr/include/c++/4.6/bits/basic_string.tcc:998:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&) /usr/include/c++/4.6/bits/istream.tcc:957:5: note: template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*) /usr/include/c++/4.6/bits/istream.tcc:925:5: note: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) /usr/include/c++/4.6/istream:709:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&) /usr/include/c++/4.6/istream:714:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&) /usr/include/c++/4.6/istream:756:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*) /usr/include/c++/4.6/istream:761:5: note: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*) user.cpp:43:19: error: ‘strlwr’ was not declared in this scope user.cpp:44:12: error: ‘expanded’ was not declared in this scope user.cpp:44:56: error: ‘printFail’ was not declared in this scope user.cpp:44:57: error: expected ‘)’ before ‘;’ token user.cpp:44:67: error: expected primary-expression before ‘)’ token user.cpp:44:67: error: expected ‘;’ before ‘)’ token user.cpp:45:63: error: expected primary-expression before ‘)’ token user.cpp:45:63: error: expected ‘;’ before ‘)’ token user.cpp:46:23: error: expected primary-expression before ‘=’ token user.cpp:46:40: error: expected ‘;’ before ‘)’ token user.cpp:46:65: error: expected primary-expression before ‘)’ token user.cpp:46:65: error: expected ‘;’ before ‘)’ token user.cpp:47:23: error: expected primary-expression before ‘=’ token user.cpp:47:38: error: expected ‘;’ before ‘)’ token user.cpp:47:63: error: expected primary-expression before ‘)’ token user.cpp:47:63: error: expected ‘;’ before ‘)’ token user.cpp:48:63: error: expected primary-expression before ‘)’ token