Borderou de evaluare (job #1744674)

Utilizator Tester100Tester Tester100 Data 20 august 2016 03:34:46
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:34: error: expected ')' before ']' token int n, m, dp[logMax][(1 << logMax]; ^ main.cpp:11:35: error: expected ']' before ';' token int n, m, dp[logMax][(1 << logMax]; ^ main.cpp: In function 'void Dfs(int, int)': main.cpp:33:13: error: 'dp' was not declared in this scope dp[0][i] = nod; ^~ main.cpp: In function 'int Stramos(int&, int)': main.cpp:42:17: error: 'dp' was not declared in this scope x = dp[i][x]; ^~ main.cpp: In function 'int Solve(int, int)': main.cpp:56:13: error: 'dp' was not declared in this scope if (dp[j][x] != dp[j][y]) { ^~ main.cpp:61:12: error: 'dp' was not declared in this scope return dp[0][x]; ^~ main.cpp: In function 'int main()': main.cpp:113:13: error: 'dp' was not declared in this scope dp[k][i] = dp[k-1][dp[k-1][i]]; ^~ Non zero exit status: 1

Ceva nu functioneaza?