| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1232376 | LeonidCuk | 스핑크스 (IOI24_sphinx) | C++17 | 12 ms | 412 KiB |
#include "sphinx.h"
#include <bits/stdc++.h>
using namespace std;
int n;
bool check(int x,int k)
{
vector<int>temp(n,k);
temp[x]=-1;
if(perform_experiment(temp)==2)return true;
else return false;
}
vector<int> find_colours(int N,vector<int> X,vector<int> Y) {
n=N;
vector<int>res(n);
for(int i=0;i<n;i++)
{
for(int j=0;j<n;j++)
{
if(check(i,j))
{
res[i]=j;break;
}
}
}
return res;
}
| # | 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... | ||||
