Borderou de evaluare (job #510054)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Reuniunea a doua intervale | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 dec. 2019 20:58:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:11: error: 'int y1' redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of 'double y1(double)'
user.cpp: In function 'int main()':
user.cpp:13:45: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'double (*)(double)throw ()' [-Wformat]
user.cpp:15:20: error: no matching function for call to 'max(double (&)(double)throw (), int&)'
user.cpp:15:20: 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)
/usr/include/c++/4.6/bits/stl_algo.h:4194:5: note: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/stl_algo.h:4199:5: note: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)
user.cpp:13:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]