sequence.cpp: In function 'void rec()':
sequence.cpp:18:33: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
18 | if(n % m == 0 && ans.size() == n - 1){
| ~~~~~~~~~~~^~~~~~~~
sequence.cpp:21:33: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
21 | if(m % n == 0 && ans.size() == m - 1){
| ~~~~~~~~~~~^~~~~~~~
sequence.cpp:25:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
25 | if(v.size() >= n){
| ~~~~~~~~~^~~~
sequence.cpp:28:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
28 | if(v.size() >= m){
| ~~~~~~~~~^~~~
sequence.cpp:34:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
34 | if(v.size() >= n) sum1 -= v[v.size() - n];
| ~~~~~~~~~^~~~
sequence.cpp:35:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
35 | if(v.size() >= m) sum2 -= v[v.size() - m];
| ~~~~~~~~~^~~~
sequence.cpp:45:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
45 | if(v.size() >= n) sum1 += v[v.size() - n];
| ~~~~~~~~~^~~~
sequence.cpp:46:17: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
46 | if(v.size() >= m) sum2 += v[v.size() - m];
| ~~~~~~~~~^~~~
sequence.cpp: At global scope:
sequence.cpp:69:2: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
69 | main() {
| ^~~~