Pagini recente » Borderou de evaluare (job #360004) | Borderou de evaluare (job #198511) | Borderou de evaluare (job #785367) | Borderou de evaluare (job #1002602) | Borderou de evaluare (job #2323698)
Borderou de evaluare (job #2323698)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("avele.in", "r", stdin);
^
main.cpp:38:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("avele.out", "w", stdout);
^
main.cpp:40:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &cost_add, &cost_rem);
^
main.cpp:43:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &l[i], &r[i]);
^
main.cpp:49:14: warning: iteration 58 invokes undefined behavior [-Waggressive-loop-optimizations]
dp[0][i] = cost_add + dp[0][i - 1] + dp[0][i - 2];
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:48:17: note: within this loop
for (i = 2; i <= LIM; i++)
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 3ms | 131kb | OK | 5 |
3 | 3ms | 262kb | OK | 5 |
4 | 3ms | 393kb | OK | 5 |
5 | 4ms | 655kb | OK | 5 |
6 | 6ms | 1179kb | OK | 5 |
7 | 6ms | 1179kb | OK | 5 |
8 | 6ms | 1179kb | OK | 5 |
9 | 12ms | 2621kb | OK | 5 |
10 | 32ms | 7471kb | OK | 5 |
11 | 52ms | 12451kb | OK | 5 |
12 | 72ms | 17301kb | OK | 5 |
13 | 82ms | 22282kb | OK | 5 |
14 | 113ms | 27131kb | OK | 5 |
15 | 131ms | 31981kb | OK | 5 |
16 | 124ms | 36831kb | OK | 5 |
17 | 167ms | 41811kb | OK | 5 |
18 | 183ms | 46661kb | OK | 5 |
19 | 191ms | 49152kb | Killed by Signal 11 | 0 |
20 | 177ms | 49152kb | Killed by Signal 11 | 0 |
Punctaj total | 90 |