#include <bits/stdc++.h>
using namespace std;
#include "biscuits.h"
#define int long long
#define loop(x, i) for (int i = 0; i < x; i++)
#define pb push_back
#define ALL(x) (x).begin(), (x).end()
typedef vector<int> vi;
typedef pair<int, int> ii;
typedef set<int> si;
typedef vector<vi> vvi;
int count_tastiness(int x, vi a)
{
if (x != 1)
throw;
int res = 1, cur = 0;
int pow = 1;
a.pb(0);
loop(a.size(), i)
{
if (a[i] > 0)
{
cur += a[i] * pow;
pow *= 2;
}
else
{
res *= (cur + 1);
cur = 0;
pow = 1;
}
}
return res;
}
Compilation message
mushrooms.cpp:3:10: fatal error: biscuits.h: No such file or directory
3 | #include "biscuits.h"
| ^~~~~~~~~~~~
compilation terminated.