Borderou de evaluare (job #1187234)

Utilizator Paluka09Aldea Paul Paluka09 Data 17 mai 2014 22:03:13
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:1:1: error: unknown type name ‘var’ var a,b,c,x,y,i,t:integer; ^ user.c:1:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token var a,b,c,x,y,i,t:integer; ^ user.c:3:1: error: unknown type name ‘begin’ begin ^ user.c:4:6: warning: parameter names (without types) in function declaration [enabled by default] readln (a); ^ user.c:5:6: warning: data definition has no type or storage class [enabled by default] readln (b); ^ user.c:5:6: warning: type defaults to ‘int’ in declaration of ‘readln’ [enabled by default] user.c:5:6: warning: parameter names (without types) in function declaration [enabled by default] user.c:6:6: warning: data definition has no type or storage class [enabled by default] readln (c); ^ user.c:6:6: warning: type defaults to ‘int’ in declaration of ‘readln’ [enabled by default] user.c:6:6: warning: parameter names (without types) in function declaration [enabled by default] user.c:7:6: error: expected identifier or ‘(’ before ‘{’ token {read} ^ user.c:9:6: error: expected identifier or ‘(’ before ‘for’ for x:=-c to c do ^ user.c:11:57: warning: multi-character character constant [-Wmultichar] if (a*x+b*y=c) then writeln (a,'*',x,'+',b,'* ',y,'=',c); ^ user.c:12:6: warning: data definition has no type or storage class [enabled by default] readln; ^ user.c:12:6: warning: type defaults to ‘int’ in declaration of ‘readln’ [enabled by default] user.c:12:6: error: ‘readln’ redeclared as different kind of symbol user.c:6:6: note: previous declaration of ‘readln’ was here readln (c); ^ user.c:13:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token end. ^

Ceva nu functioneaza?