# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
148426 | 还没编好 (#200) | List of Unique Integers (FXCUP4_unique) | C++17 | 5 ms | 256 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 "unique.h"
using namespace std;
vector<int> PickUnique(int N) {
vector<int> g(N,1);
int l=0;
for(int r=0;r<N;++r)
{
while(UniqueCount(l,r)!=r-l+1)
g[l++]=g[r]=0;
}
return g;
}
#ifdef LOCAL
#include "grader.cpp"
#endif
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |