Borderou de evaluare (job #2276870)
Utilizator | Data | 5 noiembrie 2018 15:51:54 | |
---|---|---|---|
Problema | Roy-Floyd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Roy()':
main.cpp:12:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(i!=j && a[i][k] && a[k][j])
^
main.cpp: In function 'int main()':
main.cpp:46:11: error: cannot convert 'int (*)[260]' to 'int (*)[105]' for argument '1' to 'void afis(int (*)[105])'
afis(a);
^
main.cpp:47:13: error: cannot convert 'int (*)[260]' to 'int (*)[105]' for argument '1' to 'void afis(int (*)[105])'
afis(rez);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !