# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
448659 | vanic | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 256 ms | 99112 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 <set>
#include <vector>
using namespace std;
set < int > s;
vector < set < int > > v;
void rek(int x, int br){
if(x==13){
return;
}
if(br==6){
v.push_back(s);
return;
}
s.insert(x);
rek(x+1, br+1);
s.erase(x);
rek(x+1, br);
}
void precompute(){
rek(1, 0);
}
int encode (int n, int x, int y) {
precompute();
set < int > s1, s2;
s1=v[x];
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |