Pagini recente » Borderou de evaluare (job #1751917) | Autentificare | Borderou de evaluare (job #1751912) | Borderou de evaluare (job #1234915) | Borderou de evaluare (job #1234931)
Borderou de evaluare (job #1234931)
Raport evaluator
Compilare:
user.cpp: In function ‘int binary_search0(int, int, int)’:
user.cpp:13:6: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid;
^
user.cpp: In function ‘int binary_search1(int, int, int)’:
user.cpp:29:6: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid;
^
user.cpp: In function ‘int binary_search2(int, int, int)’:
user.cpp:51:11: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( A[mid-1] >= target ) return mid - 1;
^
user.cpp: In function ‘int main()’:
user.cpp:51:11: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:44:6: note: ‘mid’ was declared here
int mid;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 392kb | Incorect | 0 | 0 |
| 2 | 0ms | 400kb | Incorect | 0 | 0 |
| 3 | 0ms | 404kb | Incorect | 0 | 0 |
| 4 | 4ms | 404kb | Incorect | 0 | 0 |
| 5 | 24ms | 440kb | Incorect | 0 | 0 |
| 6 | 84ms | 604kb | Incorect | 0 |
| 7 | 124ms | 792kb | Incorect | 0 | 0 |
| 8 | 128ms | 792kb | Incorect | 0 |
| 9 | 132ms | 788kb | Incorect | 0 |
| 10 | 132ms | 792kb | Incorect | 0 |
| Punctaj total | 0 |