# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
100943 | 2019-03-15T11:09:51 Z | E869120 | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 1553 ms | 79128 KB |
int encode (int n, int x, int y) { for (int i = 0; i < 10; i++) { int v1 = (x / (1 << i)) % 2; int v2 = (y / (1 << i)) % 2; if (v1 == 0 && v2 == 1) return i * 2 + 1; if (v1 == 1 && v2 == 0) return i * 2 + 2; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Partially correct | 1553 ms | 79128 KB | Output is partially correct - maxh = 20 |
2 | Partially correct | 1397 ms | 78832 KB | Output is partially correct - maxh = 20 |