# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
189137 | 2020-01-13T22:20:19 Z | TadijaSebez | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++11 | 1083 ms | 113952 KB |
#include <vector> std::vector<int> v; int encode(int n, int x, int y) { if(v.empty()) for(int i=1;v.size()<=920;i++) if(__builtin_popcount(i)==3) v.push_back(i); for(int i=0;i<12;i++) if((v[x]>>i&1) && !(v[y]>>i&1)) return i+1; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1073 ms | 113952 KB | wrong answer |
2 | Incorrect | 1083 ms | 113896 KB | wrong answer |