# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
36417 | 2017-12-08T18:51:26 Z | bnahmad15 | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 1306 ms | 27472 KB |
#include <bits/stdc++.h> int encode(int n,int x,int y){ int bit = 0; for (int i= 0;i<10;i++){ if ((x&(1<<i)) != (y&(1<<i))){ bit = i; if ((x & (1<<i)) == 1) bit+=10; break; } } return bit+1; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1259 ms | 27472 KB | wrong answer |
2 | Incorrect | 1306 ms | 27472 KB | wrong answer |