Klajonė
- [1] 2017-10-07 21:59 (32.4)
- [2] 2017-10-07 22:16 (8.1)
- [3] 2017-10-07 22:17 (21.6)
- [4] 2017-10-07 22:35 (0)
- [5] 2017-10-07 22:35 (13.5)
- [6] 2017-10-07 23:44 (32.4)
- [7] 2017-10-08 00:10 (32.4)
- [8] 2017-10-09 19:23 (10.8)
- [9] 2017-10-09 19:25 (10.8)
- [10] 2017-10-09 19:40 (21.6)
- [11] 2017-10-09 19:41 (21.6)
- [12] 2017-10-09 19:54 (24.3)
- [13] 2017-10-09 20:22 (27.0)
- [14] 2017-10-09 21:17 (35.1)
- [15] 2017-10-30 21:35 (37.8)
- [16] 2017-11-04 23:32 (21.6)
- [17] 2017-11-27 18:52 (29.7)
- [18] 2017-11-27 18:54 (37.8)
- [19] 2017-11-27 18:55 (37.8)
- [20] 2017-11-27 18:56 (37.8)
- [21] 2017-11-27 19:07 (40.5)
- [22] 2017-11-27 19:15 (40.5)
- [23] 2017-11-27 19:19 (40.5)
- [24] 2017-11-27 19:29 (35.1)
- [25] 2017-11-27 19:33 (40.5)
- [26] 2017-11-27 19:38 (40.5)
- [27] 2017-11-27 19:48 (40.5)
- [28] 2017-11-27 20:53 (43.2)
- [29] 2017-11-27 21:01 (43.2)
- [30] 2017-11-27 21:03 (43.2)
- [31] 2017-11-27 21:38 (40.5)
- [32] 2017-11-27 21:40 (94.6)
- [33] 2017-11-27 21:44 (94.6)
- [34] 2017-11-27 22:26 (94.6)
- [35] 2017-11-27 22:31 (94.6)
- [36] 2017-11-27 22:32 (94.6)
- [37] 2017-11-27 22:36 (94.6)
- [38] 2017-11-27 22:39 (94.6)
- [39] 2017-11-27 22:49 (59.5)
- [40] 2017-11-27 23:02 (94.6)
- [41] 2017-11-28 00:03 (94.6)
- [42] 2017-12-11 20:55 (100)
- [43] 2018-05-31 00:24 (0)
- [44] 2018-05-31 00:26 (43.2)
- [45] 2018-05-31 01:25 (59.5)
- [46] 2018-05-31 02:35 (89.2)
- [47] 2018-05-31 02:40 (89.2)
- [48] 2018-05-31 02:41 (59.5)
- [49] 2018-05-31 02:41 (59.5)
- [50] 2018-05-31 02:41 (59.5)
- [51] 2018-05-31 02:44 (89.2)
- [52] 2018-05-31 02:48 (94.6)
- [53] 2018-05-31 02:52 (100)
- [54] 2018-05-31 03:00 (91.9)
- [55] 2018-05-31 03:09 (83.8)
- [56] 2018-05-31 03:13 (100)
- [57] 2018-05-31 03:13 (100)
- [58] 2018-05-31 23:00 (0)
- [59] 2019-12-13 01:23 (5.4)
- [60] 2019-12-13 01:31 (8.1)
- [61] 2019-12-13 01:34 (10.8)
- [62] 2019-12-13 01:49 (10.8)
- [63] 2019-12-13 02:04 (10.8)
- [64] 2019-12-13 02:22 (10.8)
- [65] 2019-12-13 02:36 (16.2)
- [66] 2019-12-13 02:37 (13.5)
Taškai: 0
Compile: FAIL
klajone.cpp: In function ‘std::pair<Kelione, point> F(int, point)’: klajone.cpp:70:32: error: converting to ‘const key_type {aka const std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ if (FF.count({i, KRP.x, KRP.y})) ^ klajone.cpp:71:31: error: converting to ‘std::map<std::tuple<int, int, int>, std::pair<Kelione, point> >::key_type {aka std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ return FF[ {i, KRP.x, KRP.y}]; ^ klajone.cpp:92:30: error: converting to ‘std::map<std::tuple<int, int, int>, std::pair<Kelione, point> >::key_type {aka std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ return FF[ {i, KRP.x, KRP.y}] = {A, krypt}; ^ In file included from /usr/include/c++/5/bits/stl_algobase.h:64:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from klajone.cpp:7: /usr/include/c++/5/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair() [with _T1 = Kelione; _T2 = point]’: /usr/include/c++/5/tuple:1172:70: required from ‘std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {std::tuple<int, int, int>&&}; long unsigned int ..._Indexes1 = {0ul}; _Args2 = {}; long unsigned int ..._Indexes2 = {}; _T1 = const std::tuple<int, int, int>; _T2 = std::pair<Kelione, point>]’ /usr/include/c++/5/tuple:1161:63: required from ‘std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {std::tuple<int, int, int>&&}; _Args2 = {}; _T1 = const std::tuple<int, int, int>; _T2 = std::pair<Kelione, point>]’ /usr/include/c++/5/ext/new_allocator.h:120:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> >; _Args = {const std::piecewise_construct_t&, std::tuple<std::tuple<int, int, int>&&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >]’ /usr/include/c++/5/bits/alloc_traits.h:530:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> >; _Args = {const std::piecewise_construct_t&, std::tuple<std::tuple<int, int, int>&&>, std::tuple<>}; _Tp = std::_Rb_tree_node<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > > >]’ /usr/include/c++/5/bits/stl_tree.h:529:32: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<std::tuple<int, int, int>&&>, std::tuple<>}; _Key = std::tuple<int, int, int>; _Val = std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> >; _KeyOfValue = std::_Select1st<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; _Compare = std::less<std::tuple<int, int, int> >; _Alloc = std::allocator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >*]’ /usr/include/c++/5/bits/stl_tree.h:546:21: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<std::tuple<int, int, int>&&>, std::tuple<>}; _Key = std::tuple<int, int, int>; _Val = std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> >; _KeyOfValue = std::_Select1st<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; _Compare = std::less<std::tuple<int, int, int> >; _Alloc = std::allocator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >*]’ /usr/include/c++/5/bits/stl_tree.h:2170:33: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<std::tuple<int, int, int>&&>, std::tuple<>}; _Key = std::tuple<int, int, int>; _Val = std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> >; _KeyOfValue = std::_Select1st<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; _Compare = std::less<std::tuple<int, int, int> >; _Alloc = std::allocator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >]’ /usr/include/c++/5/bits/stl_map.h:502:8: required from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::tuple<int, int, int>; _Tp = std::pair<Kelione, point>; _Compare = std::less<std::tuple<int, int, int> >; _Alloc = std::allocator<std::pair<const std::tuple<int, int, int>, std::pair<Kelione, point> > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::pair<Kelione, point>; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::tuple<int, int, int>]’ klajone.cpp:71:31: required from here /usr/include/c++/5/bits/stl_pair.h:109:25: error: no matching function for call to ‘point::point()’ : first(), second() { } ^ klajone.cpp:52:2: note: candidate: point::point(int, int) point(int x, int y): x(x), y(y) ^ klajone.cpp:52:2: note: candidate expects 2 arguments, 0 provided klajone.cpp:49:8: note: candidate: constexpr point::point(const point&) struct point ^ klajone.cpp:49:8: note: candidate expects 1 argument, 0 provided klajone.cpp:49:8: note: candidate: constexpr point::point(point&&) klajone.cpp:49:8: note: candidate expects 1 argument, 0 provided
nr. | result | time | message |
---|