# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
42311 | 2018-02-25T22:40:15 Z | hsb154 | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 1668 ms | 80888 KB |
int encode (int n, int x, int y) { int i; int cnt = 0; for (i = 0;; i++) { if ((x&(1 << i)) != (y & (1 << i))) { if (x&(1 << i)) return i +10+1; else return i+1; } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Partially correct | 1608 ms | 80592 KB | Output is partially correct - maxh = 20 |
2 | Partially correct | 1668 ms | 80888 KB | Output is partially correct - maxh = 20 |