Borderou de evaluare (job #1907163)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 6 martie 2017 18:04:36
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:26:27: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] predecessor[node] = NULL; ^ user.cpp: In function ‘int main()’: user.cpp:61: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:62: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:64: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:67: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
10ms644kbOK55
20ms648kbOK55
30ms660kbOK55
40ms660kbOK55
58ms684kbIncorect00
60ms664kbOK510
70ms660kbOK5
8Depăşit1164kbTime limit exceeded.00
9Depăşit1884kbTime limit exceeded.0
104ms672kbOK5
11Depăşit1568kbTime limit exceeded.00
12Depăşit3560kbTime limit exceeded.0
13Depăşit2660kbTime limit exceeded.0
14Depăşit4532kbTime limit exceeded.0
15Depăşit5508kbTime limit exceeded.00
16Depăşit4340kbTime limit exceeded.0
178ms676kbOK5
18Depăşit5708kbTime limit exceeded.00
19Depăşit6876kbTime limit exceeded.0
2020ms692kbOK5
Punctaj total30

Ceva nu functioneaza?