Borderou de evaluare (job #1751558)
Utilizator | Data | 1 septembrie 2016 15:52:53 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:18: error: declaration of ‘a’ as array of void
void a[1025][1025],b[1025][1025];
^
user.cpp:5:32: error: declaration of ‘b’ as array of void
void a[1025][1025],b[1025][1025];
^
user.cpp: In function ‘int r(int, int, int)’:
user.cpp:10:8: error: ‘b’ was not declared in this scope
if(b[i][j]==1){
^
user.cpp:13:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
return;
^
user.cpp:15:21: error: ‘b’ was not declared in this scope
if(ok==1&&i>1&&b[i-1][j]==b[i][j]-1){
^
user.cpp:20:20: error: ‘b’ was not declared in this scope
if(ok==1&&i<n&&b[i+1][j]==b[i][j]-1){
^
user.cpp:26:20: error: ‘b’ was not declared in this scope
if(ok==1&&j>1&&b[i][j-1]==b[i][j]-1){
^
user.cpp:32:20: error: ‘b’ was not declared in this scope
if(ok==1&&j<n&&b[i][j+1]==b[i][j]-1){
^
user.cpp: In function ‘int f(int, int, int)’:
user.cpp:41:8: error: ‘b’ was not declared in this scope
if(b[i][j]>0){
^
user.cpp:47:12: error: ‘a’ was not declared in this scope
if(a[i-1][j]<a[i][j]&&f(i-1,j,n)>b[i][j]){
^
user.cpp:47:42: error: ‘b’ was not declared in this scope
if(a[i-1][j]<a[i][j]&&f(i-1,j,n)>b[i][j]){
^
user.cpp:53:11: error: ‘a’ was not declared in this scope
if(a[i+1][j]<a[i][j]&&f(i+1,j,n)>b[i][j]){
^
user.cpp:53:41: error: ‘b’ was not declared in this scope
if(a[i+1][j]<a[i][j]&&f(i+1,j,n)>b[i][j]){
^
user.cpp:59:12: error: ‘a’ was not declared in this scope
if(a[i][j-1]<a[i][j]&&f(i,j-1,n)>b[i][j]){
^
user.cpp:59:42: error: ‘b’ was not declared in this scope
if(a[i][j-1]<a[i][j]&&f(i,j-1,n)>b[i][j]){
^
user.cpp:65:12: error: ‘a’ was not declared in this scope
if(a[i][j+1]<a[i][j]&&f(i,j+1,n)>b[i][j]){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !