Pagini recente » Borderou de evaluare (job #1175071) | Borderou de evaluare (job #158912) | Borderou de evaluare (job #2800106) | Borderou de evaluare (job #1335710) | Borderou de evaluare (job #3040789)
Borderou de evaluare (job #3040789)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:24: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
42 | nr0[i]=nr0[i-1]+x^1;
| ~~~~~~~~^~
main.cpp:34:17: warning: unused variable 'l' [-Wunused-variable]
34 | int n,i,j,k,l,x;
| ^
main.cpp: In function 'void opt(int, int, int, int, int)':
main.cpp:29:8: warning: 'best' may be used uninitialized [-Wmaybe-uninitialized]
29 | opt(k,st,med-1,bestl,best);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:20:11: note: 'best' was declared here
20 | int i,best;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 557kb | Incorect | 0 |
| 2 | 4ms | 2392kb | Incorect | 0 |
| 3 | 1ms | 1343kb | Incorect | 0 |
| 4 | 3ms | 2392kb | OK | 5 |
| 5 | 1ms | 1867kb | OK | 5 |
| 6 | 1ms | 2392kb | Incorect | 0 |
| 7 | 1ms | 2392kb | Incorect | 0 |
| 8 | 1ms | 2392kb | Incorect | 0 |
| 9 | 3ms | 2392kb | Incorect | 0 |
| 10 | 1ms | 2396kb | Incorect | 0 |
| 11 | 1ms | 2392kb | Incorect | 0 |
| 12 | 2ms | 2129kb | Incorect | 0 |
| 13 | 1ms | 2129kb | Incorect | 0 |
| 14 | 1ms | 2392kb | Incorect | 0 |
| 15 | 1ms | 2392kb | Incorect | 0 |
| 16 | 1ms | 2129kb | Incorect | 0 |
| 17 | 3ms | 2392kb | Incorect | 0 |
| 18 | 3ms | 2392kb | Incorect | 0 |
| 19 | 1ms | 2392kb | Incorect | 0 |
| 20 | 1ms | 2392kb | Incorect | 0 |
| Punctaj total | 10 |