0_0_39310356_14496.cpp: In function 'Info operator+(const Info&, const Info&)':
0_0_39310356_14496.cpp:167:77: error: could not convert '{114514}' from '<brace-enclosed initializer list>' to 'Info'
167 | friend Info operator+(const Info &lhs, const Info &rhs) { return {114514}; }
| ^
| |
| <brace-enclosed initializer list>
0_0_39310356_14496.cpp: In function 'void solve(int)':
0_0_39310356_14496.cpp:216:23: error: no matching function for call to 'LazySegtree<Info, Tag>::modify(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, <brace-enclosed initializer list>)'
216 | seg.modify(in[x], out[x], {y});
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
0_0_39310356_14496.cpp:52:10: note: candidate: 'void LazySegtree<Info, Tag>::modify(int, int, const Tag&) [with Info = Info; Tag = Tag]'
52 | void modify(int ml, int mr, const Tag &t) { modify(ml, mr, t, 1, 1, n); }
| ^~~~~~
0_0_39310356_14496.cpp:52:44: note: no known conversion for argument 3 from '<brace-enclosed initializer list>' to 'const Tag&'
52 | void modify(int ml, int mr, const Tag &t) { modify(ml, mr, t, 1, 1, n); }
| ~~~~~~~~~~~^
0_0_39310356_14496.cpp:53:10: note: candidate: 'void LazySegtree<Info, Tag>::modify(int, int, const Tag&, int, int, int) [with Info = Info; Tag = Tag]'
53 | void modify(int ml, int mr, const Tag &t, int id, int l, int r) {
| ^~~~~~
0_0_39310356_14496.cpp:53:10: note: candidate expects 6 arguments, 3 provided
|