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