triusis.cpp: In function 'int main()':
triusis.cpp:37:19: error: invalid initialization of reference of type 'const std::vector<long long int>&' from expression of type 'std::vector<int>'
37 | cout << poles(height,m)-1;
| ^~~~~~
triusis.cpp:11:29: note: in passing argument 1 of 'int poles(const std::vector<long long int>&, ll)'
11 | int poles(vector<ll> const& a, ll m)
| ~~~~~~~~~~~~~~~~~~^
triusis.cpp: In function 'void setIO(std::string)':
triusis.cpp:7:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen((name + ".in").c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triusis.cpp:8:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen((name + ".out").c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~