# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
448622 | 2021-07-31T08:16:32 Z | vanic | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 2881 ms | 24284 KB |
int encode (int n, int x, int y) { int a=0; for(int i=0; i<12; i++){ if(((1<<i)&x) && !((1<<i)&y)){ a=i+1; break; } } if(a){ return a; } for(int i=0; i<12; i++){ if(!((1<<i)&x) && ((1<<i)&y)){ a=11+i; break; } } return a; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2881 ms | 24060 KB | wrong answer |
2 | Incorrect | 2762 ms | 24284 KB | wrong answer |