Borderou de evaluare (job #2481675)

Utilizator Anakin1001George Giorgiu Gica Anakin1001 Data 27 octombrie 2019 11:36:07
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
12ms131kbOK5
22ms131kbOK5
33ms262kbOK5
42ms262kbIncorect0
53ms262kbIncorect0
63ms262kbIncorect0
75ms262kbIncorect0
83ms262kbIncorect0
94ms262kbIncorect0
105ms393kbIncorect0
115ms393kbIncorect0
127ms393kbIncorect0
134ms393kbIncorect0
1410ms393kbIncorect0
1510ms393kbKilled by Signal 110
169ms393kbKilled by Signal 110
1713ms393kbKilled by Signal 110
1814ms524kbKilled by Signal 110
1914ms524kbKilled by Signal 110
202ms131kbOK5
Punctaj total20

Ceva nu functioneaza?