Borderou de evaluare (job #99807)

Utilizator coderninuHasna Robert coderninu Data 11 noiembrie 2007 16:37:59
Problema Cercuri3 Status done
Runda Happy Coding 2007 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:7: error: 'long double y1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:242: error: previous declaration of 'double y1(double)' user.cpp: In function 'int main()': user.cpp:30: warning: format '%d' expects type 'int*', but argument 2 has type 'long double*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 3 has type 'double (*)(double)throw ()' user.cpp:30: warning: format '%d' expects type 'int*', but argument 4 has type 'long double*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 5 has type 'long double*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 6 has type 'long double*' user.cpp:30: warning: format '%d' expects type 'int*', but argument 7 has type 'long double*' user.cpp:31: error: invalid operands of types 'double ()(double)throw ()' and 'long double' to binary 'operator==' user.cpp:43: error: cannot convert 'double (*)(double)throw ()' to 'long double' for argument '2' to 'long double dist(long double, long double, long double, long double)' user.cpp: In function 'long double calc()': user.cpp:75: error: cannot convert 'double ()(double)throw ()' to 'long double' in assignment user.cpp:75: error: assignment of function 'double y1(double)' user.cpp:75: error: cannot convert 'long double' to 'double ()(double)throw ()' in assignment

Ceva nu functioneaza?