Pagini recente » Borderou de evaluare (job #1534549) | Borderou de evaluare (job #1534546) | Borderou de evaluare (job #469249) | Borderou de evaluare (job #1534477) | Borderou de evaluare (job #3320848)
Borderou de evaluare (job #3320848)
Raport evaluator
Compilare:
main.cpp: In function 'int CautBin(int, int)':
main.cpp:39:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
39 | return poz;
| ^~~
main.cpp:27:30: note: 'poz' was declared here
27 | int st = 1, dr = n, mij, poz;
| ^~~
main.cpp: In function 'int main()':
main.cpp:74:12: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
74 | for (i = p - 1 ; i >= 1 ; i--)
| ~~^~~~~~~
main.cpp:44:19: note: 'p' was declared here
44 | int i, k = 1, p, ok, val, k2;
| ^
main.cpp:55:19: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
55 | dp[p] = a[i];
| ~~~~~~^~~~~~
main.cpp:27:30: note: 'poz' was declared here
27 | int st = 1, dr = n, mij, poz;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Corect! | 10 | 10 |
| 2 | 0ms | 303kb | Corect! | 10 | 10 |
| 3 | 0ms | 303kb | Corect! | 10 | 10 |
| 4 | 0ms | 303kb | Corect! | 10 | 10 |
| 5 | 0ms | 303kb | Corect! | 10 | 10 |
| 6 | 0ms | 303kb | Corect! | 10 | 10 |
| 7 | 0ms | 303kb | Corect! | 10 | 10 |
| 8 | 9ms | 1081kb | Corect! | 10 | 30 |
| 9 | 4ms | 557kb | Corect! | 10 |
| 10 | 9ms | 958kb | Corect! | 10 |
| Punctaj total | 100 |