Pagini recente » Borderou de evaluare (job #905156) | Borderou de evaluare (job #2460315) | Borderou de evaluare (job #2091387) | Borderou de evaluare (job #2740917) | Borderou de evaluare (job #1472210)
Borderou de evaluare (job #1472210)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp: In function ‘int bsearch0(int)’:
user.cpp:21:11: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[mid-1] == x) {
^
user.cpp: In function ‘int bsearch1(int)’:
user.cpp:41:9: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mid;
^
user.cpp: In function ‘int bsearch2(int)’:
user.cpp:57:9: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mid;
^
user.cpp: In function ‘int main()’:
user.cpp:80:22: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << bsearch2(x) << '\n';
^
user.cpp:78:22: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << bsearch1(x) << '\n';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | Incorect | 0 | 0 |
2 | 0ms | 432kb | Incorect | 0 | 0 |
3 | 12ms | 436kb | Incorect | 0 | 0 |
4 | 80ms | 444kb | Incorect | 0 | 0 |
5 | Depăşit | 468kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 632kb | Time limit exceeded. | 0 |
7 | Depăşit | 816kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 816kb | Time limit exceeded. | 0 |
9 | Depăşit | 816kb | Time limit exceeded. | 0 |
10 | Depăşit | 816kb | Time limit exceeded. | 0 |
Punctaj total | 0 |