Pagini recente » Borderou de evaluare (job #2127039) | Borderou de evaluare (job #1950013) | Borderou de evaluare (job #1510230) | Borderou de evaluare (job #1115951) | Borderou de evaluare (job #1938126)
Borderou de evaluare (job #1938126)
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 |
1 | 0ms | 608kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |