Borderou de evaluare (job #396286)

Utilizator avatar s.gabi Gabriel Stanculescu s.gabi IP ascuns
Problemă Tir1 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 oct. 2018 15:15:04 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int cmmdc(long long int, long int)’: user.cpp:11:23: error: no matching function for call to ‘max(long long int&, long int&)’ user.cpp:11:23: note: candidates are: /usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) /usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) user.cpp: In function ‘int main()’: user.cpp:35:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]