Borderou de evaluare (job #2258562)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 11 octombrie 2018 17:40:57
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:1:1: warning: data definition has no type or storage class f=@(X) X.^3-7*X.^2+14*X-6 ^ user.c:1:1: warning: type defaults to ‘int’ in declaration of ‘f’ [-Wimplicit-int] user.c:1:3: error: stray ‘@’ in program f=@(X) X.^3-7*X.^2+14*X-6 ^ user.c:1:5: error: ‘X’ undeclared here (not in a function) f=@(X) X.^3-7*X.^2+14*X-6 ^ user.c:1:8: error: expected ‘,’ or ‘;’ before ‘X’ f=@(X) X.^3-7*X.^2+14*X-6 ^ user.c:3:1: warning: data definition has no type or storage class Y=f(X); ^ user.c:3:1: warning: type defaults to ‘int’ in declaration of ‘Y’ [-Wimplicit-int] user.c:3:3: error: called object ‘f’ is not a function or function pointer Y=f(X); ^ user.c:1:1: note: declared here f=@(X) X.^3-7*X.^2+14*X-6 ^ user.c:4:10: warning: character constant too long for its type plot(X,Y,'linewidth',2); ^~~~~~~~~~~ user.c:4:10: error: expected ‘)’ before '\x69647468' user.c:5:1: warning: data definition has no type or storage class eps=10^(-5); ^~~ user.c:5:1: warning: type defaults to ‘int’ in declaration of ‘eps’ [-Wimplicit-int] user.c:6:1: error: expected identifier or ‘(’ before ‘[’ token [xaprox1]=MetBisectie(f,0,1,eps); ^ user.c:7:1: error: expected identifier or ‘(’ before ‘[’ token [xaprox2]=MetBisectie(f,1,3.2,eps); ^ user.c:8:1: error: expected identifier or ‘(’ before ‘[’ token [xaprox3]=MetBisectie(f,3.2,4,eps); ^ user.c:9:1: error: unknown type name ‘grid’ grid on ^~~~ user.c:10:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hold’ hold on ^~~~ user.c:10:1: error: unknown type name ‘hold’ user.c:12:1: warning: data definition has no type or storage class yL=ylim; ^~

Ceva nu functioneaza?