|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 630594
Mesaj evaluator:
sl.cpp: In function 'int Firstprbl(std::string&)':
sl.cpp:24: warning: comparison between signed and unsigned integer expressions
sl.cpp: In function 'int Secondprbl(std::string, std::vector<Ingredient, std::allocator<Ingredient> >&)':
sl.cpp:68: warning: comparison between signed and unsigned integer expressions
sl.cpp:76: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
sl.cpp:76: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
sl.cpp:81: warning: no return statement in function returning non-void
sl.cpp: In function 'void Solve(std::string, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >&)':
sl.cpp:113: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
sl.cpp:113: error: deducing from brace-enclosed initializer list requires #include <initializer_list>
sl.cpp:113: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
sl.cpp: In function 'void Print(std::vector<Ingredient, std::allocator<Ingredient> >)':
sl.cpp:121: warning: 'auto' will change meaning in C++0x; please remove it
sl.cpp:121: error: expected initializer before ':' token
sl.cpp:123: error: expected primary-expression before '}' token
sl.cpp:123: error: expected ';' before '}' token
sl.cpp:123: error: expected primary-expression before '}' token
sl.cpp:123: error: expected ')' before '}' token
sl.cpp:123: error: expected primary-expression before '}' token
sl.cpp:123: error: expected ';' before '}' token
|
||||||||||||||
ajutor |