# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
625911 | palilo | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++17 | 7054 ms | 212 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
auto encode(int n, int x, int y) -> int {
for (int i = 0;; ++i) {
if ((x >> i & 1) && (~y >> i & 1)) {
return i + 1;
}
}
}
auto decode(int n, int q, int h) -> int {
return q >> (h - 1) & 1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |