Pagini recente » Cod sursa (job #449604) | Borderou de evaluare (job #2921128) | Borderou de evaluare (job #1891294) | Borderou de evaluare (job #1420414) | Borderou de evaluare (job #1396297)
Borderou de evaluare (job #1396297)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto i = 0u; i < N; i++) {
^
user.cpp: In function ‘int binary_search0(const std::vector<int>&, int, int, int)’:
user.cpp:21:15: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (V[last] == x) return last;
^
user.cpp: In function ‘int binary_search1(const std::vector<int>&, int, int, int)’:
user.cpp:36:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int binary_search2(const std::vector<int>&, int, int, int)’:
user.cpp:50:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:82:60: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
out << binary_search2(V, 0, V.size(), x) + 1 << std::endl;
^
user.cpp:79:60: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
out << binary_search1(V, 0, V.size(), x) + 1 << std::endl;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 432kb | Incorect | 0 | 0 |
| 2 | 0ms | 428kb | Incorect | 0 | 0 |
| 3 | 4ms | 408kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 76ms | 444kb | Incorect | 0 | 0 |
| 5 | Depăşit | 520kb | Time limit exceeded. | 0 | 0 |
| 6 | Depăşit | 736kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 932kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 932kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |