Borderou de evaluare (job #3169123)
Utilizator | Data | 14 noiembrie 2023 11:37:43 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:85:13: error: cannot convert 'int*' to 'short int*'
85 | bfs(x,y,dist1);
| ^~~~~
| |
| int*
main.cpp:27:30: note: initializing argument 3 of 'void bfs(int, int, short int*)'
27 | void bfs(int a, int b, short distanta[NRMAX])
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:86:13: error: cannot convert 'int*' to 'short int*'
86 | bfs(y,x,dist2);
| ^~~~~
| |
| int*
main.cpp:27:30: note: initializing argument 3 of 'void bfs(int, int, short int*)'
27 | void bfs(int a, int b, short distanta[NRMAX])
| ~~~~~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !