Borderou de evaluare (job #2041001)
Utilizator | Data | 16 octombrie 2017 19:29:18 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:36: error: declaration of ‘a’ as array of references
int schibare1(int i,int x,int &a[][])
^
user.cpp: In function ‘int schibare1(...)’:
user.cpp:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:9:35: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
int schibare2(int i,int x,int a[][])
^
user.cpp: In function ‘int schibare2(...)’:
user.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:14:33: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
int suma1(int i, int x, int a[][])
^
user.cpp: In function ‘int suma1(...)’:
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: At global scope:
user.cpp:20:33: error: declaration of ‘a’ as multidimensional array must have bounds for all dimensions except the first
int suma2(int i, int x, int a[][])
^
user.cpp: In function ‘int suma2(...)’:
user.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !