|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 626164
Mesaj evaluator:
dezbateri.cpp: In function 'void dfs(int)':
dezbateri.cpp:46: error: expected initializer before ':' token
dezbateri.cpp:49: warning: suggest parentheses around assignment used as truth value
dezbateri.cpp:50: error: expected primary-expression before '}' token
dezbateri.cpp:50: error: expected ')' before '}' token
dezbateri.cpp:50: error: expected primary-expression before '}' token
dezbateri.cpp:50: error: expected ';' before '}' token
dezbateri.cpp: In function 'void bfs()':
dezbateri.cpp:56: error: expected initializer before ':' token
dezbateri.cpp:58: error: could not convert 'af.std::vector<_Tp, _Alloc>::push_back [with _Tp = int, _Alloc = std::allocator<int>](((const int&)((const int*)Q.std::queue<_Tp, _Sequence>::front [with _Tp = int, _Sequence = std::deque<int, std::allocator<int> >]())))' to 'bool'
dezbateri.cpp:60: error: expected primary-expression before 'for'
dezbateri.cpp:60: error: expected ')' before 'for'
dezbateri.cpp:60: error: expected initializer before ':' token
dezbateri.cpp:63: error: could not convert 'Q.std::queue<_Tp, _Sequence>::pop [with _Tp = int, _Sequence = std::deque<int, std::allocator<int> >]()' to 'bool'
dezbateri.cpp:64: error: expected primary-expression before '}' token
dezbateri.cpp:64: error: expected ')' before '}' token
dezbateri.cpp:64: error: expected primary-expression before '}' token
dezbateri.cpp:64: error: expected ';' before '}' token
dezbateri.cpp: In function 'int main()':
dezbateri.cpp:85: warning: comparison between signed and unsigned integer expressions
dezbateri.cpp:88: warning: 'auto' will change meaning in C++0x; please remove it
dezbateri.cpp:88: error: expected initializer before ':' token
dezbateri.cpp:90: error: expected primary-expression before 'return'
dezbateri.cpp:90: error: expected ';' before 'return'
dezbateri.cpp:90: error: expected primary-expression before 'return'
dezbateri.cpp:90: error: expected ')' before 'return'
|
||||||||||||||
ajutor |