selling_rna.cpp: In function 'void brute(std::vector<ask>)':
selling_rna.cpp:19:17: warning: statement has no effect [-Wunused-value]
19 | #define DE(...) 0
| ^
selling_rna.cpp:44:3: note: in expansion of macro 'DE'
44 | DE(u, d, sc, id);
| ^~
selling_rna.cpp: In function 'void solve()':
selling_rna.cpp:19:17: warning: statement has no effect [-Wunused-value]
19 | #define DE(...) 0
| ^
selling_rna.cpp:74:3: note: in expansion of macro 'DE'
74 | DE(w[n], rw[n]);
| ^~
selling_rna.cpp:19:17: warning: statement has no effect [-Wunused-value]
19 | #define DE(...) 0
| ^
selling_rna.cpp:82:3: note: in expansion of macro 'DE'
82 | DE(al, ar, cl, cr);
| ^~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
from /usr/include/c++/9/bits/allocator.h:46,
from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from selling_rna.cpp:1:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ask; _Args = {int&, int&, int, int&}; _Tp = ask]':
/usr/include/c++/9/bits/alloc_traits.h:482:2: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ask; _Args = {int&, int&, int, int&}; _Tp = ask; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<ask>]'
/usr/include/c++/9/bits/vector.tcc:115:30: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, int&, int, int&}; _Tp = ask; _Alloc = std::allocator<ask>; std::vector<_Tp, _Alloc>::reference = ask&]'
selling_rna.cpp:86:24: required from here
/usr/include/c++/9/ext/new_allocator.h:145:20: error: new initializer expression list treated as compound expression [-fpermissive]
145 | noexcept(noexcept(::new((void *)__p)
| ^~~~~~~~~~~~~~~~~~
146 | _Up(std::forward<_Args>(__args)...)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/new_allocator.h:145:20: error: no matching function for call to 'ask::ask(int&)'
selling_rna.cpp:29:8: note: candidate: 'ask::ask()'
29 | struct ask {
| ^~~
selling_rna.cpp:29:8: note: candidate expects 0 arguments, 1 provided
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(const ask&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'const ask&'
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(ask&&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'ask&&'
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
from /usr/include/c++/9/bits/allocator.h:46,
from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from selling_rna.cpp:1:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ask; _Args = {int&, int, int, int&}; _Tp = ask]':
/usr/include/c++/9/bits/alloc_traits.h:482:2: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ask; _Args = {int&, int, int, int&}; _Tp = ask; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<ask>]'
/usr/include/c++/9/bits/vector.tcc:115:30: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, int, int, int&}; _Tp = ask; _Alloc = std::allocator<ask>; std::vector<_Tp, _Alloc>::reference = ask&]'
selling_rna.cpp:86:51: required from here
/usr/include/c++/9/ext/new_allocator.h:145:20: error: new initializer expression list treated as compound expression [-fpermissive]
145 | noexcept(noexcept(::new((void *)__p)
| ^~~~~~~~~~~~~~~~~~
146 | _Up(std::forward<_Args>(__args)...)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/new_allocator.h:145:20: error: no matching function for call to 'ask::ask(int&)'
selling_rna.cpp:29:8: note: candidate: 'ask::ask()'
29 | struct ask {
| ^~~
selling_rna.cpp:29:8: note: candidate expects 0 arguments, 1 provided
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(const ask&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'const ask&'
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(ask&&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'ask&&'
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
from /usr/include/c++/9/bits/allocator.h:46,
from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from selling_rna.cpp:1:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ask; _Args = {int, int&, int, int&}; _Tp = ask]':
/usr/include/c++/9/bits/alloc_traits.h:482:2: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ask; _Args = {int, int&, int, int&}; _Tp = ask; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<ask>]'
/usr/include/c++/9/bits/vector.tcc:115:30: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, int&, int, int&}; _Tp = ask; _Alloc = std::allocator<ask>; std::vector<_Tp, _Alloc>::reference = ask&]'
selling_rna.cpp:87:27: required from here
/usr/include/c++/9/ext/new_allocator.h:145:20: error: new initializer expression list treated as compound expression [-fpermissive]
145 | noexcept(noexcept(::new((void *)__p)
| ^~~~~~~~~~~~~~~~~~
146 | _Up(std::forward<_Args>(__args)...)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/new_allocator.h:145:20: error: no matching function for call to 'ask::ask(int&)'
selling_rna.cpp:29:8: note: candidate: 'ask::ask()'
29 | struct ask {
| ^~~
selling_rna.cpp:29:8: note: candidate expects 0 arguments, 1 provided
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(const ask&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'const ask&'
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(ask&&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'ask&&'
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
from /usr/include/c++/9/bits/allocator.h:46,
from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from selling_rna.cpp:1:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ask; _Args = {int, int, int, int&}; _Tp = ask]':
/usr/include/c++/9/bits/alloc_traits.h:482:2: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ask; _Args = {int, int, int, int&}; _Tp = ask; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<ask>]'
/usr/include/c++/9/bits/vector.tcc:115:30: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, int, int, int&}; _Tp = ask; _Alloc = std::allocator<ask>; std::vector<_Tp, _Alloc>::reference = ask&]'
selling_rna.cpp:87:55: required from here
/usr/include/c++/9/ext/new_allocator.h:145:20: error: new initializer expression list treated as compound expression [-fpermissive]
145 | noexcept(noexcept(::new((void *)__p)
| ^~~~~~~~~~~~~~~~~~
146 | _Up(std::forward<_Args>(__args)...)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/new_allocator.h:145:20: error: no matching function for call to 'ask::ask(int&)'
selling_rna.cpp:29:8: note: candidate: 'ask::ask()'
29 | struct ask {
| ^~~
selling_rna.cpp:29:8: note: candidate expects 0 arguments, 1 provided
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(const ask&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'const ask&'
selling_rna.cpp:29:8: note: candidate: 'constexpr ask::ask(ask&&)'
selling_rna.cpp:29:8: note: no known conversion for argument 1 from 'int' to 'ask&&'