Pagini recente » Borderou de evaluare (job #290650) | Borderou de evaluare (job #1401415) | Borderou de evaluare (job #488576) | Borderou de evaluare (job #803430) | Borderou de evaluare (job #3000735)
Borderou de evaluare (job #3000735)
Raport evaluator
Compilare:
main.cpp: In function 'bool incape(int, int, int)':
main.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
17 | }
| ^
main.cpp: In function 'int cautarebinara(int, int, int)':
main.cpp:23:20: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
23 | int med=(st+dr)/2;
| ~~~^~~~
main.cpp:32:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
32 | return ans;
| ^~~
main.cpp:23:20: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
23 | int med=(st+dr)/2;
| ~~~^~~~
main.cpp: In function 'int main()':
main.cpp:46:32: warning: 'med' is used uninitialized in this function [-Wuninitialized]
46 | fout<<cautarebinara(k,n,med);
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | Incorect | 0 |
| 2 | 0ms | 184kb | Incorect | 0 |
| 3 | 0ms | 184kb | Incorect | 0 |
| 4 | 0ms | 184kb | Incorect | 0 |
| 5 | 0ms | 184kb | Incorect | 0 |
| 6 | 0ms | 184kb | Incorect | 0 |
| 7 | 0ms | 184kb | Incorect | 0 |
| 8 | 0ms | 184kb | Incorect | 0 |
| 9 | 0ms | 184kb | Incorect | 0 |
| 10 | 0ms | 184kb | Incorect | 0 |
| Punctaj total | 0 |