biscuits.cpp: In function 'long long int count_tastiness(long long int, std::vector<long long int>)':
biscuits.cpp:36:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int i = 0; i < a.size(); i++) sum += a[i] * (1LL << i);
| ~~^~~~~~~~~~
biscuits.cpp:41:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int j = 0; j < a.size(); j++){
| ~~^~~~~~~~~~
biscuits.cpp:58:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int i = 1; i < a.size() + 62; i++) expected[i] = (expected[i - 1] / 2) + (i < a.size() ? a[i] : 0);
| ~~^~~~~~~~~~~~~~~
biscuits.cpp:58:83: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int i = 1; i < a.size() + 62; i++) expected[i] = (expected[i - 1] / 2) + (i < a.size() ? a[i] : 0);
| ~~^~~~~~~~~~
biscuits.cpp:61:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for(int i = 0; (i + 1) < a.size() + 62; i++){
| ~~~~~~~~^~~~~~~~~~~~~~~
biscuits.cpp:64:50: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | int nxt = ((expected[i] - j) / 2) + ((i + 1) < a.size() ? a[i + 1] : 0), actual = expected[i + 1] - nxt;
| ~~~~~~~~^~~~~~~~~~
biscuits.cpp:55:43: warning: iteration 121 invokes undefined behavior [-Waggressive-loop-optimizations]
55 | for(int j = 0; j <= 122; j++) dp[j][i] = 0;
| ~~~~~~~~~^~~
biscuits.cpp:55:21: note: within this loop
55 | for(int j = 0; j <= 122; j++) dp[j][i] = 0;
| ~~^~~~~~