Borderou de evaluare (job #1215787)

Utilizator vendettaSalajan Razvan vendetta Data 2 august 2014 11:47:43
Problema Pizza Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:19:36: error: ‘xx’ was not declared in this scope dp[i][j] = min( dp[xx+1][j-1] - x[i], dp[i][j-1] - x[i+j-1] ); ^ user.cpp:21:35: error: ‘xx’ was not declared in this scope dp[i][j] = max(dp[xx+1][j-1] + x[i], dp[i][j-1] + x[i+j-1]); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pizza.in", "r", stdin); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pizza.out", "w", stdout); ^

Ceva nu functioneaza?