Borderou de evaluare (job #2838343)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 23 ianuarie 2022 13:55:57
Problema Miting Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:61:5: error: subscripted value is neither array nor pointer nor vector 61 | di[0][0] = pos[0][0]; | ^ main.c:62:5: error: subscripted value is neither array nor pointer nor vector 62 | di[0][1] = pos[0][1]; | ^ main.c:64:18: error: 'nr' undeclared (first use in this function); did you mean 'nrl'? 64 | for(i = 2; i < nr; i ++){ | ^~ | nrl main.c:64:18: note: each undeclared identifier is reported only once for each function it appears in main.c:66:5: error: too few arguments to function 'bfs' 66 | bfs(pos[i][0],pos[i][1]); | ^~~ main.c:10:5: note: declared here 10 | int bfs(int id, int i, int j){ | ^~~ main.c: In function 'bfs': main.c:18:1: warning: control reaches end of non-void function [-Wreturn-type] 18 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?