boat.cpp: In function 'int main()':
boat.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 1; i < v.size(); i++) len[i] = v[i] - v[i - 1];
| ~~^~~~~~~~~~
boat.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 1; i < v.size(); i++) {
| ~~^~~~~~~~~~
boat.cpp:65:7: warning: unused variable 'mul' [-Wunused-variable]
65 | ll mul = 1;
| ^~~
boat.cpp:66:7: warning: unused variable 'tot' [-Wunused-variable]
66 | ll tot = 0;
| ^~~
boat.cpp:67:7: warning: unused variable 'm2' [-Wunused-variable]
67 | ll m2 = 1;
| ^~
boat.cpp:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for(int i = 0; i < v.size(); i++) sum[i][0] = 1;
| ~~^~~~~~~~~~
boat.cpp:93:10: warning: unused variable 'tot' [-Wunused-variable]
93 | ll tot = len[i];
| ^~~
boat.cpp:110:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for(int i = l[p]; i < v.size(); i++) sum[i][p] = (sum[i][p] + sum[i - 1][p]) % mod;
| ~~^~~~~~~~~~