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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 624052
Concurent: Franciska Tallian (Franciska Tallian)Progres: evaluare completă
Problemă: elicopPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 9 mar 2022, 12:22
Mesaj evaluator:
elicop.cpp: In function 'int main()': elicop.cpp:20: error: '>>' should be '> >' within a nested template argument list elicop.cpp:21: error: '>>' should be '> >' within a nested template argument list elicop.cpp:36: error: call of overloaded 'abs(long long 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) elicop.cpp:36: error: call of overloaded 'abs(long long 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) elicop.cpp:39: error: call of overloaded 'abs(long long 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) elicop.cpp:39: error: call of overloaded 'abs(long long 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) elicop.cpp:47: warning: unused variable 'g'
ajutor