# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
169077 | 2019-12-18T10:31:55 Z | songc | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 1120 ms | 80936 KB |
#include <bits/stdc++.h> using namespace std; typedef pair<int,int> pii; typedef long long LL; vector<LL> V; int encode(int n, int x, int y) { if (V.empty()) for (int i=1; i<(1<<12); i++) if (__builtin_popcount(i)==6) V.push_back(i); for (int i=1; i<=12; i++) if ((x&(1ll<<(i-1))) && !(y&(1ll<<(i-1)))) return i; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1120 ms | 80056 KB | wrong answer |
2 | Incorrect | 1120 ms | 80936 KB | wrong answer |