Borderou de evaluare (job #1754133)

Utilizator babiminuneBabi Minune babiminune Data 7 septembrie 2016 16:32:22
Problema Pm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:41:20: error: ‘x’ was not declared in this scope scanf("%d %d",&x,&y); n=x+y; ^ user.cpp:41:23: error: ‘y’ was not declared in this scope scanf("%d %d",&x,&y); n=x+y; ^ user.cpp:41:27: error: ‘n’ was not declared in this scope scanf("%d %d",&x,&y); n=x+y; ^ user.cpp:43:5: error: ‘dp’ was not declared in this scope dp[0][0][1].init(); dp[1][0][0].init(); l=1; ^ user.cpp:43:45: error: ‘l’ was not declared in this scope dp[0][0][1].init(); dp[1][0][0].init(); l=1; ^ user.cpp:65:5: error: ‘sol’ was not declared in this scope sol=dp[0][l^1][y]+dp[1][l^1][y]; ^ user.cpp:38:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm.in","r",stdin); ^ user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm.out","w",stdout); ^

Ceva nu functioneaza?