Borderou de evaluare (job #1404656)
Utilizator | Data | 28 martie 2015 13:51:58 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:18: error: expected initializer before ‘l’
int ap[101][101] l,c,g[4],maxim=999;
^
user.cpp: In function ‘void pod(int, int)’:
user.cpp:26:21: error: ‘maxim’ was not declared in this scope
if(ceva<maxim)
^
user.cpp: In function ‘int posibil(int, int)’:
user.cpp:38:11: error: ‘l’ was not declared in this scope
if(i<=l&&j<=c&&i>0&&j>0)
^
user.cpp:38:17: error: ‘c’ was not declared in this scope
if(i<=l&&j<=c&&i>0&&j>0)
^
user.cpp: In function ‘void fill(int, int)’:
user.cpp:50:45: error: ‘ap’ was not declared in this scope
if((m[i+di[k]][j+dj[k]]==m[i][j])&&(ap[i+di[k]][j+dj[k]]==0))
^
user.cpp:46:9: warning: unused variable ‘r’ [-Wunused-variable]
int r,k;
^
user.cpp:47:10: warning: unused variable ‘v’ [-Wunused-variable]
char v;
^
user.cpp: In function ‘int main()’:
user.cpp:60:10: error: ‘l’ was not declared in this scope
fin>>l>>c;
^
user.cpp:60:13: error: ‘c’ was not declared in this scope
fin>>l>>c;
^
user.cpp:82:16: error: ‘ap’ was not declared in this scope
if(ap[i][j]==0)
^
user.cpp:84:17: error: ‘g’ was not declared in this scope
g[m[i][j]-48]++;
^
user.cpp:93:11: error: ‘g’ was not declared in this scope
fout<<g[1]<<" "<<g[2]<<" "<<g[3]<<" "<<maxim<<"\n";
^
user.cpp:93:44: error: ‘maxim’ was not declared in this scope
fout<<g[1]<<" "<<g[2]<<" "<<g[3]<<" "<<maxim<<"\n";
^
user.cpp:59:13: warning: unused variable ‘r’ [-Wunused-variable]
int i,j,r;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !