Pagini recente » Borderou de evaluare (job #606193) | Borderou de evaluare (job #467638) | Borderou de evaluare (job #132430) | Borderou de evaluare (job #2719793) | Borderou de evaluare (job #2024152)
Borderou de evaluare (job #2024152)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:28: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i & 1][c] = (d[1 - i & 1][c + v[i]] + d[1 - i & 1][c - v[i]] + d[1 - i & 1][s]) % MOD;
^
user.cpp:31:53: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i & 1][c] = (d[1 - i & 1][c + v[i]] + d[1 - i & 1][c - v[i]] + d[1 - i & 1][s]) % MOD;
^
user.cpp:31:78: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i & 1][c] = (d[1 - i & 1][c + v[i]] + d[1 - i & 1][c - v[i]] + d[1 - i & 1][s]) % MOD;
^
user.cpp:11:13: warning: unused variable ‘lim’ [-Wunused-variable]
int n, m, lim, k, s, x;
^
user.cpp:13:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d", &n, &m, &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 0ms | 284kb | Incorect | 0 |
| 5 | 0ms | 276kb | Incorect | 0 |
| 6 | 0ms | 304kb | Incorect | 0 |
| 7 | 4ms | 452kb | Incorect | 0 |
| 8 | 16ms | 620kb | Incorect | 0 |
| 9 | 32ms | 836kb | Incorect | 0 |
| 10 | 44ms | 952kb | Incorect | 0 |
| Punctaj total | 20 |