Borderou de evaluare (job #1460476)

Utilizator akaprosAna Kapros akapros Data 12 iulie 2015 19:15:15
Problema Plantatii Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:64:76: warning: operation on ‘lp[(j - i)]’ may be undefined [-Wsequence-point] dp[j - i][++ lp[j - i]] = nr + dp[j - i][lp[j - i] - 1]; ^ user.cpp:66:108: warning: operation on ‘lp[(((i - j) + n) + -1)]’ may be undefined [-Wsequence-point] dp[i - j + n - 1][++ lp[i - j + n - 1]] = nr + dp[i - j + n - 1][lp[i - j + n - 1] - 1]; ^ user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plantatii.in", "r", stdin); ^ user.cpp:48:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("plantatii.out", "w", stdout); ^ user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &w); ^ user.cpp:60:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit15712kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?