Borderou de evaluare (job #1658688)

Utilizator sorynsooSorin Soo sorynsoo Data 21 martie 2016 18:51:42
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bellman(int, int)’: user.cpp:27:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<graf[crt].size(); i++) ^ user.cpp: In function ‘bool dijkstra(int, int)’: user.cpp:59:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<graf[ crt_nod ].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:84:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, x, y, z, w; ^ user.cpp:82:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.in","r",stdin); ^ user.cpp:83:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.out","w",stdout); ^ user.cpp:85:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &n, &m, &st, &fin); ^ user.cpp:88:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x, &y, &z, &w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit224kbTime limit exceeded.0
2Depăşit224kbTime limit exceeded.0
3Depăşit224kbTime limit exceeded.0
4Depăşit228kbTime limit exceeded.0
5Depăşit224kbTime limit exceeded.0
6Depăşit228kbTime limit exceeded.0
7Depăşit232kbTime limit exceeded.0
8Depăşit228kbTime limit exceeded.0
9Depăşit228kbTime limit exceeded.0
10Depăşit224kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?