# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
347041 | 2021-01-11T15:24:57 Z | ACmachine | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++17 | 0 ms | 0 KB |
int encode (int n, int x, int y) { int res; if(x > y){ REP(j, 12){ if((x & (1 << j))&&!(y & (1 << j))){ res = j; break; } } } else{ REP(j, 12){ if(!(x & (1 << j)) && (y & (1 << j))){ res = j; break; } } } return res; }