In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h:33,
from /usr/include/c++/10/bits/allocator.h:46,
from /usr/include/c++/10/string:41,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from mecho.cpp:1:
/usr/include/c++/10/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = point; _Args = {int&, int&}; _Tp = point]':
/usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = point; _Args = {int&, int&}; _Tp = point; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<point>]'
/usr/include/c++/10/bits/vector.tcc:115:30: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, int&}; _Tp = point; _Alloc = std::allocator<point>]'
mecho.cpp:21:60: required from here
/usr/include/c++/10/ext/new_allocator.h:150:4: error: no matching function for call to 'point::point(int&, int&)'
150 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mecho.cpp:8:8: note: candidate: 'constexpr point::point()'
8 | struct point{
| ^~~~~
mecho.cpp:8:8: note: candidate expects 0 arguments, 2 provided
mecho.cpp:8:8: note: candidate: 'constexpr point::point(const point&)'
mecho.cpp:8:8: note: candidate expects 1 argument, 2 provided
mecho.cpp:8:8: note: candidate: 'constexpr point::point(point&&)'
mecho.cpp:8:8: note: candidate expects 1 argument, 2 provided
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h:33,
from /usr/include/c++/10/bits/allocator.h:46,
from /usr/include/c++/10/string:41,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from mecho.cpp:1:
/usr/include/c++/10/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = point; _Args = {int, int}; _Tp = point]':
/usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = point; _Args = {int, int}; _Tp = point; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<point>]'
/usr/include/c++/10/bits/deque.tcc:170:30: required from 'void std::deque<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, int}; _Tp = point; _Alloc = std::allocator<point>]'
/usr/include/c++/10/bits/stl_queue.h:282:18: required from 'void std::queue<_Tp, _Sequence>::emplace(_Args&& ...) [with _Args = {int, int}; _Tp = point; _Sequence = std::deque<point, std::allocator<point> >]'
mecho.cpp:38:48: required from here
/usr/include/c++/10/ext/new_allocator.h:150:4: error: no matching function for call to 'point::point(int, int)'
150 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mecho.cpp:8:8: note: candidate: 'constexpr point::point()'
8 | struct point{
| ^~~~~
mecho.cpp:8:8: note: candidate expects 0 arguments, 2 provided
mecho.cpp:8:8: note: candidate: 'constexpr point::point(const point&)'
mecho.cpp:8:8: note: candidate expects 1 argument, 2 provided
mecho.cpp:8:8: note: candidate: 'constexpr point::point(point&&)'
mecho.cpp:8:8: note: candidate expects 1 argument, 2 provided
mecho.cpp: In function 'int main()':
mecho.cpp:92:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
mecho.cpp:93:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~