Borderou de evaluare (job #2631158)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 29 iunie 2020 10:58:26
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int bellmanford(int)': main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:29: warning: unused variable 'j' [-Wunused-variable] int m , x , y , z , i , j , ok; ^ main.cpp:57:33: warning: unused variable 'ok' [-Wunused-variable] int m , x , y , z , i , j , ok; ^~ main.cpp:55: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:56: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:58:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &m); ^ main.cpp:61:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &x , &y , &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1310kbOK55
24ms1310kbOK55
34ms1310kbOK55
44ms1310kbOK55
55ms1310kbOK55
64ms1310kbOK510
75ms1310kbOK5
847ms2097kbOK515
960ms2228kbOK5
106ms1310kbOK5
1176ms2752kbOK520
12143ms3407kbOK5
13103ms2883kbOK5
14179ms4059kbOK5
15236ms4546kbOK515
16191ms3932kbOK5
1710ms1310kbOK5
18255ms5050kbOK515
19303ms5795kbOK5
2011ms1572kbOK5
Punctaj total100

Ceva nu functioneaza?