# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
451541 | 2021-08-03T08:36:55 Z | kingfran1907 | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 4621 ms | 24104 KB |
int encode (int n, int x, int y) { for (int i = 0; i < 20; i++) { if ((x & (1 << i)) != (y & (1 << i))) { if (x & (1 << i)) return 2 * i + 3; else return 2 * i + 2; } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Partially correct | 4621 ms | 24044 KB | Output is partially correct - maxh = 21 |
2 | Partially correct | 3963 ms | 24104 KB | Output is partially correct - maxh = 21 |