Submission #148426

#TimeUsernameProblemLanguageResultExecution timeMemory
148426还没编好 (#200)List of Unique Integers (FXCUP4_unique)C++17
0 / 100
5 ms256 KiB
#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 timeMemoryGrader output
Fetching results...