Pagini recente » Borderou de evaluare (job #2867224) | Borderou de evaluare (job #2697934) | Borderou de evaluare (job #593980) | Borderou de evaluare (job #611316) | Borderou de evaluare (job #2274799)
Borderou de evaluare (job #2274799)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:19: warning: unused variable 'j' [-Wunused-variable]
int p, n, m, i, j ,poz ;
^
main.cpp:32:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &p, &n ) ;
^
main.cpp:34:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &v[i] ) ;
^
main.cpp: In function 'int caut_bin(int, int)':
main.cpp:21:14: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (scm[mid] > elem )
~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:21:14: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (scm[mid] > elem )
~~~~~~~^
main.cpp:11:7: note: 'mid' was declared here
int mid, st, dr ;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 41ms | 524kb | OK | 10 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 19ms | 393kb | Incorect | 0 |
7 | 216ms | 3801kb | Incorect | 0 |
8 | 289ms | 5242kb | Incorect | 0 |
9 | 334ms | 7077kb | Incorect | 0 |
10 | 362ms | 7602kb | Incorect | 0 |
Punctaj total | 20 |