| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 902394 | KK_1729 | Coreputer (IOI23_coreputer) | C++17 | 1 ms | 428 KiB |
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"
using namespace std;
vector<int> malfunctioning_cores(int N) {
vector<int> c(N);
int k = run_diagnostic({0});
if (k == 1){
c[0] = 1;
return c;
}
if (k == -1){
c[1] = 1;
return c;
}
if (k == 0){
int u = run_diagnostic({0, 1});
if (u == 1){
c[0] = 1;
c[1] = 1;
return c;
}
if (u == 0){
return c;
}
}
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... | ||||
