# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
96487 | Camaroes | Hidden Sequence (info1cup18_hidden) | C++14 | 1588 ms | 420 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 "grader.h"
using namespace std;
vector<int> findSequence(int N)
{
vector<int> ans (N, 0);
for(;;)
{
if(isSubsequence(ans)) return ans;
for(int i = 0; i < N; i++)
{
if(ans[i] == 0)
{
ans[i] = 1;
i = N;
}
if(ans[i] == 1)
{
ans[i] = 0;
}
}
}
return ans;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |