|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 532876
Mesaj evaluator:
bemo.cpp: In function 'bool verifica(std::set<int, std::less<int>, std::allocator<int> >, std::pair<int, int>)':
bemo.cpp:22: warning: 'auto' will change meaning in C++0x; please remove it
bemo.cpp:22: error: ISO C++ forbids declaration of 'it1' with no type
bemo.cpp:22: error: cannot convert 'std::_Rb_tree_const_iterator<int>' to 'int' in initialization
bemo.cpp:22: error: ISO C++ forbids declaration of 'it2' with no type
bemo.cpp:22: error: cannot convert 'std::_Rb_tree_const_iterator<int>' to 'int' in initialization
bemo.cpp:24: error: invalid type argument of 'unary *'
bemo.cpp:24: error: invalid type argument of 'unary *'
bemo.cpp:26: error: invalid type argument of 'unary *'
bemo.cpp:26: error: invalid type argument of 'unary *'
bemo.cpp: In function 'void lee(int, int)':
bemo.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:40: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:50: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:58: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:58: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:58: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:58: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
bemo.cpp:63: warning: 'auto' will change meaning in C++0x; please remove it
bemo.cpp:63: error: expected initializer before ':' token
bemo.cpp:65: error: expected primary-expression before 'return'
bemo.cpp:65: error: expected ';' before 'return'
bemo.cpp:65: error: expected primary-expression before 'return'
bemo.cpp:65: error: expected ')' before 'return'
bemo.cpp: In function 'int main()':
bemo.cpp:69: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
bemo.cpp:70: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
bemo.cpp:72: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
bemo.cpp:75: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
|
||||||||||||||
ajutor |