Pagini recente » Borderou de evaluare (job #3344642) | Borderou de evaluare (job #1000164) | Borderou de evaluare (job #3329437) | Borderou de evaluare (job #3321741) | Borderou de evaluare (job #3334600)
Borderou de evaluare (job #3334600)
Raport evaluator
Compilare:
main.cpp: In function 'void add(long long int)':
main.cpp:21:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(; pos <= normal.size(); pos += pos & -pos)
| ~~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/istream:39,
from /usr/include/c++/12.2.1/sstream:38,
from /usr/include/c++/12.2.1/complex:45,
from /usr/include/c++/12.2.1/ccomplex:39,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54,
from main.cpp:1:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
inlined from 'void binarySearch()' at main.cpp:59:13:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'void binarySearch()':
main.cpp:51:35: note: 'rez' was declared here
51 | int l = -1e14, r = 1e14, mid, rez;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 1867kb | OK | 10 |
| 2 | 3ms | 1867kb | OK | 10 |
| 3 | 4ms | 1867kb | OK | 10 |
| 4 | 19ms | 2392kb | OK | 10 |
| 5 | 231ms | 5222kb | OK | 10 |
| 6 | 370ms | 5349kb | OK | 10 |
| 7 | 227ms | 5185kb | OK | 10 |
| 8 | 267ms | 5259kb | OK | 10 |
| 9 | 267ms | 5193kb | OK | 10 |
| 10 | 371ms | 5177kb | OK | 10 |
| Punctaj total | 100 |