Borderou de evaluare (job #1559612)
Utilizator | FMI Condrea Florin codi22 | Data | 31 decembrie 2015 11:57:55 |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:11: error: expected initializer before numeric constant
int M[177]177],n,m,i,k,p,VX[31329],VY[31329],x,y,px1,px2,py1,py2;
^
user.cpp: In function ‘int main()’:
user.cpp:9:20: error: ‘n’ was not declared in this scope
scanf("%i %i",&n,&m);
^
user.cpp:9:23: error: ‘m’ was not declared in this scope
scanf("%i %i",&n,&m);
^
user.cpp:10:10: error: ‘i’ was not declared in this scope
for (i=0;i<m;i++)
^
user.cpp:12:24: error: ‘x’ was not declared in this scope
scanf("%i %i",&x,&y);
^
user.cpp:12:27: error: ‘y’ was not declared in this scope
scanf("%i %i",&x,&y);
^
user.cpp:13:9: error: ‘M’ was not declared in this scope
M[x][y]=1;
^
user.cpp:15:26: error: ‘px1’ was not declared in this scope
scanf("%i %i %i %i",&px1,&py1,&px2,&py2);
^
user.cpp:15:31: error: ‘py1’ was not declared in this scope
scanf("%i %i %i %i",&px1,&py1,&px2,&py2);
^
user.cpp:15:36: error: ‘px2’ was not declared in this scope
scanf("%i %i %i %i",&px1,&py1,&px2,&py2);
^
user.cpp:15:41: error: ‘py2’ was not declared in this scope
scanf("%i %i %i %i",&px1,&py1,&px2,&py2);
^
user.cpp:16:5: error: ‘VX’ was not declared in this scope
VX[0]=px1;
^
user.cpp:17:5: error: ‘VY’ was not declared in this scope
VY[0]=py1;
^
user.cpp:18:5: error: ‘M’ was not declared in this scope
M[px1][py1]=1;
^
user.cpp:19:5: error: ‘k’ was not declared in this scope
k=0;
^
user.cpp:20:12: error: ‘p’ was not declared in this scope
while (p<=k)
^
user.cpp:22:9: error: ‘x’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !