Borderou de evaluare (job #1907178)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 6 martie 2017 18:09:10
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int BellmanFord(int)’: user.cpp:27:27: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] predecessor[node] = NULL; ^ user.cpp: In function ‘int main()’: user.cpp:76:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", dist[node]); ^ user.cpp:62:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bellmanford.in", "r", stdin); ^ user.cpp:63:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bellmanford.out", "w", stdout); ^ user.cpp:65:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &vertices, &edges); ^ user.cpp:68:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &u, &v, &weight); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms656kbOK55
20ms656kbOK55
30ms672kbOK55
40ms668kbOK55
58ms700kbIncorect00
60ms672kbOK510
70ms668kbOK5
8Depăşit1236kbTime limit exceeded.00
9Depăşit1928kbTime limit exceeded.0
104ms680kbOK5
11Depăşit1692kbTime limit exceeded.00
12Depăşit3624kbTime limit exceeded.0
13Depăşit2748kbTime limit exceeded.0
14Depăşit4628kbTime limit exceeded.0
15Depăşit5616kbTime limit exceeded.00
16Depăşit4452kbTime limit exceeded.0
1712ms684kbOK5
18Depăşit5904kbTime limit exceeded.00
19Depăşit7080kbTime limit exceeded.0
2024ms704kbOK5
Punctaj total30

Ceva nu functioneaza?