Borderou de evaluare (job #1425914)

Utilizator GilgodRobert B Gilgod Data 28 aprilie 2015 15:20:46
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int bellmanFord(int)’: user.cpp:32:32: error: ‘memset’ was not declared in this scope memset(dist, INF, sizeof(dist)); ^ user.cpp: In function ‘int main()’: user.cpp:65:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(OUT, "w", stdout); ^ user.cpp: In function ‘void readData()’: user.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &N, &M); ^ user.cpp:25:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &s, &d, &c); ^

Ceva nu functioneaza?