This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "koala.h"
#include <bits/stdc++.h>
#define pb push_back
#define f first
#define sc second
using namespace std;
typedef long long int ll;
typedef string str;
int B[100], R[100];
int minValue(int n, int w){
B[0] = 1;
for(int i = 1; i < n; i++) B[i] = 0;
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;
}
int greaterValue(int n, int w){
return 0;
}
void allValues(int n, int w, int *P){
return;
}
# | 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... |