Borderou de evaluare (job #1385794)

Utilizator thewildnathNathan Wildenberg thewildnath Data 12 martie 2015 13:10:25
Problema Terenuri3D Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bfs()’: user.cpp:38:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v[nod].size (); ++i) ^ user.cpp: In function ‘bool dijkstra()’: user.cpp:66:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v[nod.x].size (); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:154:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < v[i].size (); ++j) ^ user.cpp:164:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < v[i].size (); ++j) ^ user.cpp:89:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("terenuri3d.in", "r", stdin); ^ user.cpp:90:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("terenuri3d.out", "w", stdout); ^ user.cpp:94:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &n, &m, &e); ^ user.cpp:97:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^ user.cpp:99:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &cost[x][y]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbCost gresit!0
20ms576kbCost gresit!0
34ms972kbCost gresit!0
48ms1292kbCost gresit!0
516ms1608kbCost gresit!0
636ms2356kbCost gresit!0
744ms2532kbCost gresit!0
880ms3072kbCost gresit!0
9152ms3748kbCost gresit!0
10156ms3748kbCost gresit!0
Punctaj total0

Ceva nu functioneaza?