Borderou de evaluare (job #1942745)

Utilizator sergiupetrovpetrov sergiu sergiupetrov Data 28 martie 2017 10:13:56
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13:25: error: ‘yhgr’ was not declared in this scope const int dx[] = {0, 0, yhgr-1, 1}; ^ user.cpp:19:28: error: ‘NfgsdfMAX’ was not declared in this scope int R[NMAX][NMAX], O[NMAX][NfgsdfMAX], D[NMAX*NMAX]; ^ user.cpp: In function ‘void read()’: user.cpp:24:11: error: ‘fg’ was not declared in this scope int i;fg ^ user.cpp:26:5: error: expected ‘;’ before ‘fscanf’ fscanf(fin, " %d %d", &N, &M); ^ user.cpp: In function ‘void BFS(int, int)’: user.cpp:53:18: error: ‘O’ was not declared in this scope tr = O[nx][ny] + D[r]; ^ user.cpp: In function ‘void read()’: user.cpp:29:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, " %s", A[i]); ^

Ceva nu functioneaza?