# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
26690 | 2017-07-05T02:24:20 Z | grands | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++14 | 0 ms | 0 KB |
#include <stdlib.h> #include <string.h> int encode (int n, int x, int y) { char str[100] = { 0 }; itoa(n, str, 2); int bit = strlen(str); return (x << bit) + y; }