#include <bits/stdc++.h>
#include "Annalib.h"
using namespace std;
int mark[151];
void Anna(int n, long long x, int k, int p[] )
{
for(int i=0; i<k; i++) mark[p[i]] = 1;
long long cnt = 0;
for(int i=0; i<n; i++)
{
if(!mark[i] && !mark[i+1] && cnt < 60 && i < n-1)
{
if(x & (1LL<<cnt)) Set(i, 1), Set(i+1, 1);
else Set(i, 1), Set(i+1, 0);
cnt++;
i++;
}
else Set(i, 0);
}
}
#include "Brunolib.h"
#include <bits/stdc++.h>
#include "grader.cpp"
#include "Anna.cpp"
using namespace std;
long long Bruno(int n, int a[] )
{
long long x = 0;
int cnt = 0;
for(int i=0; i<n-1; i++)
{
if(a[i] == 1)
{
if(a[i+1]) x |= (1LL<<cnt);
cnt++;
i++;
}
}
return x;
}
Compilation message
Bruno.cpp:3:10: fatal error: grader.cpp: No such file or directory
#include "grader.cpp"
^~~~~~~~~~~~
compilation terminated.