Borderou de evaluare (job #2538804)

Utilizator ArdeleanOficialAlexandru ArdeleanOficial Data 5 februarie 2020 10:11:33
Problema Gather Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int Solve_Good()': main.cpp:69:42: warning: self-comparison always evaluates to false [-Wtautological-compare] if (mask[i.v] | cur.mask != cur.mask && dp[i.v][cur.mask] == -1 || dp[i.v][cur.mask] > dp[cur.nod][cur.mask] + (sz + 1) * i.lng) { ~~~~~~~~~^~~~~~~~~~~ main.cpp:69:42: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] main.cpp:69:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mask[i.v] | cur.mask != cur.mask && dp[i.v][cur.mask] == -1 || dp[i.v][cur.mask] > dp[cur.nod][cur.mask] + (sz + 1) * i.lng) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'bool Gen::Check()': main.cpp:93:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms262kbIncorect0
33ms262kbOK10
427ms1290kbOK10
5301ms5636kbTime limit exceeded0
6302ms5242kbTime limit exceeded0
7301ms8257kbTime limit exceeded0
841ms20496kbMemory limit exceeded0
941ms20496kbMemory limit exceeded0
1041ms20496kbMemory limit exceeded0
Punctaj total30

Ceva nu functioneaza?