timeismoney.cpp: In function 'point mst(long long int, long long int, bool)':
timeismoney.cpp:146:20: error: no matching function for call to 'point::point(long long int&, long long int&)'
146 | fp = point(sx, sy);
| ^
timeismoney.cpp:76:8: note: candidate: 'point::point()'
76 | struct point {
| ^~~~~
timeismoney.cpp:76:8: note: candidate expects 0 arguments, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr point::point(const point&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr point::point(point&&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:150:21: error: no matching function for call to 'point::point(long long int&, long long int&)'
150 | return point(sx, sy);
| ^
timeismoney.cpp:76:8: note: candidate: 'point::point()'
76 | struct point {
| ^~~~~
timeismoney.cpp:76:8: note: candidate expects 0 arguments, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr point::point(const point&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr point::point(point&&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp: In function 'void file_io(std::string, std::string)':
timeismoney.cpp:25:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | freopen(fi.c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
timeismoney.cpp:28:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | freopen(fo.c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~