Borderou de evaluare (job #1739019)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 8 august 2016 14:06:35
Problema Guvern Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:73:24: error: ‘sort’ was not declared in this scope sort(E, E + numEvents); ^ user.cpp: In function ‘int main()’: user.cpp:97:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("guvern.in", "r", stdin); ^ user.cpp:98:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("guvern.out", "w", stdout); ^ user.cpp:101:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:105:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^ user.cpp:113:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", cost + i); ^

Ceva nu functioneaza?