Pagini recente » Borderou de evaluare (job #2970944) | Borderou de evaluare (job #2263087) | Borderou de evaluare (job #3041894) | Borderou de evaluare (job #2733018) | Borderou de evaluare (job #3040799)
Borderou de evaluare (job #3040799)
Raport evaluator
Compilare:
main.cpp: In function 'void opt(int, int, int, int, int)':
main.cpp:17:23: warning: unused variable 'j' [-Wunused-variable]
17 | int med=(l+r)/2,i,j,best;
| ^
main.cpp: In function 'int main()':
main.cpp:39:28: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
39 | zeros[i]=zeros[i-1]+x^1;
| ~~~~~~~~~~^~
main.cpp:31:17: warning: unused variable 'l' [-Wunused-variable]
31 | int n,i,j,k,l,x;
| ^
main.cpp: In function 'void opt(int, int, int, int, int)':
main.cpp:26:8: warning: 'best' may be used uninitialized [-Wmaybe-uninitialized]
26 | opt(k,l,med-1,bestl,best);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:25: note: 'best' was declared here
17 | int med=(l+r)/2,i,j,best;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 561kb | Incorect | 0 |
2 | 4ms | 2396kb | 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 | 2396kb | Incorect | 0 |
10 | 1ms | 2392kb | 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 | 4ms | 2396kb | Incorect | 0 |
19 | 1ms | 2392kb | Incorect | 0 |
20 | 2ms | 2392kb | Incorect | 0 |
Punctaj total | 10 |