Borderou de evaluare (job #2366791)
Utilizator | Data | 4 martie 2019 22:14:11 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void afisare(int, int, int (*)[250])':
main.cpp:35:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=b;j++)
^~~
main.cpp:37:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout<<endl;
^~~~
main.cpp: In function 'void lee(int, int)':
main.cpp:50:10: warning: unused variable 'obj' [-Wunused-variable]
int obj=1;
^~~
main.cpp: In function 'int main()':
main.cpp:79:18: error: cannot convert 'int (*)[251]' to 'int (*)[250]' for argument '3' to 'void citire(int, int, int (*)[250])'
citire(n,n,mt);
^
main.cpp:82:19: error: cannot convert 'int (*)[251]' to 'int (*)[250]' for argument '3' to 'void afisare(int, int, int (*)[250])'
afisare(n,n,mt);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !