Borderou de evaluare (job #2407998)

Utilizator akaprosAna Kapros akapros Data 17 aprilie 2019 14:25:51
Problema Stup Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void AddEdge(int, int)': main.cpp:22:33: error: 'edge' was not declared in this scope if (u < maxM && v < maxM && edge[u][v]) ^~~~ main.cpp:26:9: error: 'edge' was not declared in this scope edge[u][v] = edge[v][u] = true; ^~~~ main.cpp: In function 'int main()': main.cpp:77:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &x, &y); ^ main.cpp:82:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?