|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 586387
Mesaj evaluator:
monede1.cpp: In function 'int main()':
monede1.cpp:35: error: 'class std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >' has no member named 'emplace_back'
monede1.cpp:37: error: 'class std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >' has no member named 'emplace_back'
monede1.cpp:47: warning: 'auto' will change meaning in C++0x; please remove it
monede1.cpp:47: error: ISO C++ forbids declaration of 'p' with no type
monede1.cpp:47: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
monede1.cpp:48: error: request for member 'first' in 'p', which is of non-class type 'int'
monede1.cpp:48: error: request for member 'second' in 'p', which is of non-class type 'int'
monede1.cpp:52: warning: 'auto' will change meaning in C++0x; please remove it
monede1.cpp:52: error: ISO C++ forbids declaration of 'p' with no type
monede1.cpp:52: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
monede1.cpp:53: error: request for member 'first' in 'p', which is of non-class type 'int'
monede1.cpp:53: error: request for member 'second' in 'p', which is of non-class type 'int'
monede1.cpp:66: warning: 'auto' will change meaning in C++0x; please remove it
monede1.cpp:66: error: ISO C++ forbids declaration of 'BF' with no type
monede1.cpp:66: error: expected primary-expression before '[' token
monede1.cpp:66: error: expected primary-expression before ']' token
monede1.cpp:66: error: expected ',' or ';' before '{' token
monede1.cpp:63: warning: unused variable 'answer'
monede1.cpp:66: warning: unused variable 'BF'
monede1.cpp:114: error: expected '}' at end of input
|
||||||||||||||
ajutor |