Borderou de evaluare (job #1751435)
Utilizator | Data | 1 septembrie 2016 13:55:40 | |
---|---|---|---|
Problema | Taxe2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:18: error: expected initializer before ‘B’
unsigned __int16 B[101][101];
^
user.cpp:7:17: error: expected initializer before ‘A’
unsigned __int8 A[101][101],n;
^
user.cpp: In function ‘void lee(int, int)’:
user.cpp:13:37: error: ‘n’ was not declared in this scope
if ((i+p1[k]>=1 && i+p1[k]<=n) && (j+p2[k]>=1 && j+p2[k]<=n))
^
user.cpp:15:17: error: ‘B’ was not declared in this scope
if (B[i+p1[k]][j+p2[k]]==0)
^
user.cpp:16:39: error: ‘A’ was not declared in this scope
B[i+p1[k]][j+p2[k]]+=(A[i+p1[k]][j+p2[k]]+B[i][j]),lee(i+p1[k],j+p2[k]);
^
user.cpp:17:50: error: ‘A’ was not declared in this scope
else if (B[i+p1[k]][j+p2[k]]>B[i][j]+A[i+p1[k]][j+p2[k]])
^
user.cpp: In function ‘int main()’:
user.cpp:23:13: error: ‘n’ was not declared in this scope
fin>>s>>n;
^
user.cpp:26:18: error: ‘A’ was not declared in this scope
fin>>A[i][j];
^
user.cpp:27:5: error: ‘B’ was not declared in this scope
B[1][1]=A[1][1];
^
user.cpp:27:13: error: ‘A’ was not declared in this scope
B[1][1]=A[1][1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !