Borderou de evaluare (job #1002006)
Utilizator | Data | 26 septembrie 2013 18:22:45 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:29: error: ‘INF’ was not declared in this scope
int i,j,n,m,x1,x2,y1,y2,Min=INF,xx,yy;
^
user.cpp: In function ‘void bordare(int (*)[110])’:
user.cpp:17:13: error: ‘a’ was not declared in this scope
A[i][0]=a[i][m+1]=-1;
^
user.cpp: In function ‘void lee(int (*)[110], queue*, int, int)’:
user.cpp:29:5: error: ‘cost’ was not declared in this scope
cost=0;
^
user.cpp:32:9: error: ‘x’ was not declared in this scope
x=C[i].x;
^
user.cpp:33:9: error: ‘y’ was not declared in this scope
y=C[i].y;
^
user.cpp: In function ‘int main()’:
user.cpp:52:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",n);
^
user.cpp:56:29: error: ‘strlen’ was not declared in this scope
for(j=0; j<=strlen(m); ++j)
^
user.cpp:58:27: error: ‘a’ was not declared in this scope
if(s[j]=='.') a[i][j+1]=0;
^
user.cpp:59:33: error: ‘a’ was not declared in this scope
else if (s[j]=='#') a[i][j+1]=1;
^
user.cpp:61:1: error: expected ‘}’ at end of input
}
^
user.cpp:61:1: error: expected ‘}’ at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !