Pagini recente » Borderou de evaluare (job #284223) | Borderou de evaluare (job #1257969) | Borderou de evaluare (job #747658) | Borderou de evaluare (job #888421) | Borderou de evaluare (job #3124066)
Borderou de evaluare (job #3124066)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:459:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
459 | for(auto SR : on_path_down(y, l)) ans += SR.count_hits(h);
| ^~
main.cpp:459:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
459 | for(auto SR : on_path_down(y, l)) ans += SR.count_hits(h);
| ^
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/12.2.1/bits/allocator.h:46,
from /usr/include/c++/12.2.1/string:41,
from /usr/include/c++/12.2.1/bits/locale_classes.h:40,
from /usr/include/c++/12.2.1/bits/ios_base.h:41,
from /usr/include/c++/12.2.1/ios:42,
from /usr/include/c++/12.2.1/istream:38,
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:5:
In member function 'void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = std::__detail::_Hash_node<std::pair<const std::pair<Drum::Node*, int>, int>, true>]',
inlined from 'constexpr void std::allocator< <template-parameter-1-1> >::deallocate(_Tp*, std::size_t) [with _Tp = std::__detail::_Hash_node<std::pair<const std::pair<Drum::Node*, int>, int>, true>]' at /usr/include/c++/12.2.1/bits/allocator.h:200:35,
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::deallocate(allocator_type&, pointer, size_type) [with _Tp = std::__detail::_Hash_node<std::pair<const std::pair<Drum::Node*, int>, int>, true>]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:496:23,
inlined from 'void std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_deallocate_node_ptr(__node_ptr) [with _NodeAlloc = std::allocator<std::__detail::_Hash_node<std::pair<const std::pair<Drum::Node*, int>, int>, true> >]' at /usr/include/c++/12.2.1/bits/hashtable_policy.h:1995:38,
inlined from 'void std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_deallocate_node(__node_ptr) [with _NodeAlloc = std::allocator<std::__detail::_Hash_node<std::pair<const std::pair<Drum::Node*, int>, int>, true> >]' at /usr/include/c++/12.2.1/bits/hashtable_policy.h:1985:29,
inlined from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Scoped_node::~_Scoped_node() [with _Key = std::pair<Drum::Node*, int>; _Value = std::pair<const std::pair<Drum::Node*, int>, int>; _Alloc = std::allocator<std::pair<const std::pair<Drum::Node*, int>, int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<std::pair<Drum::Node*, int> >; _Hash = hops; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' at /usr/include/c++/12.2.1/bits/hashtable.h:312:57,
inlined from 'std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::operator[](key_type&&) [with _Key = std::pair<Drum::Node*, int>; _Val = int; _Alloc = std::allocator<std::pair<const std::pair<Drum::Node*, int>, int> >; _Equal = std::equal_to<std::pair<Drum::Node*, int> >; _Hash = hops; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' at /usr/include/c++/12.2.1/bits/hashtable_policy.h:815:5:
/usr/include/c++/12.2.1/bits/new_allocator.h:158:33: warning: 'void operator delete(void*, std::size_t)' called on unallocated object 'buf' [-Wfree-nonheap-object]
158 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
| ^
main.cpp: In member function 'std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::operator[](key_type&&) [with _Key = std::pair<Drum::Node*, int>; _Val = int; _Alloc = std::allocator<std::pair<const std::pair<Drum::Node*, int>, int> >; _Equal = std::equal_to<std::pair<Drum::Node*, int> >; _Hash = hops; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]':
main.cpp:9:13: note: declared here
9 | static char buf[500 << 20];
| ^~~
In member function 'void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = int]',
inlined from 'constexpr void std::allocator< <template-parameter-1-1> >::deallocate(_Tp*, std::size_t) [with _Tp = int]' at /usr/include/c++/12.2.1/bits/allocator.h:200:35,
inlined from 'static constexpr void std::allocator_traits<std::allocator<_CharT> >::deallocate(allocator_type&, pointer, size_type) [with _Tp = int]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:496:23,
inlined from 'constexpr void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:387:19,
inlined from 'constexpr std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:366:15,
inlined from 'constexpr std::vector<_Tp, _Alloc>::~vector() [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:733:7,
inlined from 'int main()' at main.cpp:419:5:
/usr/include/c++/12.2.1/bits/new_allocator.h:158:33: warning: 'void operator delete(void*, std::size_t)' called on unallocated object 'buf' [-Wfree-nonheap-object]
158 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
| ^
main.cpp: In function 'int main()':
main.cpp:9:13: note: declared here
9 | static char buf[500 << 20];
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 9994kb | Accepted | 9 | 11 |
2 | 5ms | 9994kb | Accepted | 1 |
3 | 7ms | 11829kb | Accepted | 1 |
4 | 49ms | 37183kb | Accepted | 1 | 8 |
5 | 157ms | 98828kb | Accepted | 5 |
6 | 316ms | 158691kb | Accepted | 1 |
7 | 901ms | 406188kb | Accepted | 1 |
8 | 767ms | 298491kb | Accepted | 1 | 9 |
9 | 757ms | 293851kb | Accepted | 1 |
10 | 673ms | 300937kb | Accepted | 5 |
11 | 648ms | 302301kb | Accepted | 1 |
12 | 589ms | 289173kb | Accepted | 1 |
13 | 708ms | 318189kb | Accepted | 1 | 28 |
14 | 728ms | 298291kb | Accepted | 1 |
15 | 624ms | 288202kb | Accepted | 24 |
16 | 718ms | 301006kb | Accepted | 1 |
17 | 659ms | 284086kb | Accepted | 1 |
18 | 49ms | 39960kb | Accepted | 1 | 21 |
19 | 48ms | 34926kb | Accepted | 1 |
20 | 54ms | 43536kb | Accepted | 16 |
21 | 49ms | 36880kb | Accepted | 1 |
22 | 138ms | 79441kb | Accepted | 1 |
23 | 133ms | 79233kb | Accepted | 1 |
24 | 753ms | 333697kb | Accepted | 1 | 23 |
25 | 822ms | 339509kb | Accepted | 19 |
26 | 737ms | 243191kb | Accepted | 1 |
27 | 698ms | 250974kb | Accepted | 1 |
28 | 782ms | 312930kb | Accepted | 1 |
Punctaj total | 100 |