| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1360869 | po_rag526 | Coreputer (IOI23_coreputer) | C++20 | 0 ms | 348 KiB |
#include "coreputer.h"
#include <bits/stdc++.h>
using namespace std;
std::vector<int> malfunctioning_cores(int N) {
vector <int> aa;
aa.push_back(0);
aa.push_back(1);
int an1 = run_diagnostic(aa);
if(an1 == 0){
return {0,0};
}else{
aa.clear();
aa.push_back(0);
int an1 = run_diagnostic(aa);
if(an1 == 0){
return {1,1};
}else if(an1 == 1){
return {1,0};
}else{
return {0,1};
}
}
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
