Borderou de evaluare (job #2274308)
Utilizator | Data | 1 noiembrie 2018 17:44:18 | |
---|---|---|---|
Problema | Sume | Status | done |
Runda | Arhiva de probleme | Compilator | c-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:1:12: error: 'lambda' undeclared here (not in a function)
function [ lambda ] = MetJacobi( A )
^~~~~~
main.c:1:1: warning: data definition has no type or storage class
function [ lambda ] = MetJacobi( A )
^~~~~~~~
main.c:1:1: warning: type defaults to 'int' in declaration of 'function' [-Wimplicit-int]
main.c:1:23: warning: implicit declaration of function 'MetJacobi' [-Wimplicit-function-declaration]
function [ lambda ] = MetJacobi( A )
^~~~~~~~~
main.c:1:34: error: 'A' undeclared here (not in a function)
function [ lambda ] = MetJacobi( A )
^
main.c:2:2: error: 'UNTITLED' undeclared here (not in a function)
%UNTITLED Summary of this function goes here
^~~~~~~~
main.c:2:11: error: expected ',' or ';' before 'Summary'
%UNTITLED Summary of this function goes here
^~~~~~~
main.c:5:1: warning: data definition has no type or storage class
suma=0;
^~~~
main.c:5:1: warning: type defaults to 'int' in declaration of 'suma' [-Wimplicit-int]
main.c:6:1: warning: data definition has no type or storage class
n=size(A,1);
^
main.c:6:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:6:3: warning: implicit declaration of function 'size' [-Wimplicit-function-declaration]
n=size(A,1);
^~~~
main.c:7:1: error: expected identifier or '(' before 'for'
for i=1:n
^~~
main.c:11:9: error: unknown type name 'end'
end
^~~
main.c:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'end'
end
^~~
main.c:13:1: error: unknown type name 'end'
main.c:16:1: error: expected identifier or '(' before 'while'
while modul>=eps
^~~~~
main.c:18:5: error: expected identifier or '(' before 'for'
for i=1:n
^~~
main.c:22:17: warning: data definition has no type or storage class
apq=A(i,j);
^~~
main.c:22:17: warning: type defaults to 'int' in declaration of 'apq' [-Wimplicit-int]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !