Borderou de evaluare (job #1324301)
Utilizator | Data | 22 ianuarie 2015 08:17:01 | |
---|---|---|---|
Problema | Mexc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:22: error: two or more data types in declaration of ‘fil’
void fil(int i, int j)
^
user.cpp: In function ‘void vecini(int, int)’:
user.cpp:40:5: error: ‘q2’ was not declared in this scope
q2[0][p] = i;
^
user.cpp:46:28: error: ‘dx’ was not declared in this scope
l = q2[0][p] + dx[k];
^
user.cpp:47:28: error: ‘dy’ was not declared in this scope
c = q2[1][p] + dy[k];
^
user.cpp:48:40: error: ‘n’ was not declared in this scope
if( (l > 0 && c > 0 && l < n + 1 && c < m + 1) )
^
user.cpp:48:53: error: ‘m’ was not declared in this scope
if( (l > 0 && c > 0 && l < n + 1 && c < m + 1) )
^
user.cpp:49:20: error: ‘A’ was not declared in this scope
if(A[l][c].second == A[i][j].second){
^
user.cpp:51:21: error: ‘q’ was not declared in this scope
q[0][u] = l;
^
user.cpp:56:28: error: ‘T’ was not declared in this scope
if(T[ A[l][c].second ] != A[i][j].second){
^
user.cpp:58:29: error: ‘L’ was not declared in this scope
L[ A[i][j].second ].push_back(A[l][c].second);
^
user.cpp:48:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( (l > 0 && c > 0 && l < n + 1 && c < m + 1) )
^
user.cpp: In function ‘int main()’:
user.cpp:69:12: error: ‘n’ was not declared in this scope
fin >> n >> m >> D;
^
user.cpp:69:17: error: ‘m’ was not declared in this scope
fin >> n >> m >> D;
^
user.cpp:69:22: error: ‘D’ was not declared in this scope
fin >> n >> m >> D;
^
user.cpp:70:9: error: ‘i’ was not declared in this scope
for(i = 1; i <= n; i ++)
^
user.cpp:71:13: error: ‘j’ was not declared in this scope
for(j = 1; j <= m; j ++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !