# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1260057 | Seyyed_Mojtaba_Mortazavi | Koala Game (APIO17_koala) | C++20 | 0 ms | 0 KiB |
#include "koalagame.h"
#include <bits/stdc++.h>
using namespace std;
const int MAXN = 5e5 + 10;
int minValue(int n, int w)
{
vector <int> b(n, 0);
vector <int> r(n, 0);
b[0] = 1;
playRound(b, r);
for (int i = 0; i < n; i++)
{
if (b[i] >= r[i])
return i;
}
}
int maxValue(int n, int w)
{
return 0;
}
int greaterValue(int n, int w)
{
return 0;
}
void allValues(int n, int w, int *p)
{
}