Borderou de evaluare (job #2481676)

Utilizator Anakin1001George Giorgiu Gica Anakin1001 Data 27 octombrie 2019 11:36:39
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int j = 0; j < graph[node].size(); j++ ){ ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:9:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define FOR(i, a, b) for( i = a; i <= b; i++ ) ^ main.cpp:72:9: note: in expansion of macro 'FOR' FOR( st, 1, N ); ^~~ main.cpp:73:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' dp[i][st] = inf; ^~ main.cpp:80:75: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if ( new_node != node && ( st >> ( new_node - 1 ) & 1 == 0 ) ){ ~~^~~~ main.cpp:73:23: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized] dp[i][st] = inf; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
22ms131kbOK5
33ms262kbOK5
42ms262kbIncorect0
53ms262kbIncorect0
63ms262kbIncorect0
74ms262kbIncorect0
84ms262kbIncorect0
94ms262kbIncorect0
105ms393kbIncorect0
115ms393kbIncorect0
127ms393kbIncorect0
134ms393kbIncorect0
1410ms393kbIncorect0
1512ms524kbIncorect0
1617ms524kbIncorect0
1721ms524kbIncorect0
1824ms655kbIncorect0
1933ms786kbIncorect0
203ms131kbOK5
Punctaj total20

Ceva nu functioneaza?