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 "coins.h"
#include <bits/stdc++.h>
using namespace std;
std::vector<int> coin_flips(std::vector<int> b, int c) {
vector<int> v(1);
if (c==0)
{
if (b[0]==1) v[0]=0;
else v[0]=1;
}
else
{
if (b[0]==0) v[0]=0;
else v[0]=1;
}
return v;
}
int find_coin(std::vector<int> b) {
return b[0];
if (b[0] == 0) {
return 0;
}
return 7;
}
# | 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... |