Borderou de evaluare (job #2262383)

Utilizator ShootingHorseHorsie Horse ShootingHorse Data 17 octombrie 2018 11:15:18
Problema Graf Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'double_bfs': main.c:33:18: error: 'q_pop' undeclared (first use in this function) int q_push = q_pop = 0; ^~~~~ main.c:33:18: note: each undeclared identifier is reported only once for each function it appears in main.c:32:9: warning: variable 'q' set but not used [-Wunused-but-set-variable] int q[MAX_NODES]; ^ main.c: In function 'main': main.c:75:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:76:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("graf.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:80:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &n, &m, &x, &y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:84:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^~~~~~~~~~~~~~~~~~~~~~

Ceva nu functioneaza?