Borderou de evaluare (job #2089650)

Utilizator akaprosAna Kapros akapros Data 16 decembrie 2017 21:20:31
Problema Compania 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:41:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < conf[son][s].size(); ++ i) ^ user.cpp:63:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int it1 = 0; it1 < conf[son1][s1].size(); ++ it1) ^ user.cpp:64:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int it2 = 0; it2 < conf[son2][s2].size(); ++ it2) ^ user.cpp: In function ‘int main()’: user.cpp:95:10: error: ‘dp’ was not declared in this scope if (!dp[1][(n % 3) != 0]) return 0; ^ user.cpp:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:91:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^

Ceva nu functioneaza?