Borderou de evaluare (job #2309245)
Utilizator | Data | 28 decembrie 2018 18:41:03 | |
---|---|---|---|
Problema | Bemo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(int, int)':
main.cpp:52:19: error: 'a' was not declared in this scope
printf("%d ", a[x][y]);
^
main.cpp: In function 'int main()':
main.cpp:68:17: error: 'a' was not declared in this scope
pos[a[i][j]] = {i, j};
^
main.cpp:61:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in", "r", stdin);
^
main.cpp:62:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out", "w", stdout);
^
main.cpp:63:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:67:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !