Borderou de evaluare (job #2631183)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 29 iunie 2020 12:46:40
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:36: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:63:29: warning: unused variable 'j' [-Wunused-variable] int m , x , y , z , i , j , ok; ^ main.cpp:63:33: warning: unused variable 'ok' [-Wunused-variable] int m , x , y , z , i , j , ok; ^~ main.cpp:61: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:62: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: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:67: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
13ms1310kbOK55
24ms1310kbOK55
34ms1310kbOK55
44ms1310kbOK55
55ms1310kbOK55
64ms1310kbOK510
77ms1310kbOK5
851ms2228kbOK515
959ms2228kbOK5
108ms1310kbOK5
1183ms2883kbOK520
12135ms3407kbOK5
13102ms3014kbOK5
14179ms4063kbOK5
15225ms4587kbOK515
16175ms4063kbOK5
1717ms1310kbOK5
18258ms5242kbOK515
19302ms6029kbOK5
2024ms1310kbOK5
Punctaj total100

Ceva nu functioneaza?