Stebuklingi saldainiai
- [1] 2020-01-18 13:12 (0)
- [2] 2020-01-18 13:15 (9.1)
- [3] 2020-01-18 13:17 (9.1)
- [4] 2020-01-19 13:01 (9.1)
- [5] 2020-01-19 13:04 (9.1)
- [6] 2020-01-19 13:08 (45.5)
- [7] 2020-01-19 13:10 (45.5)
- [8] 2020-01-19 13:13 (45.5)
- [9] 2020-01-19 13:16 (45.5)
- [10] 2020-01-19 13:28 (63.6)
- [11] 2020-01-20 18:08 (72.7)
- [12] 2020-01-20 18:10 (27.3)
- [13] 2020-01-20 18:11 (72.7)
- [14] 2020-01-20 18:15 (0)
- [15] 2020-01-20 18:18 (72.7)
- [16] 2020-01-20 18:22 (72.7)
- [17] 2020-01-20 18:35 (18.2)
- [18] 2020-01-20 18:36 (18.2)
- [19] 2020-01-20 18:39 (18.2)
- [20] 2020-01-20 18:40 (81.8)
- [21] 2020-01-20 18:43 (81.8)
- [22] 2020-01-20 18:45 (81.8)
- [23] 2020-01-20 18:46 (81.8)
- [24] 2020-01-20 18:48 (81.8)
- [25] 2020-01-20 18:50 (18.2)
- [26] 2020-01-20 18:51 (90.9)
- [27] 2020-01-20 18:52 (90.9)
- [28] 2020-01-20 18:54 (90.9)
- [29] 2020-01-20 19:00 (90.9)
- [30] 2020-01-20 19:04 (90.9)
- [31] 2020-01-20 19:33 (0)
- [32] 2020-01-20 19:36 (90.9)
- [33] 2020-01-20 19:38 (90.9)
- [34] 2020-01-20 20:06 (9.1)
- [35] 2020-01-20 20:07 (81.8)
- [36] 2020-01-20 20:09 (27.3)
- [37] 2020-01-20 20:10 (90.9)
- [38] 2020-01-20 20:12 (81.8)
- [39] 2020-01-20 20:13 (90.9)
- [40] 2020-01-20 20:14 (90.9)
- [41] 2020-01-20 20:15 (90.9)
- [42] 2020-01-21 19:42 (45.5)
- [43] 2020-01-21 19:47 (45.5)
- [44] 2020-01-23 14:08 (81.8)
- [45] 2020-01-23 14:11 (81.8)
- [46] 2020-01-23 14:12 (90.9)
- [47] 2020-01-23 14:13 (81.8)
- [48] 2020-01-26 13:43 (27.3)
- [49] 2020-01-26 13:44 (27.3)
- [50] 2020-01-26 14:51 (0)
- [51] 2020-01-26 14:51 (0)
- [52] 2020-01-26 15:02 (0)
- [53] 2020-03-06 14:57 (18.2)
- [54] 2020-03-06 14:59 (72.7)
- [55] 2020-03-06 15:01 (100)
Taškai: 0
Compile: FAIL
In file included from /usr/include/c++/5/bits/hashtable.h:35:0, from /usr/include/c++/5/unordered_map:47, from stebuklingi_saldainiai.cpp:14: /usr/include/c++/5/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > >’: /usr/include/c++/5/type_traits:137:12: required from ‘struct std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > >’ /usr/include/c++/5/type_traits:148:38: required from ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ /usr/include/c++/5/bits/unordered_map.h:100:66: required from ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ stebuklingi_saldainiai.cpp:17:70: required from here /usr/include/c++/5/bits/hashtable_policy.h:85:34: error: no match for call to ‘(const std::hash<std::pair<long long int, long long int> >) (const std::pair<long long int, long long int>&)’ noexcept(declval<const _Hash&>()(declval<const _Key&>()))> ^ In file included from /usr/include/c++/5/bits/move.h:57:0, from /usr/include/c++/5/bits/stl_pair.h:59, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/type_traits: In instantiation of ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’: /usr/include/c++/5/bits/unordered_map.h:100:66: required from ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ stebuklingi_saldainiai.cpp:17:70: required from here /usr/include/c++/5/type_traits:148:38: error: ‘value’ is not a member of ‘std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > >’ : public integral_constant<bool, !_Pp::value> ^ In file included from /usr/include/c++/5/unordered_map:48:0, from stebuklingi_saldainiai.cpp:14: /usr/include/c++/5/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’: stebuklingi_saldainiai.cpp:17:70: required from here /usr/include/c++/5/bits/unordered_map.h:100:66: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc> _Hashtable; ^ /usr/include/c++/5/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::key_type key_type; ^ /usr/include/c++/5/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::value_type value_type; ^ /usr/include/c++/5/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::mapped_type mapped_type; ^ /usr/include/c++/5/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::hasher hasher; ^ /usr/include/c++/5/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::key_equal key_equal; ^ /usr/include/c++/5/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::allocator_type allocator_type; ^ /usr/include/c++/5/bits/unordered_map.h:117:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::pointer pointer; ^ /usr/include/c++/5/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::const_pointer const_pointer; ^ /usr/include/c++/5/bits/unordered_map.h:119:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::reference reference; ^ /usr/include/c++/5/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::const_reference const_reference; ^ /usr/include/c++/5/bits/unordered_map.h:121:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::iterator iterator; ^ /usr/include/c++/5/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::const_iterator const_iterator; ^ /usr/include/c++/5/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::local_iterator local_iterator; ^ /usr/include/c++/5/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::const_local_iterator const_local_iterator; ^ /usr/include/c++/5/bits/unordered_map.h:125:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::size_type size_type; ^ /usr/include/c++/5/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ typedef typename _Hashtable::difference_type difference_type; ^ /usr/include/c++/5/bits/unordered_map.h:280:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ operator=(initializer_list<value_type> __l) ^ /usr/include/c++/5/bits/unordered_map.h:379:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ emplace(_Args&&... __args) ^ /usr/include/c++/5/bits/unordered_map.h:432:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ insert(const value_type& __x) ^ /usr/include/c++/5/bits/unordered_map.h:439:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ insert(_Pair&& __x) ^ /usr/include/c++/5/bits/unordered_map.h:499:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ insert(initializer_list<value_type> __l) ^ /usr/include/c++/5/bits/unordered_map.h:645:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ equal_range(const key_type& __x) ^ /usr/include/c++/5/bits/unordered_map.h:649:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<std::pair<long long int, long long int> > >, std::__detail::__is_noexcept_hash<std::pair<long long int, long long int>, std::hash<std::pair<long long int, long long int> > > > >’ equal_range(const key_type& __x) const ^ stebuklingi_saldainiai.cpp: In function ‘void brute(long long int, long long int)’: stebuklingi_saldainiai.cpp:38:21: error: ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘count’ if(mapas[k].count({x, y}) == 0){ ^ stebuklingi_saldainiai.cpp:39:21: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ and ‘<brace-enclosed initializer list>’) mapas[k][{x, y}].resize(17); ^ stebuklingi_saldainiai.cpp:41:17: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ and ‘<brace-enclosed initializer list>’) mapas[k][{x, y}][ilgis]++; ^ stebuklingi_saldainiai.cpp: In function ‘int main(int, const char**)’: stebuklingi_saldainiai.cpp:88:29: error: no matching function for call to ‘begin(std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >&)’ for(auto x : mapas[0]){ ^ In file included from /usr/include/c++/5/string:51:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/bits/range_access.h:87:5: note: candidate: template<class _Tp, long unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/5/bits/range_access.h:87:5: note: template argument deduction/substitution failed: stebuklingi_saldainiai.cpp:88:29: note: mismatched types ‘_Tp [_Nm]’ and ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ for(auto x : mapas[0]){ ^ In file included from /usr/include/c++/5/string:51:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/bits/range_access.h:58:5: note: candidate: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/5/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.begin()) std::begin(const _Container&) [with _Container = std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >]’: stebuklingi_saldainiai.cpp:88:29: required from here /usr/include/c++/5/bits/range_access.h:58:5: error: ‘const class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘begin’ /usr/include/c++/5/bits/range_access.h:48:5: note: candidate: template<class _Container> decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/5/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.begin()) std::begin(_Container&) [with _Container = std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >]’: stebuklingi_saldainiai.cpp:88:29: required from here /usr/include/c++/5/bits/range_access.h:48:5: error: ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘begin’ In file included from /usr/include/c++/5/bits/range_access.h:36:0, from /usr/include/c++/5/string:51, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/initializer_list:89:5: note: candidate: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/5/initializer_list:89:5: note: template argument deduction/substitution failed: stebuklingi_saldainiai.cpp:88:29: note: ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ is not derived from ‘std::initializer_list<_Tp>’ for(auto x : mapas[0]){ ^ stebuklingi_saldainiai.cpp:88:29: error: no matching function for call to ‘end(std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >&)’ In file included from /usr/include/c++/5/string:51:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/bits/range_access.h:97:5: note: candidate: template<class _Tp, long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/5/bits/range_access.h:97:5: note: template argument deduction/substitution failed: stebuklingi_saldainiai.cpp:88:29: note: mismatched types ‘_Tp [_Nm]’ and ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ for(auto x : mapas[0]){ ^ In file included from /usr/include/c++/5/string:51:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/bits/range_access.h:78:5: note: candidate: template<class _Container> decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/5/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.end()) std::end(const _Container&) [with _Container = std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >]’: stebuklingi_saldainiai.cpp:88:29: required from here /usr/include/c++/5/bits/range_access.h:78:5: error: ‘const class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘end’ /usr/include/c++/5/bits/range_access.h:68:5: note: candidate: template<class _Container> decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/5/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.end()) std::end(_Container&) [with _Container = std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >]’: stebuklingi_saldainiai.cpp:88:29: required from here /usr/include/c++/5/bits/range_access.h:68:5: error: ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘end’ In file included from /usr/include/c++/5/bits/range_access.h:36:0, from /usr/include/c++/5/string:51, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from stebuklingi_saldainiai.cpp:10: /usr/include/c++/5/initializer_list:99:5: note: candidate: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/5/initializer_list:99:5: note: template argument deduction/substitution failed: stebuklingi_saldainiai.cpp:88:29: note: ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ is not derived from ‘std::initializer_list<_Tp>’ for(auto x : mapas[0]){ ^ stebuklingi_saldainiai.cpp:96:25: error: ‘class std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ has no member named ‘count’ if(mapas[1].count({x2, y2}) == 0) continue; ^ stebuklingi_saldainiai.cpp:98:48: error: no match for ‘operator[]’ (operand types are ‘std::unordered_map<std::pair<long long int, long long int>, std::vector<long long int> >’ and ‘<brace-enclosed initializer list>’) vector<long long> antras = mapas[1][{x2, y2}]; ^ In file included from /usr/include/c++/5/unordered_map:48:0, from stebuklingi_saldainiai.cpp:14: /usr/include/c++/5/bits/unordered_map.h: In instantiation of ‘void std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::clear() [with _Key = std::pair<long long int, long long int>; _Tp = std::vector<long long int>; _Hash = std::hash<std::pair<long long int, long long int> >; _Pred = std::equal_to<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >]’: stebuklingi_saldainiai.cpp:68:24: required from here /usr/include/c++/5/bits/unordered_map.h:568:9: error: using invalid field ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::_M_h’ { _M_h.clear(); } ^
nr. | result | time | message |
---|