# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1260201 | ebrambill | 코알라 (APIO17_koala) | C++17 | 0 ms | 0 KiB |
//In the name of GOD
#include <bits/stdc++.h>
#include "koala.h"
using namespace std;
const int maxN=1e3;
int B[maxN], R[maxN];
int minValue(int n, int w){
for (int i=0; i<n; i++) B[i]=!i;
playRound(B, R);
for (int i=0; i<n; i++){
if(R[i]<=B[i]) return i;
}
return 0;
}
int maxValue(int n, int w){
return 0;
}
bool greaterValue(int n, int w){
for (int i=0; i<n; i++) B[i]=(i<=1);
playRound(B, R);
return B[0]<=R[0];
}
void allValues(int n, int w, int *p){
if(n==w){
}
else{
}
}