Pagini recente » Borderou de evaluare (job #1269380) | Borderou de evaluare (job #813428) | Borderou de evaluare (job #512663) | Borderou de evaluare (job #1846330) | Borderou de evaluare (job #1460476)
Borderou de evaluare (job #1460476)
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 |
1 | Depăşit | 15712kb | Time limit exceeded. | 0 |
Punctaj total | 0 |