Borderou de evaluare (job #1616407)
Utilizator | Data | 27 februarie 2016 11:07:51 | |
---|---|---|---|
Problema | Colaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected initializer before ‘int’
int n,m,l1,l2,x[205],y[205];
^
user.cpp: In function ‘void citire()’:
user.cpp:22:22: error: ‘m’ was not declared in this scope
scanf("%d %d\n",&m,&n);
^
user.cpp:22:25: error: ‘n’ was not declared in this scope
scanf("%d %d\n",&m,&n);
^
user.cpp:28:9: error: ‘x’ was not declared in this scope
x[l2]=a1;
^
user.cpp:28:11: error: ‘l2’ was not declared in this scope
x[l2]=a1;
^
user.cpp:29:9: error: ‘y’ was not declared in this scope
y[l2]=b1;
^
user.cpp:34:11: error: ‘l1’ was not declared in this scope
v[l1].nr=a1;
^
user.cpp:40:10: error: ‘x’ was not declared in this scope
sort(x,x+l2);
^
user.cpp:40:14: error: ‘l2’ was not declared in this scope
sort(x,x+l2);
^
user.cpp:41:10: error: ‘y’ was not declared in this scope
sort(y,y+l2);
^
user.cpp:42:20: error: ‘l1’ was not declared in this scope
for(int i=0; i<l1; i++)
^
user.cpp:64:20: error: ‘l1’ was not declared in this scope
for(int i=0; i<l1; i+=4)
^
user.cpp:70:17: error: ‘a’ was not declared in this scope
a[x1][y1+1]=1;
^
user.cpp: In function ‘void afisare()’:
user.cpp:78:21: error: ‘l2’ was not declared in this scope
for(int i=0; i<=l2+2; i++)
^
user.cpp:82:26: error: ‘a’ was not declared in this scope
printf("%d ",a[i][j]);
^
user.cpp: In function ‘void bordare()’:
user.cpp:90:21: error: ‘l2’ was not declared in this scope
for(int i=0; i<=l2+1; i++)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !