Borderou de evaluare (job #1528048)

Utilizator mariakKapros Maria mariak Data 18 noiembrie 2015 23:13:58
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve()’: user.cpp:30:34: error: ‘dp’ was not declared in this scope dp2[i][j] += dp[i + dx[q]][j + dy[q]]; ^ user.cpp: In function ‘int main()’: user.cpp:38:11: error: ‘write’ was not declared in this scope write(); ^ user.cpp: In function ‘void read()’: user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("homm.in", "r", stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("homm.out", "w", stdout); ^ user.cpp:15:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &K); ^ user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M[i][j]); ^ user.cpp:19:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &xi, &yi, &xf, &yf); ^

Ceva nu functioneaza?