|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 598375
Mesaj evaluator:
soricel2.cpp: In function 'int main()':
soricel2.cpp:52: warning: 'auto' will change meaning in C++0x; please remove it
soricel2.cpp:52: error: ISO C++ forbids declaration of 'o' with no type
soricel2.cpp:52: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
soricel2.cpp:67: error: request for member 'first' in 'o', which is of non-class type 'int'
soricel2.cpp:68: error: request for member 'second' in 'o', which is of non-class type 'int'
soricel2.cpp:70: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:70: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:72: error: request for member 'first' in 'o', which is of non-class type 'int'
soricel2.cpp:72: error: request for member 'second' in 'o', which is of non-class type 'int'
soricel2.cpp:83: warning: 'auto' will change meaning in C++0x; please remove it
soricel2.cpp:83: error: ISO C++ forbids declaration of 'o' with no type
soricel2.cpp:83: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
soricel2.cpp:98: error: request for member 'first' in 'o', which is of non-class type 'int'
soricel2.cpp:99: error: request for member 'second' in 'o', which is of non-class type 'int'
soricel2.cpp:101: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:101: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:103: error: request for member 'first' in 'o', which is of non-class type 'int'
soricel2.cpp:103: error: request for member 'second' in 'o', which is of non-class type 'int'
soricel2.cpp:116: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:116: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
soricel2.cpp:119: warning: 'auto' will change meaning in C++0x; please remove it
soricel2.cpp:119: error: expected initializer before ':' token
soricel2.cpp:122: error: expected primary-expression before 'return'
soricel2.cpp:122: error: expected ';' before 'return'
soricel2.cpp:122: error: expected primary-expression before 'return'
soricel2.cpp:122: error: expected ')' before 'return'
|
||||||||||||||
ajutor |