Borderou de evaluare (job #1751446)

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

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: ‘__int16’ does not name a type __int16 B[101][101]; ^ user.cpp:8:18: error: expected initializer before ‘A’ unsigned __int8 A[101][101]; ^ user.cpp: In function ‘void lee(int, int)’: user.cpp:16:17: error: ‘B’ was not declared in this scope if (B[i+p1[k]][j+p2[k]]==0) ^ user.cpp:17: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:18: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:29:17: error: ‘A’ was not declared in this scope A[i][j]=(unsigned char)ss; ^ user.cpp:31:5: error: ‘B’ was not declared in this scope B[1][1]=(int)A[1][1]; ^ user.cpp:31:18: error: ‘A’ was not declared in this scope B[1][1]=(int)A[1][1]; ^

Ceva nu functioneaza?