Borderou de evaluare (job #1130078)
Utilizator | Data | 28 februarie 2014 11:13:36 | |
---|---|---|---|
Problema | Placare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:11: error: expected initializer before numeric constant
int v[201]301],x[100];
^
user.cpp: In function ‘int main()’:
user.cpp:12:14: error: ‘x’ was not declared in this scope
fin>>x[++k];
^
user.cpp:15:11: error: ‘x’ was not declared in this scope
p=x[i];
^
user.cpp:22:50: error: ‘v’ was not declared in this scope
for(j=dr;j<=dr+p-1&&ok==1;j++)if(v[jos][j]!=0)ok=0;
^
user.cpp:27:38: error: ‘v’ was not declared in this scope
for(j=j;j<=a;j++)v[jos][j]=p;
^
user.cpp:41:49: error: ‘v’ was not declared in this scope
for(j=jos;j<=jos-p-1;j++)if(v[j][dr]!=0)ok=0;
^
user.cpp:45:44: error: ‘v’ was not declared in this scope
for(j=jos;j<=a;j++)v[j][dr]=-p;
^
user.cpp:57:34: error: ‘v’ was not declared in this scope
for(j=1;j<=m;j++)fout<<v[i][j]<<' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !