Borderou de evaluare (job #753203)

Utilizator avatar AndreiEsteNebun Mateescu Andrei AndreiEsteNebun IP ascuns
Problemă Matrice Spirală (clasa a 6-a) Compilator c-32
Rundă Tema 14 clasa a 6-a Status evaluat
Dată 29 dec. 2023 21:14:25 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:95:116: error: 'lR' undeclared (first use in this function); did you mean 'l'? 95 | nr=((spira*2-1)*(spira*2-1))-((spira*2-1)-1)-((spira*2-1)-1)-((spira*2-1)-1)-((spira*2-1)-((spira*2-1)-lR+1)); | ^~ | l main.c:95:116: note: each undeclared identifier is reported only once for each function it appears in main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin,"%d",&c); | ^~~~~~~~~~~~~~~~~~~ main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:60:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(fin,"%d\n%d %d",&n,&l,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~