Borderou de evaluare (job #819179)

Utilizator avatar ccip Creion ccip IP ascuns
Problemă Roboțel (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 apr. 2025 17:27:50 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:22:28: error: 'lin' undeclared (first use in this function); did you mean 'fin'? 22 | fscanf(fin,"%d%d",&lin,&col); | ^~~ | fin main.c:22:28: note: each undeclared identifier is reported only once for each function it appears in main.c:22:33: error: 'col' undeclared (first use in this function) 22 | fscanf(fin,"%d%d",&lin,&col); | ^~~ main.c:37:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 37 | else if(dir=='V'); | ^~ main.c:38:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 38 | { | ^ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d%d%d",&c,&r,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~