Pagini recente » Borderou de evaluare (job #1681504) | Borderou de evaluare (job #2448145) | Borderou de evaluare (job #2235309) | Borderou de evaluare (job #1689533) | Borderou de evaluare (job #2109142)
Borderou de evaluare (job #2109142)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i & 1][j] = (dp[i & 1][j - i] + dp[1 - i & 1][j - i]) % MOD;
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aurel.in", "r", stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aurel.out", "w", stdout);
^
user.cpp:16:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |