Borderou de evaluare (job #2906184)

Utilizator popescuadrianpopescuadrian popescuadrian Data 25 mai 2022 00:37:05
Problema Cuplaj maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void bellmanford(int)': main.cpp:28:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | for(i=0; i<adj[curr].size(); i++) | ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int dijkstra(int, int, int)': main.cpp:58:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for(i=0; i<adj[curr].size(); i++) | ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:101:11: warning: unused variable 'j' [-Wunused-variable] 101 | int i,j,k,l,n,m,a,b,capedge,costedge,st,fs,cst,cp,nr; | ^ main.cpp:101:13: warning: unused variable 'k' [-Wunused-variable] 101 | int i,j,k,l,n,m,a,b,capedge,costedge,st,fs,cst,cp,nr; | ^ main.cpp:101:15: warning: unused variable 'l' [-Wunused-variable] 101 | int i,j,k,l,n,m,a,b,capedge,costedge,st,fs,cst,cp,nr; | ^ main.cpp:101:25: warning: unused variable 'capedge' [-Wunused-variable] 101 | int i,j,k,l,n,m,a,b,capedge,costedge,st,fs,cst,cp,nr; | ^~~~~~~ main.cpp:101:33: warning: unused variable 'costedge' [-Wunused-variable] 101 | int i,j,k,l,n,m,a,b,capedge,costedge,st,fs,cst,cp,nr; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbCorect10
21ms184kbCorect10
318ms1155kbCorect10
414ms1093kbCorect10
520ms1105kbCorect10
64ms532kbKilled by Signal 110
71ms184kbKilled by Signal 110
81ms184kbKilled by Signal 110
910ms569kbKilled by Signal 110
101ms184kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?