Pagini recente » Borderou de evaluare (job #360987) | Borderou de evaluare (job #2702976) | Borderou de evaluare (job #835688) | Borderou de evaluare (job #807016) | Borderou de evaluare (job #1472201)
Borderou de evaluare (job #1472201)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66: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:67: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:23:11: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[mid] == x) {
^
user.cpp: In function ‘int bsearch1(int)’:
user.cpp:46:9: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mid;
^
user.cpp: In function ‘int bsearch2(int)’:
user.cpp:62:9: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mid;
^
user.cpp: In function ‘int main()’:
user.cpp:85:26: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << bsearch2(x) + 2 << '\n';
^
user.cpp:83: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 | 440kb | Incorect | 0 | 0 |
2 | 0ms | 432kb | Incorect | 0 | 0 |
3 | 12ms | 436kb | Incorect | 0 | 0 |
4 | 80ms | 444kb | Incorect | 0 | 0 |
5 | Depăşit | 476kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 628kb | Time limit exceeded. | 0 |
7 | Depăşit | 820kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 820kb | Time limit exceeded. | 0 |
9 | Depăşit | 820kb | Time limit exceeded. | 0 |
10 | Depăşit | 816kb | Time limit exceeded. | 0 |
Punctaj total | 0 |