# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1179063 | 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) {
vector<int> b(100, 0);
vector<int> r(100);
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, vector<int> &P) {
}