Borderou de evaluare (job #321426)

Utilizator c910096Uricec Cristian c910096 Data 6 iunie 2009 12:49:34
Problema Teren2 Status done
Runda Concursul Centrelor de Excelenta 2009 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6: error: 'int 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:15: warning: format '%d' expects type 'int*', but argument 3 has type 'double (*)(double)throw ()' user.cpp:16: error: invalid conversion from 'double (*)(double)throw ()' to 'int' user.cpp:20: error: pointer to a function used in arithmetic user.cpp:20: error: invalid operands of types 'double (*)(double)throw ()' and 'int' to binary 'operator*' user.cpp:22: error: assignment of function 'double y1(double)' user.cpp:22: error: cannot convert 'int' to 'double ()(double)throw ()' in assignment user.cpp:23: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator-' user.cpp:26: error: pointer to a function used in arithmetic user.cpp:26: error: invalid operands of types 'double (*)(double)throw ()' and 'int' to binary 'operator*' user.cpp:27: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator-' user.cpp:38: error: name lookup of 'i' changed for new ISO 'for' scoping user.cpp:29: error: using obsolete binding at 'i' user.cpp:40: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*' user.cpp:43: warning: format '%d' expects type 'int*', but argument 3 has type 'double (*)(double)throw ()' user.cpp:50: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator*' user.cpp:50: error: 'abs' was not declared in this scope user.cpp:51: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator*' user.cpp:52: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator*' user.cpp:53: error: invalid operands of types 'int' and 'double ()(double)throw ()' to binary 'operator*' user.cpp:63: warning: format '%d' expects type 'int', but argument 2 has type 'double' user.cpp:64: warning: format '%d' expects type 'int', but argument 2 has type 'double'

Ceva nu functioneaza?