Borderou de evaluare (job #2978337)

Utilizator apocal1ps13Stefan Oprea Antoniu apocal1ps13 Data 13 februarie 2023 18:01:26
Problema TreeGCD Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 4

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:32:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 32 | if (!dp[node][j] == -1) dp[node][j] = mods; | ^~ main.cpp:32:9: note: add parentheses around left hand side expression to silence this warning 32 | if (!dp[node][j] == -1) dp[node][j] = mods; | ^~~~~~~~~~~~ | ( ) main.cpp:32:22: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] 32 | if (!dp[node][j] == -1) dp[node][j] = mods; | ~~~~~~~~~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbRaspuns gresit!0
20ms184kbRaspuns gresit!0
30ms184kbRaspuns gresit!0
40ms184kbRaspuns gresit!0
518ms708kbRaspuns gresit!0
627ms708kbRaspuns gresit!0
7303ms8179kbTime limit exceeded0
8301ms7655kbTime limit exceeded0
9300ms7655kbTime limit exceeded0
10303ms8179kbTime limit exceeded0
1118ms184kbCorect!4
Punctaj total4

Ceva nu functioneaza?