Borderou de evaluare (job #2282672)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 14 noiembrie 2018 11:55:15
Problema Stramosi 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 -etragere blocuri ^ main.c:7:2: warning: data definition has no type or storage class startX=(j-1)*(dimBloc-suprapunere)+1; ^~~~~~ main.c:7:2: warning: type defaults to 'int' in declaration of 'startX' [-Wimplicit-int] main.c:7:10: error: 'j' undeclared here (not in a function) startX=(j-1)*(dimBloc-suprapunere)+1; ^ main.c:7:16: error: 'dimBloc' undeclared here (not in a function) startX=(j-1)*(dimBloc-suprapunere)+1; ^~~~~~~ main.c:7:24: error: 'suprapunere' undeclared here (not in a function) startX=(j-1)*(dimBloc-suprapunere)+1; ^~~~~~~~~~~ main.c:8:2: warning: data definition has no type or storage class endX=startX+dimBloc-1; ^~~~ main.c:8:2: warning: type defaults to 'int' in declaration of 'endX' [-Wimplicit-int] main.c:9:2: warning: data definition has no type or storage class endY=startY+dimBloc-1; ^~~~ main.c:9:2: warning: type defaults to 'int' in declaration of 'endY' [-Wimplicit-int] main.c:9:7: error: 'startY' undeclared here (not in a function) endY=startY+dimBloc-1; ^~~~~~ main.c:10:2: error: expected identifier or '(' before 'if' if(x==1&&y==1) ramdom inde:j ^~ main.c:26:2: error: expected identifier or '(' before 'if' if(x>1&&y>1) ^~ main.c:28:3: error: unknown type name 'suprapunereImagine' suprapunereImagine ^~~~~~~~~~~~~~~~~~ main.c:29:21: error: expected ')' before ':' token imgIntrare(startX:suprapunere,startY:startY+suprapunere-1,1_) ^ main.c:29:62: error: invalid suffix "_" on integer constant imgIntrare(startX:suprapunere,startY:startY+suprapunere-1,1_) ^~ main.c:32:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input end ^~~ Non zero exit status: 1

Ceva nu functioneaza?