This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
// correct/solution-subtask1.cpp
#include "coreputer.h"
#include <iostream>
std::vector<int> malfunctioning_cores(int N) {
std::vector<int> c(N);
for(int i=0; i<N; i++) c[i] = 0;
int p = run_diagnostic({0});
if(p<=0) c[1] = 1;
if(p>=0) c[0] = 1;
return c;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |