Borderou de evaluare (job #1352968)

Utilizator cosmyoPaunel Cosmin cosmyo Data 21 februarie 2015 13:26:32
Problema Por Costel si Algoritmul Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bellman_ford(int)’: user.cpp:31:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a[k].size(); ++i) ^ user.cpp: In function ‘void bfs(int)’: user.cpp:62:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < b[k].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:114:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < b[i].size(); ++j) ^ user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algoritm.in", "r", stdin); ^ user.cpp:79:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algoritm.out", "w", stdout); ^ user.cpp:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cs); ^ user.cpp:83:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:87:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit20340kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?