Submission #625910

#TimeUsernameProblemLanguageResultExecution timeMemory
625910paliloQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++17
0 / 100
7049 ms416 KiB
auto encode(int n, int x, int y) -> int { for (int i = 0;; ++i) { if ((x >> i & 1) && (~y >> i & 1)) { return i; } } }
auto decode(int n, int q, int h) -> int { return q >> h & 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...