Borderou de evaluare (job #381779)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | La coadă | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 mai 2018 00:20:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:14: error: variable or field ‘servire’ declared void
user.cpp:12:20: error: no match for ‘operator&’ in ‘rand & c’
user.cpp:12:20: note: candidates are:
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Openmode’
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: constexpr std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Iostate’
user.cpp:12:22: error: expected primary-expression before ‘int’
user.cpp:22:13: error: variable or field ‘sosire’ declared void
user.cpp:22:19: error: no match for ‘operator&’ in ‘rand & c’
user.cpp:22:19: note: candidates are:
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Openmode’
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: constexpr std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Iostate’
user.cpp:22:21: error: expected primary-expression before ‘int’
user.cpp:22:28: error: expected primary-expression before ‘int’
user.cpp:29:17: error: variable or field ‘imbrancire’ declared void
user.cpp:29:23: error: no match for ‘operator&’ in ‘rand & c’
user.cpp:29:23: note: candidates are:
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
/usr/include/c++/4.6/bits/ios_base.h:77:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Fmtflags’
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)
/usr/include/c++/4.6/bits/ios_base.h:117:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Openmode’
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: constexpr std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)
/usr/include/c++/4.6/bits/ios_base.h:155:3: note: no known conversion for argument 1 from ‘int()throw ()’ to ‘std::_Ios_Iostate’
user.cpp:29:25: error: expected primary-expression before ‘int’
user.cpp: In function ‘int main()’:
user.cpp:62:28: error: ‘servire’ was not declared in this scope
user.cpp:65:29: error: ‘sosire’ was not declared in this scope
user.cpp:68:31: error: ‘imbrancire’ was not declared in this scope
user.cpp:49:15: warning: unused variable ‘x’ [-Wunused-variable]