|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 569700
Mesaj evaluator:
otilia.cpp: In function 'std::pair<int, int> farthest(int, int, int)':
otilia.cpp:24: error: in C++98 'ans' must be initialized by constructor, not by '{...}'
otilia.cpp:24: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
otilia.cpp:25: warning: 'auto' will change meaning in C++0x; please remove it
otilia.cpp:25: error: expected initializer before ':' token
otilia.cpp:27: error: expected primary-expression before 'return'
otilia.cpp:27: error: expected ';' before 'return'
otilia.cpp:27: error: expected primary-expression before 'return'
otilia.cpp:27: error: expected ')' before 'return'
otilia.cpp: In function 'void on_diameter(int, int, int)':
otilia.cpp:33: warning: 'auto' will change meaning in C++0x; please remove it
otilia.cpp:33: error: expected initializer before ':' token
otilia.cpp:39: error: expected primary-expression before 'if'
otilia.cpp:39: error: expected ';' before 'if'
otilia.cpp:39: error: expected primary-expression before 'if'
otilia.cpp:39: error: expected ')' before 'if'
otilia.cpp: In function 'void dfs(int, int)':
otilia.cpp:53: warning: 'auto' will change meaning in C++0x; please remove it
otilia.cpp:53: error: expected initializer before ':' token
otilia.cpp:65: error: expected ')' before ';' token
otilia.cpp: In function 'int main()':
otilia.cpp:74: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
otilia.cpp:74: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
|
||||||||||||||
ajutor |