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 "coreputer.h"
#include <bits/stdc++.h>
using namespace std;
std::vector<int> malfunctioning_cores(int N) {
vector<int> tagged;
vector<int> ans(N, 0);
tagged.push_back(0);
int temp = run_diagnostic(tagged);
if(temp == 0){
ans[0] = 1; ans[1] = 1;
} else if(temp == -1) ans[1] = 1;
else ans[0] = 1;
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |