function solution(n,a,b) { let answer = 0; while(a !== b){ a = Math.ceil(a/2) b = Math.ceil(b/2) answer++ } return answer; }
모두 통과!