Borderou de evaluare (job #1797360)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 4 noiembrie 2016 11:59:42
Problema Transport2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bfs(int, int)’: user.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a[x].size(); ++i) ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:48:35: error: ‘memset’ was not declared in this scope memset(viz, 0, sizeof(viz)); ^ user.cpp:31:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("transport2.in", "r", stdin); ^ user.cpp:32:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("transport2.in", "r", stdout); ^ user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:38:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &c); ^

Ceva nu functioneaza?