| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1218462 | nikd | 스핑크스 (IOI24_sphinx) | C++20 | 1 ms | 412 KiB |
#include "sphinx.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> find_colours(int n, vector<int> X, vector<int> Y) {
assert(n==2);
vector<int> E(n, -1);
int c = perform_experiment(E);
vector<int> sl(n, 0);
if(c == 1){
E[0] = 0;
c = perform_experiment(E);
if(c==1) return sl;
sl[0] = 1; sl[1] = 1;
return sl;
}
E[0] = 0;
c = perform_experiment(E);
if(c==1){
sl[0] = 1; sl[1] = 0;
return sl;
}
sl[1] = 1;
return sl;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
