Pagini recente » Borderou de evaluare (job #2534871) | Borderou de evaluare (job #3194428)
Borderou de evaluare (job #3194428)
Raport evaluator
Compilare:
main.cpp: In function 'int cb(int, int, int)':
main.cpp:18:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
18 | return poz;
| ^~~
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
main.cpp: In function 'int process(int)':
main.cpp:27:11: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
27 | i = cb(j,n,c) + 1;
| ~~^~~~~~~~~~~~~~~
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
In function 'int cb(int, int, int)',
inlined from 'int process(int)' at main.cpp:27:15:
main.cpp:11:23: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
11 | int med = (st + dr) >> 1;
| ~~~~^~~~~
main.cpp: In function 'int process(int)':
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 4ms | 557kb | OK | 10 | 10 |
4 | 7ms | 1081kb | OK | 10 | 10 |
5 | 14ms | 2351kb | OK | 10 | 10 |
6 | 19ms | 3100kb | OK | 10 | 10 |
7 | 19ms | 3104kb | OK | 10 | 30 |
8 | 24ms | 3862kb | OK | 10 |
9 | 24ms | 3854kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 | 10 |
Punctaj total | 100 |