Mixture.cpp:3:22: error: 'numbers' is not a namespace-name
3 | using namespace std::numbers;
| ^~~~~~~
Mixture.cpp: In function 'int main()':
Mixture.cpp:25:22: error: 'gcd' was not declared in this scope
25 | divide = gcd(x, y);
| ^~~
Mixture.cpp:30:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
30 | if(it == angles.begin())
| ^
Mixture.cpp:34:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
34 | if(it == angles.end())
| ^
Mixture.cpp:47:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
47 | if(it == angles.begin())
| ^
Mixture.cpp:51:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
51 | if(it == angles.end())
| ^
Mixture.cpp:41:20: warning: unused variable 'x' [-Wunused-variable]
41 | int r, x, y;
| ^
Mixture.cpp:41:23: warning: unused variable 'y' [-Wunused-variable]
41 | int r, x, y;
| ^
Mixture.cpp:15:29: warning: unused variable 't' [-Wunused-variable]
15 | int ctrl = 0, ctrt = 0, t = 0;
| ^