# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
189095 | 2020-01-13T17:05:34 Z | TadijaSebez | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++11 | 4 ms | 988 KB |
int encode (int n, int x, int y) { for(int step=1;step<=10;step++) { int a=0,b=0; for(int i=0;i<10;i+=step) { a^=x>>i&1; b^=y>>i&1; } if(a!=b) return (step-1)*2+a; } return -1; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 4 ms | 776 KB | Output isn't correct |
2 | Incorrect | 4 ms | 988 KB | Output isn't correct |