Pagini recente » Borderou de evaluare (job #3198263) | Borderou de evaluare (job #761885) | Borderou de evaluare (job #698100) | Borderou de evaluare (job #2309766) | Borderou de evaluare (job #1472207)
Borderou de evaluare (job #1472207)
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:9:6: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid, l = 0, r = n;
^
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:9:6: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid, l = 0, r = n;
^
user.cpp:82:26: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << bsearch2(x) + 1 << '\n';
^
user.cpp:80:26: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << bsearch1(x) + 1<< '\n';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | Incorect | 0 | 0 |
2 | 0ms | 440kb | Incorect | 0 | 0 |
3 | 12ms | 448kb | Incorect | 0 | 0 |
4 | 80ms | 444kb | Incorect | 0 | 0 |
5 | Depăşit | 472kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 628kb | Time limit exceeded. | 0 |
7 | Depăşit | 828kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 828kb | Time limit exceeded. | 0 |
9 | Depăşit | 824kb | Time limit exceeded. | 0 |
10 | Depăşit | 820kb | Time limit exceeded. | 0 |
Punctaj total | 0 |