Borderou de evaluare (job #1841143)

Utilizator alesalexandru chirila ales Data 5 ianuarie 2017 13:10:30
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void lee(int (*)[102], int, int)’: user.cpp:23:22: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(b,0,sizeof(b)); ^ user.cpp:36:24: warning: pointer to a function used in arithmetic [-Wpointer-arith] if(ok[i_urm][j_urm] && b[i_urm][j_urm]==0) ^ user.cpp:36:31: warning: pointer to a function used in arithmetic [-Wpointer-arith] if(ok[i_urm][j_urm] && b[i_urm][j_urm]==0) ^ user.cpp: In function ‘void cit()’: user.cpp:66:38: error: invalid types ‘int[int]’ for array subscript r[i][j]=-1; j[i][j]=-1; ^

Ceva nu functioneaza?