biscuits.cpp: In function 'long long int count_tastiness(long long int, std::vector<long long int>)':
biscuits.cpp:20:18: error: 'struct std::pair<const long long int, long long int>' has no member named 'fr'
20 | dp[i + 1][((v.fr + (i >= len(a) ? 0 : a[i])) / 2)] += v.sc;
| ^~
biscuits.cpp:20:60: error: 'struct std::pair<const long long int, long long int>' has no member named 'sc'
20 | dp[i + 1][((v.fr + (i >= len(a) ? 0 : a[i])) / 2)] += v.sc;
| ^~
biscuits.cpp:21:36: error: 'struct std::pair<const long long int, long long int>' has no member named 'fr'
21 | if((i >= len(a) ? 0 : a[i]) + v.fr >= x) dp[i + 1][(v.fr + (i >= len(a) ? 0 : a[i]) - x) / 2] += v.sc;
| ^~
biscuits.cpp:21:58: error: 'struct std::pair<const long long int, long long int>' has no member named 'fr'
21 | if((i >= len(a) ? 0 : a[i]) + v.fr >= x) dp[i + 1][(v.fr + (i >= len(a) ? 0 : a[i]) - x) / 2] += v.sc;
| ^~
biscuits.cpp:21:103: error: 'struct std::pair<const long long int, long long int>' has no member named 'sc'
21 | if((i >= len(a) ? 0 : a[i]) + v.fr >= x) dp[i + 1][(v.fr + (i >= len(a) ? 0 : a[i]) - x) / 2] += v.sc;
| ^~
biscuits.cpp:25:8: error: found ':' in nested-name-specifier, expected '::'
25 | for(v : dp[len(a) + 7]){
| ^
| ::
biscuits.cpp:25:6: error: 'v' has not been declared
25 | for(v : dp[len(a) + 7]){
| ^
biscuits.cpp:28:2: error: expected primary-expression before 'return'
28 | return ret;
| ^~~~~~
biscuits.cpp:27:3: error: expected ';' before 'return'
27 | }
| ^
| ;
28 | return ret;
| ~~~~~~
biscuits.cpp:28:2: error: expected primary-expression before 'return'
28 | return ret;
| ^~~~~~
biscuits.cpp:27:3: error: expected ')' before 'return'
27 | }
| ^
| )
28 | return ret;
| ~~~~~~
biscuits.cpp:25:5: note: to match this '('
25 | for(v : dp[len(a) + 7]){
| ^