# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
564707 | 2022-05-19T13:39:41 Z | MrDeboo | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++17 | 1840 ms | 24284 KB |
#include <bits/stdc++.h> using namespace std; int encode (int n, int x, int y) { for(int i=0;i<10;i++){ if(((1<<i)&x)!=((1<<i)&y)){ if(((1<<i)&x))return i*2+1; return i*2+2; } } return -1; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1840 ms | 24032 KB | wrong answer |
2 | Incorrect | 1813 ms | 24284 KB | wrong answer |