Borderou de evaluare (job #1583635)
Utilizator | Data | 29 ianuarie 2016 09:49:25 | |
---|---|---|---|
Problema | Dreptunghiuri5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: error: ‘n’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:9:22: error: ‘m’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;++i)
^
user.cpp:11:13: error: ‘j’ was not declared in this scope
for(j=1;j<=m;++j)
^
user.cpp:13:25: error: ‘x’ was not declared in this scope
scanf("%d",&x);
^
user.cpp:14:22: error: ‘a’ was not declared in this scope
if(x==0) a[i][j]=1;
^
user.cpp:15:22: error: ‘a’ was not declared in this scope
else a[i][j]=0;
^
user.cpp:16:16: error: ‘a’ was not declared in this scope
if(a[i][j] == 0) up[i][j]=up[i-1]+1;
^
user.cpp:16:30: error: ‘up’ was not declared in this scope
if(a[i][j] == 0) up[i][j]=up[i-1]+1;
^
user.cpp:18:9: error: ‘i’ was not declared in this scope
for(i=n;i>=1;--i)
^
user.cpp:19:13: error: ‘j’ was not declared in this scope
for(j=1;j<=n;++j)
^
user.cpp:21:16: error: ‘a’ was not declared in this scope
if(a[i][j] == 0)
^
user.cpp:25:24: error: ‘st’ was not declared in this scope
if(j < st[k])
^
user.cpp:25:27: error: ‘k’ was not declared in this scope
if(j < st[k])
^
user.cpp:28:40: error: ‘last’ was not declared in this scope
if(a[i+1][j] == 0) last=st[k];
^
user.cpp:32:48: error: ‘last’ was not declared in this scope
if(a[i+1][st[k]] == 0) last=st[k];
^
user.cpp:36:19: error: ‘st’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !