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"
using namespace std;
const int ivamanjeod3 = 64;
vector<int> coin_flips(vector<int> iva, int a) {
for (int i = 0; i < ivamanjeod3; i++) {
if (iva[i]) {
a ^= i;
}
}
return {a};
}
int find_coin(vector<int> iva) {
int ivaziva = 0;
for (int i = 0; i < ivamanjeod3; i++) {
if (iva[i]) {
ivaziva ^= i;
}
}
return ivaziva;
}
# | 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... |