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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 586193
Concurent: Alexia Andreea Păunescu (Deea 16)Progres: evaluare completă
Problemă: vasePunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 7 feb 2019, 15:27
Mesaj evaluator:
vase.cpp: In function 'int main()': vase.cpp:46: 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) vase.cpp:46: 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) vase.cpp:49: 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) vase.cpp:49: 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) vase.cpp:50: 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) vase.cpp:50: 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)
ajutor