Borderou de evaluare (job #2283587)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 15 noiembrie 2018 17:46:42
Problema Cifra Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c:1:1: error: expected identifier or '(' before '%' token %syms x; ^ main.c:2:1: error: expected identifier or '(' before '%' token %g=@(x) (-2*x^2+x+3)^(1/4); ^ main.c:2:4: error: stray '@' in program %g=@(x) (-2*x^2+x+3)^(1/4); ^ main.c:3:1: error: expected identifier or '(' before '%' token %y(1)=0; ^ main.c:4:1: error: expected identifier or '(' before '%' token %y(2)=subs(g,x,y(1)); ^ main.c:5:1: error: expected identifier or '(' before '%' token %k=2; ^ main.c:6:1: error: expected identifier or '(' before '%' token %while abs(y(k)-y(k-1))>=10^(-5) ^ main.c:8:1: error: expected identifier or '(' before '%' token % y(k)=subs(g,x,y(k-1)); ^ main.c:9:1: error: expected identifier or '(' before '%' token %end ^ main.c:13:1: error: expected identifier or '(' before '%' token %f=@(a) a.^4+2*a.^2-a-3; ^ main.c:13:4: error: stray '@' in program %f=@(a) a.^4+2*a.^2-a-3; ^ main.c:14:1: error: expected identifier or '(' before '%' token %X=linspace(-1,3/2,100); ^ main.c:15:1: error: expected identifier or '(' before '%' token %Y=f(X); ^ main.c:16:1: error: expected identifier or '(' before '%' token %plot(X,Y); ^ main.c:17:1: error: expected identifier or '(' before '%' token %hold on; ^ main.c:18:1: error: expected identifier or '(' before '%' token %plot(xaprox,f(xaprox),'o','MarkerSize' ,10,'MarkerFaceColor','g'); ^ main.c:18:28: warning: character constant too long for its type %plot(xaprox,f(xaprox),'o','MarkerSize' ,10,'MarkerFaceColor','g'); Non zero exit status: 1

Ceva nu functioneaza?