Borderou de evaluare (job #3278960)

Utilizator Mihai_999Diaconeasa Mihai Mihai_999 Data 21 februarie 2025 15:17:52
Problema Ture Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:44:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 44 | if ((mask&(1<<j)) && !mat[i][j]) | ^~ main.cpp:46:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 46 | dp[i][mask] += dp[i-1][mask^(1<<j)]; | ^~ main.cpp:46:53: error: 'j' was not declared in this scope 46 | dp[i][mask] += dp[i-1][mask^(1<<j)]; | ^ Non zero exit status: 1

Ceva nu functioneaza?