biscuits.cpp: In function 'll count_tastiness(ll, std::vector<long long int>)':
biscuits.cpp:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for (int i = 0; i < a.size(); i++) if (a[i] > x) {
| ~~^~~~~~~~~~
biscuits.cpp:10:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | if (i == a.size() - 1) a.push_back(a[i] - x >> 1);
| ~~^~~~~~~~~~~~~~~
biscuits.cpp:10:44: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
10 | if (i == a.size() - 1) a.push_back(a[i] - x >> 1);
biscuits.cpp:11:27: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
11 | else a[i + 1] += (a[i] - x >> 1);
biscuits.cpp:23:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | if (dat.first != a.size() - 1)
| ~~~~~~~~~~^~~~~~~~~~~~~~~
biscuits.cpp:27:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (dat.first != a.size() - 1)
| ~~~~~~~~~~^~~~~~~~~~~~~~~
biscuits.cpp:28:55: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
28 | mp[{dat.first + 1, a[dat.first + 1] + (dat.second - x >> 1)}] += cnt;
| ~~~~~~~~~~~^~~