Borderou de evaluare (job #3124064)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 26 aprilie 2023 19:42:01
Problema Impiedicat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 69

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:458:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 458 | for(auto SR : on_path_down(y, l)) ans += SR.count_hits(h); | ^~ main.cpp:458:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 458 | 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 'buffer' [-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 buffer[200 << 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:418: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 'buffer' [-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 buffer[200 << 20]; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
15ms9994kbAccepted911
25ms9994kbAccepted1
37ms11042kbAccepted1
438ms29560kbAccepted10
5118ms71335kbAccepted5
6257ms114212kbAccepted1
7606ms238460kbKilled by Signal 110
8593ms212922kbAccepted19
9594ms207482kbAccepted1
10574ms209907kbAccepted5
11614ms218771kbAccepted1
12530ms203771kbAccepted1
13579ms220405kbAccepted128
14594ms206249kbAccepted1
15550ms201973kbAccepted24
16619ms215658kbAccepted1
17550ms199548kbAccepted1
1844ms33595kbAccepted121
1944ms33988kbAccepted1
2043ms33103kbAccepted16
2144ms33992kbAccepted1
22127ms73977kbAccepted1
23133ms78647kbAccepted1
24649ms238120kbAccepted10
25671ms230404kbKilled by Signal 110
26599ms204185kbAccepted1
27598ms226418kbKilled by Signal 110
28560ms237293kbKilled by Signal 110
Punctaj total69

Ceva nu functioneaza?