Borderou de evaluare (job #1673877)

Utilizator vladinski.onVlad-Alexandru Onu vladinski.on Data 4 aprilie 2016 10:36:50
Problema Crescator2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:29: error: size of array ‘table’ is too large long long table[50001][50001]; ^ user.cpp: In function ‘int partition(int, int)’: user.cpp:14:17: error: ‘table’ was not declared in this scope table[i][j]=table[i][j-1]; ^ user.cpp:17:13: error: ‘table’ was not declared in this scope table[i][j]=table[i][j-1]+table[i-j][j]; ^ user.cpp:21:12: error: ‘table’ was not declared in this scope return table[sum][largestNumber]; ^ user.cpp: In function ‘int main()’: user.cpp:35:9: error: ‘table’ was not declared in this scope table[i][0]=0; ^ user.cpp:37:9: error: ‘table’ was not declared in this scope table[0][i]=1; ^ user.cpp:42:13: error: ‘table’ was not declared in this scope cout<<(table[i][i-1]+1)%700001<<" "; ^ user.cpp: In function ‘int partition(int, int)’: user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?