Borderou de evaluare (job #1040018)
Utilizator | Data | 23 noiembrie 2013 21:07:06 | |
---|---|---|---|
Problema | Tsunami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void verify(int (*)[1005], int, int, int)’:
user.cpp:9:26: error: ‘h’ was not declared in this scope
{nr=nr+verify(v,i-1,j,h)
^
user.cpp:10:4: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:12:26: error: ‘h’ was not declared in this scope
{nr=nr+verify(v,i,j+1,h)
^
user.cpp:13:4: error: expected ‘;’ before ‘v’
v[i][j+1]=0;
^
user.cpp:16:26: error: ‘h’ was not declared in this scope
{nr=nr+verify(v,i+1,j,h)
^
user.cpp:17:4: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:19:25: error: ‘h’ was not declared in this scope
{nr=nr+verify(v,i,j-1,h)
^
user.cpp:20:3: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:21:8: error: return-statement with a value, in function returning 'void' [-fpermissive]
return nr;
^
user.cpp: In function ‘int main()’:
user.cpp:38:19: error: ‘k’ was not declared in this scope
fscanf(f,"%d",&k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !