Borderou de evaluare (job #1751438)

Utilizator MoleRatFuia Mihai MoleRat Data 1 septembrie 2016 14:05:03
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: ‘__int16’ does not name a type __int16 B[101][101]; ^ user.cpp:7:17: error: expected initializer before ‘A’ unsigned __int8 A[101][101]; ^ user.cpp: In function ‘void lee(int, int)’: user.cpp:15:17: error: ‘B’ was not declared in this scope if (B[i+p1[k]][j+p2[k]]==0) ^ user.cpp:16:44: error: ‘A’ was not declared in this scope B[i+p1[k]][j+p2[k]]+=((int)A[i+p1[k]][j+p2[k]]+B[i][j]),lee(i+p1[k],j+p2[k]); ^ user.cpp:17:55: error: ‘A’ was not declared in this scope else if (B[i+p1[k]][j+p2[k]]>B[i][j]+(int)A[i+p1[k]][j+p2[k]]) ^ user.cpp: In function ‘int main()’: user.cpp:28:17: error: ‘A’ was not declared in this scope A[i][j]=(unsigned char)ss; ^ user.cpp:30:5: error: ‘B’ was not declared in this scope B[1][1]=(int)A[1][1]; ^ user.cpp:30:18: error: ‘A’ was not declared in this scope B[1][1]=(int)A[1][1]; ^

Ceva nu functioneaza?