Borderou de evaluare (job #1028958)
Utilizator | Data | 14 noiembrie 2013 21:13:46 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int solutie(int**, int)’:
user.cpp:5:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void back(int**, int, int)’:
user.cpp:9:30: error: too few arguments to function ‘int solutie(int**, int)’
if(l==7 && c==10 && solutie())
^
user.cpp:3:5: note: declared here
int solutie (int *m[7], int st)
^
user.cpp:11:9: error: ‘tipar’ was not declared in this scope
tipar();
^
user.cpp: In function ‘int main()’:
user.cpp:22:18: error: cannot convert ‘int (*)[10]’ to ‘int**’ for argument ‘1’ to ‘void back(int**, int, int)’
back(newmat, mat);
^
user.cpp:18:8: warning: unused variable ‘G’ [-Wunused-variable]
FILE *G = fopen("ciclueulerian.out","w");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !