# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1179078 | Ahmed_Kaaniche | Koala Game (APIO17_koala) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include "koala.h"
using namespace std;
#define endl "\n"
#define ll long long
#define fi first
#define se second
#define pb push_back
int minValue(int n, int w) {
int b[100], r[100];
memset(b, 0, sizeof(b));
b[0] = 1;
playRound(b, r);
if (r[0] <= 1)
return 0;
else {
for (int i = 0; i < n; ++i) {
if (r[i] == 0)
return i;
}
}
}
int maxValue(int n, int w) {
}
bool greaterValue(int n, int w) {
}
void allValues(int n, int w, int &p) {
}