Borderou de evaluare (job #2253872)
Utilizator | Data | 4 octombrie 2018 15:15:37 | |
---|---|---|---|
Problema | Tsunami | 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 col[nmax*nmax],p=1,u=0,uu,n,m,h,nr;
^~~
user.cpp: In function ‘void recfill(int, int)’:
user.cpp:12:23: error: ‘h’ was not declared in this scope
if (i-1>=1&&v[i-1][j]<h&&v[i-1][j]!=0) {
^
user.cpp:13:20: error: ‘nr’ was not declared in this scope
if (v[i-1][j]!=0) nr++;
^~
user.cpp:15:41: error: ‘uu’ was not declared in this scope
uu++;
^~
user.cpp:16:41: error: ‘lin’ was not declared in this scope
lin[uu]=i-1;
^~~
user.cpp:17:41: error: ‘col’ was not declared in this scope
col[uu]=j;}
^~~
user.cpp:18:10: error: ‘n’ was not declared in this scope
if (i+1<=n&&v[i+1][j]<h&&v[i+1][j]!=0) {if (v[i+1][j]!=0) nr++;
^
user.cpp:18:23: error: ‘h’ was not declared in this scope
if (i+1<=n&&v[i+1][j]<h&&v[i+1][j]!=0) {if (v[i+1][j]!=0) nr++;
^
user.cpp:18:59: error: ‘nr’ was not declared in this scope
if (i+1<=n&&v[i+1][j]<h&&v[i+1][j]!=0) {if (v[i+1][j]!=0) nr++;
^~
user.cpp:20:41: error: ‘uu’ was not declared in this scope
uu++;
^~
user.cpp:21:41: error: ‘lin’ was not declared in this scope
lin[uu]=i+1;
^~~
user.cpp:22:41: error: ‘col’ was not declared in this scope
col[uu]=j;}
^~~
user.cpp:23:23: error: ‘h’ was not declared in this scope
if (j-1>=1&&v[i][j-1]<h&&v[i][j-1]!=0) {if (v[i][j-1]!=0) nr++;
^
user.cpp:23:59: error: ‘nr’ was not declared in this scope
if (j-1>=1&&v[i][j-1]<h&&v[i][j-1]!=0) {if (v[i][j-1]!=0) nr++;
^~
user.cpp:25:41: error: ‘uu’ was not declared in this scope
uu++;
^~
user.cpp:26:41: error: ‘lin’ was not declared in this scope
lin[uu]=i;
^~~
user.cpp:27:41: error: ‘col’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !