Borderou de evaluare (job #93959)

Utilizator avatar AlexNiculae Niculae Alexandru-Vlad AlexNiculae IP ascuns
Problemă Hole Compilator cpp
Rundă Tema 10 clasa 8 Status evaluat
Dată 1 dec. 2014 12:53:29 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:17: error: ‘int j1’ redeclared as different kind of symbol /usr/include/i386-linux-gnu/bits/mathcalls.h:240:1: error: previous declaration of ‘double j1(double)’ user.cpp: In function ‘bool spST()’: user.cpp:43:24: error: invalid types ‘int [1010][double(double)throw ()]’ for array subscript user.cpp:43:37: error: invalid types ‘int [1010][double(double)throw ()]’ for array subscript user.cpp: In function ‘int main()’: user.cpp:69:13: error: assignment of function ‘double j1(double)’ user.cpp:69:13: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment user.cpp:70:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:72:30: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator-’ user.cpp:79:30: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive] user.cpp:85:25: error: assignment of function ‘double j1(double)’ user.cpp:85:25: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘bool spST()’: user.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]