Borderou de evaluare (job #2143933)

Utilizator akaprosAna Kapros akapros Data 26 februarie 2018 13:27:17
Problema Doctor Who Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[nod].size(); ++ i) ^ user.cpp: In function ‘int bs(int)’: user.cpp:92:21: error: ‘LcSize’ was not declared in this scope if (i + p < LcSize && Lcs[i + p] < Nod) ^ user.cpp: In function ‘void Euler(int, int)’: user.cpp:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < Comp[nod].size(); ++ i) ^ user.cpp:107:28: error: ‘LcSize’ was not declared in this scope ans = max(ans, LcSize); ^ user.cpp:117:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < T[nod].size(); ++ i) ^ user.cpp: In function ‘void Read()’: user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:37:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^

Ceva nu functioneaza?