# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
35079 | imaxblue | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 1849 ms | 25664 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.
int encode(int N, int X, int Y){
return (((X^Y)&-(X^Y)) << 1)+((X&(((X^Y)&-(X^Y))))>0);
}
int decode(int N, int Q, int H){
return (H&1)?((Q&(H/2))>0):((Q&(H/2))==0);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |