Borderou de evaluare (job #2425624)

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

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
14ms1310kbOK55
24ms1310kbOK55
34ms1310kbOK55
44ms1310kbOK55
55ms1310kbOK55
64ms1310kbOK510
78ms1310kbOK5
851ms2228kbOK515
960ms2228kbOK5
1010ms1310kbOK5
1184ms2883kbOK520
12147ms3407kbOK5
13104ms3014kbOK5
14168ms4194kbOK5
15220ms4587kbOK515
16194ms4063kbOK5
1729ms1310kbOK5
18258ms5242kbOK515
19341ms6029kbOK5
2035ms1310kbOK5
Punctaj total100

Ceva nu functioneaza?