Borderou de evaluare (job #2978338)

Utilizator apocal1ps13Stefan Oprea Antoniu apocal1ps13 Data 13 februarie 2023 18:01:46
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
513ms696kbRaspuns gresit!0
626ms696kbRaspuns gresit!0
7301ms4661kbTime limit exceeded0
8300ms3678kbTime limit exceeded0
9300ms3796kbTime limit exceeded0
10300ms4595kbTime limit exceeded0
1120ms184kbCorect!4
Punctaj total4

Ceva nu functioneaza?