Borderou de evaluare (job #1136980)
| Utilizator | Data | 9 martie 2014 11:41:56 | |
|---|---|---|---|
| Problema | Alpin | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:8:9: error: expected initializer before ‘H1’
int far H1[202][101], far H2[202][101];
^
user.cpp:9:14: error: expected initializer before ‘L1’
unsigned far L1[202][101], far L2[202][101];
^
user.cpp:10:10: error: expected initializer before ‘D’
char far D[202][202];
^
user.cpp:11:10: error: expected initializer before ‘F’
char far F[202][202];
^
user.cpp: In function ‘int& H(int, int)’:
user.cpp:13:52: error: ‘H2’ was not declared in this scope
inline int& H(int X, int Y) { if (Y >= 101) return H2[X][Y-101]; else return H1[X][Y]; }
^
user.cpp:13:78: error: ‘H1’ was not declared in this scope
inline int& H(int X, int Y) { if (Y >= 101) return H2[X][Y-101]; else return H1[X][Y]; }
^
user.cpp: In function ‘unsigned int& L(int, int)’:
user.cpp:14:57: error: ‘L2’ was not declared in this scope
inline unsigned& L(int X, int Y) { if (Y >= 101) return L2[X][Y-101]; else return L1[X][Y]; }
^
user.cpp:14:83: error: ‘L1’ was not declared in this scope
inline unsigned& L(int X, int Y) { if (Y >= 101) return L2[X][Y-101]; else return L1[X][Y]; }
^
user.cpp: In function ‘void ReadData()’:
user.cpp:23:7: error: ‘i’ was not declared in this scope
for (i = 1; i <= N; i++)
^
user.cpp:24:8: error: ‘j’ was not declared in this scope
for (j = 1; j <= N; j++)
^
user.cpp:26:38: error: ‘D’ was not declared in this scope
if (i > 1) if (H(i-1,j) < H(i,j)) D[i][j] = D[i][j] | Up;
^
user.cpp:27:38: error: ‘D’ was not declared in this scope
if (i < N) if (H(i+1,j) < H(i,j)) D[i][j] = D[i][j] | Down;
^
user.cpp:28:38: error: ‘D’ was not declared in this scope
if (j > 1) if (H(i,j-1) < H(i,j)) D[i][j] = D[i][j] | Left;
^
user.cpp:29:38: error: ‘D’ was not declared in this scope
if (j < N) if (H(i,j+1) < H(i,j)) D[i][j] = D[i][j] | Right;
^
user.cpp:30:4: error: ‘F’ was not declared in this scope
F[i][j] = D[i][j];
^
user.cpp:30:14: error: ‘D’ was not declared in this scope
F[i][j] = D[i][j];
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
