Borderou de evaluare (job #3373404)
Raport evaluator
Compilare:
main.cpp: In member function 'void RMQ::preprocess()':
main.cpp:27:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 0; i < arr.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:35:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0; i < arr.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:53:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i = 0; i < arr.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:81:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int j = (1<<i) - 1; j < blockMins.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/bits/stl_iterator.h:85,
from /usr/include/c++/12.2.1/bits/stl_algobase.h:67,
from /usr/include/c++/12.2.1/algorithm:60,
from main.cpp:1:
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const int&}; _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/vector.tcc:462:28,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1287:21,
inlined from 'void RMQ::preprocess()' at main.cpp:62:28:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'mn' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void RMQ::preprocess()':
main.cpp:52:13: note: 'mn' was declared here
52 | int mn;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | OK | 10 | 10 |
| 2 | 10ms | 405kb | Killed by Signal 11 | 0 | 0 |
| 3 | 10ms | 630kb | Killed by Signal 11 | 0 | 0 |
| 4 | 8ms | 1994kb | Killed by Signal 11 | 0 | 0 |
| 5 | 10ms | 1982kb | Killed by Signal 11 | 0 | 0 |
| 6 | 9ms | 2293kb | Killed by Signal 11 | 0 |
| 7 | 11ms | 3334kb | Killed by Signal 11 | 0 | 0 |
| 8 | 12ms | 3686kb | Killed by Signal 11 | 0 | 0 |
| 9 | 10ms | 3690kb | Killed by Signal 11 | 0 | 0 |
| 10 | 12ms | 3702kb | Killed by Signal 11 | 0 | 0 |
| Punctaj total | 10 |