이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "koala.h"
#include<iostream>
using namespace std;
int b[100];
int r[100];
int minValue(int n, int w)
{
for(int i=0;i<n;i++)
{
b[i]=0;
}
b[0]=1;
playRound(b,r);
int mipos=-1;
for(int i=0;i<n;i++)
{
if(r[i]==0)mipos=-1;
}
if(mipos==-1)while(1);
return mipos;
}
int maxValue(int n, int w) {
return 0;
}
int greaterValue(int n, int w) {
return 0;
}
void allValues(int N, int W, int *P) {
if (W == 2*N) {
} else {
}
}
# | 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... |