Borderou de evaluare (job #2631140)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 29 iunie 2020 10:24:03
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:60:29: warning: unused variable 'j' [-Wunused-variable] int m , x , y , z , i , j , ok; ^ main.cpp:60:33: warning: unused variable 'ok' [-Wunused-variable] int m , x , y , z , i , j , ok; ^~ 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:61: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:64: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
852ms2228kbOK515
960ms2359kbOK5
106ms1441kbOK5
1184ms2883kbOK520
12140ms3407kbOK5
1396ms3014kbOK5
14184ms4149kbOK5
15249ms4677kbOK515
16184ms4063kbOK5
178ms1310kbOK5
18251ms5312kbOK515
19310ms5926kbOK5
2011ms1572kbOK5
Punctaj total100

Ceva nu functioneaza?