Borderou de evaluare (job #1938126)

Utilizator cristibogdanPatrascu Cristian cristibogdan Data 24 martie 2017 17:21:22
Problema Razboiul lumilor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs1(int)’: user.cpp:12:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<G[nod].size();j++) ^ user.cpp: In function ‘void dfs2(int)’: user.cpp:28:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<G[nod].size();j++) ^ user.cpp:30:15: warning: array subscript is above array bounds [-Warray-bounds] if(d[2][nod]==d[0][G[nod][j].first]+G[nod][j].second) ^ user.cpp:31:20: warning: array subscript is above array bounds [-Warray-bounds] sol=d[3][nod]+G[nod][j].second; ^ user.cpp:41:16: warning: array subscript is above array bounds [-Warray-bounds] d[2][G[nod][j].first]=max(d[0][G[nod][j].first],sol); ^ user.cpp:42:16: warning: array subscript is above array bounds [-Warray-bounds] d[3][G[nod][j].first]=min(d[0][G[nod][j].first],sol); ^ user.cpp: In function ‘int main()’: user.cpp:65:8: warning: array subscript is above array bounds [-Warray-bounds] d[2][1]=d[0][1]; ^ user.cpp:66:8: warning: array subscript is above array bounds [-Warray-bounds] d[3][1]=d[1][1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms608kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?