.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 571014

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 571014
Concurent: Daniel Stefan Boni (refugiat)Progres: evaluare completă
Problemă: aiPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 23 mai 2018, 06:42
Mesaj evaluator:
ai.cpp: In function 'int bfs(int, int, int)': ai.cpp:30: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x ai.cpp:30: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x ai.cpp:41: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x ai.cpp:41: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x ai.cpp: In function 'int main()': ai.cpp:88: error: call of overloaded 'abs(int&)' is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) ai.cpp:90: error: call of overloaded 'abs(int&)' is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) ai.cpp:92: error: call of overloaded 'abs(int&)' is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) ai.cpp:94: error: call of overloaded 'abs(int&)' is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
ajutor