Borderou de evaluare (job #498856)

Utilizator avatar rares404 AlShaytan - Balasescu Rares rares404 IP ascuns
Problemă Ace (clasa a 9-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 oct. 2019 17:38:03 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:15: error: 'long long 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:25:26: error: assignment of function 'double y1(double)' user.cpp:25:26: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:27:55: error: invalid conversion from 'double (*)(double)throw ()' to 'long long int' [-fpermissive] user.cpp:11:6: error: initializing argument 2 of 'bool directie(long long int, long long int, long long int, long long int)' [-fpermissive] user.cpp:30:38: error: assignment of function 'double y1(double)' user.cpp:30:38: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:35:26: error: assignment of function 'double y1(double)' user.cpp:35:26: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:37:55: error: invalid conversion from 'double (*)(double)throw ()' to 'long long int' [-fpermissive] user.cpp:11:6: error: initializing argument 2 of 'bool directie(long long int, long long int, long long int, long long int)' [-fpermissive] user.cpp:40:38: error: assignment of function 'double y1(double)' user.cpp:40:38: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:62:30: error: assignment of function 'double y1(double)' user.cpp:62:30: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:65:64: warning: the address of 'double y1(double)' will never be NULL [-Waddress] user.cpp:65:124: error: invalid conversion from 'double (*)(double)throw ()' to 'long long int' [-fpermissive] user.cpp:11:6: error: initializing argument 2 of 'bool directie(long long int, long long int, long long int, long long int)' [-fpermissive] user.cpp:68:78: error: assignment of function 'double y1(double)' user.cpp:68:78: error: cannot convert 'int' to 'double(double)throw ()' in assignment user.cpp:17:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:55: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]