| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1282254 | MMihalev | 스핑크스 (IOI24_sphinx) | C++20 | 38 ms | 652 KiB |
#include<iostream>
#include<vector>
#include<algorithm>
#include "sphinx.h"
using namespace std;
vector<int>exp,ans;
std::vector<int> find_colours(int N, std::vector<int> X, std::vector<int> Y)
{
exp.resize(N);ans.resize(N);
if(N<=50)
{
for(int u=0;u<N;u++)
{
for(int col=0;col<N;col++)
{
for(int i=0;i<N;i++)
{
exp[i]=col;
}
exp[u]=-1;
if(perform_experiment(exp)==1)ans[u]=col;
}
}
return ans;
}
}
Compilation message (stderr)
| # | 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... | ||||
