Borderou de evaluare (job #1790137)
Utilizator | Data | 27 octombrie 2016 20:40:43 | |
---|---|---|---|
Problema | BMatrix | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int solve(int, int, int, int)’:
user.cpp:32:10: warning: unused variable ‘area’ [-Wunused-variable]
int i,j,area,maxarea=0,vf=0,top;
^
user.cpp: In function ‘int main()’:
user.cpp:62:24: error: too few arguments to function ‘int solve(int, int, int, int)’
res=max(res,solve(1,i)+solve(i+1,n));
^
user.cpp:31:5: note: declared here
int solve(int sus, int jos, int st, int dr) {
^
user.cpp:62:37: error: too few arguments to function ‘int solve(int, int, int, int)’
res=max(res,solve(1,i)+solve(i+1,n));
^
user.cpp:31:5: note: declared here
int solve(int sus, int jos, int st, int dr) {
^
user.cpp:73:24: error: too few arguments to function ‘int solve(int, int, int, int)’
res=max(res,solve(1,i)+solve(i+1,n));
^
user.cpp:31:5: note: declared here
int solve(int sus, int jos, int st, int dr) {
^
user.cpp:73:37: error: too few arguments to function ‘int solve(int, int, int, int)’
res=max(res,solve(1,i)+solve(i+1,n));
^
user.cpp:31:5: note: declared here
int solve(int sus, int jos, int st, int dr) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !