timeismoney.cpp: In function 'pointz mst(long long int, long long int, bool)':
timeismoney.cpp:146:21: error: no matching function for call to 'pointz::pointz(long long int&, long long int&)'
146 | fp = pointz(sx, sy);
| ^
timeismoney.cpp:76:8: note: candidate: 'pointz::pointz()'
76 | struct pointz {
| ^~~~~~
timeismoney.cpp:76:8: note: candidate expects 0 arguments, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr pointz::pointz(const pointz&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr pointz::pointz(pointz&&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:150:22: error: no matching function for call to 'pointz::pointz(long long int&, long long int&)'
150 | return pointz(sx, sy);
| ^
timeismoney.cpp:76:8: note: candidate: 'pointz::pointz()'
76 | struct pointz {
| ^~~~~~
timeismoney.cpp:76:8: note: candidate expects 0 arguments, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr pointz::pointz(const pointz&)'
timeismoney.cpp:76:8: note: candidate expects 1 argument, 2 provided
timeismoney.cpp:76:8: note: candidate: 'constexpr pointz::pointz(pointz&&)'
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);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~