Borderou de evaluare (job #130940)

Utilizator alex_mircescuAlex Mircescu alex_mircescu Data 2 februarie 2008 17:14:59
Problema Triunghi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:91:2: warning: no newline at end of file user.cpp:34: error: 'long int y1 [128]' 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:43: error: pointer to a function used in arithmetic user.cpp:44: warning: format '%ld' expects type 'long int*', but argument 3 has type 'double (*)(double)throw ()' user.cpp:48: error: pointer to a function used in arithmetic user.cpp:49: error: invalid conversion from 'double (*)(double)throw ()' to 'long int' user.cpp:49: error: initializing argument 2 of 'long int point_in_tri(long int, long int, long int, long int, long int, long int, long int, long int)' user.cpp:62: error: pointer to a function used in arithmetic user.cpp:65: error: pointer to a function used in arithmetic user.cpp:65: error: invalid conversion from 'double (*)(double)throw ()' to 'long int' user.cpp:65: error: initializing argument 2 of 'long int point_in_tri(long int, long int, long int, long int, long int, long int, long int, long int)' user.cpp:65: error: invalid conversion from 'double (*)(double)throw ()' to 'long int' user.cpp:65: error: initializing argument 8 of 'long int point_in_tri(long int, long int, long int, long int, long int, long int, long int, long int)' user.cpp:69: error: pointer to a function used in arithmetic user.cpp:72: error: invalid conversion from 'double (*)(double)throw ()' to 'long int' user.cpp:72: error: initializing argument 2 of 'long int point_in_tri(long int, long int, long int, long int, long int, long int, long int, long int)' user.cpp:76: error: pointer to a function used in arithmetic user.cpp:79: error: invalid conversion from 'double (*)(double)throw ()' to 'long int' user.cpp:79: error: initializing argument 2 of 'long int point_in_tri(long int, long int, long int, long int, long int, long int, long int, long int)'

Ceva nu functioneaza?