제출 #35076

#제출 시각아이디문제언어결과실행 시간메모리
35076imaxblue질문 (CEOI14_question_grader)C++14
0 / 100
1206 ms25664 KiB
int encode(int N, int X, int Y){
  return (((X^Y)&-(X^Y)) << 1)+(X>Y);
}
int decode(int N, int Q, int H){
  return (H&1)?((Q&(1 << (H/2)))>0):((Q&(1 << (H/2)))==0);
}
#Verdict Execution timeMemoryGrader output
Fetching results...