# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1161870 | simona1230 | Carnival (CEOI14_carnival) | C++17 | 0 ms | 412 KiB |
#include <bits/stdc++.h>
using namespace std;
int n;
int a[151],c[151];
int query(int l,int r,int id)
{
cout<<r-l+2<<" ";
for(int i=l;i<=r;i++)
cout<<i<<" ";
if(id!=-1)cout<<id<<endl;
else cout<<endl;
int x;
cin>>x;
return x;
}
void rec(int l,int r)
{
if(l==r)
{
a[l]=1;
return;
}
if(l>r)return;
int m=(l+r)/2;
rec(l,m);
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |