Submission #281918

#TimeUsernameProblemLanguageResultExecution timeMemory
281918thtsshz_bgwrswhQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++17
0 / 100
0 ms652 KiB
int encode(int n,int x,int y){ int i; for(i=0;;i++) if((x>>i&1)!=(y>>i&1)) return i+10*(x>>i&1); }
int decode(int n,int q,int h){ if(h>9){ h-=9; return q>>h&1; } return !(q>>h&1); }
#Verdict Execution timeMemoryGrader output
Fetching results...