roads.cpp: In function 'bool mic(pii, pii)':
roads.cpp:33:43: error: 'tg' was not declared in this scope; did you mean 'tm'?
33 | pair <double, double> pa = {a.first * tg(slope), a.second * ctg(slope)};
| ^~
| tm
roads.cpp:33:65: error: 'ctg' was not declared in this scope
33 | pair <double, double> pa = {a.first * tg(slope), a.second * ctg(slope)};
| ^~~
roads.cpp:33:75: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::pair<double, double>'
33 | pair <double, double> pa = {a.first * tg(slope), a.second * ctg(slope)};
| ^
| |
| <brace-enclosed initializer list>
roads.cpp:34:75: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::pair<double, double>'
34 | pair <double, double> pb = {b.first * tg(slope), b.second * ctg(slope)};
| ^
| |
| <brace-enclosed initializer list>