Borderou de evaluare (job #2425610)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 24 mai 2019 22:23:17
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 35

Raport evaluator

Compilare: main.cpp: In function 'bool BellmanFord(int, int)': main.cpp:39:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < V[ nod ].size(); ++i ) { ~~^~~~~~~~~~~~~~~~~ main.cpp:21:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k, nod, fiu; ^ main.cpp:21:15: warning: unused variable 'k' [-Wunused-variable] int i, j, k, nod, fiu; ^ main.cpp: In function 'int main()': main.cpp:61:18: warning: unused variable 'j' [-Wunused-variable] int n, m, i, j, k; ^ main.cpp:61:21: warning: unused variable 'k' [-Wunused-variable] int n, m, i, j, k; ^ main.cpp:58:44: 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 ); ^ main.cpp:59:46: 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 ); ^ main.cpp:64:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &n,&m ); ^ main.cpp:66:36: 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 Punctaj/grupa
14ms1310kbIncorect00
24ms1310kbIncorect00
34ms1310kbOK55
44ms1310kbOK55
55ms1310kbOK55
64ms1310kbOK50
78ms1310kbIncorect0
852ms2228kbOK50
961ms2359kbOK5
1010ms1310kbIncorect0
1183ms2883kbOK520
12137ms3407kbOK5
1399ms3014kbOK5
14177ms4063kbOK5
15240ms4587kbOK50
16170ms4063kbOK5
1729ms1310kbIncorect0
18269ms5242kbOK50
19317ms6029kbOK5
2035ms1310kbIncorect0
Punctaj total35

Ceva nu functioneaza?