05.28에 푼 문제입니다.🌷 예상대진표
function solution(n,a,b) { var answer = 0; while(a!==b){ a=Math.ceil(a/2) b=Math.ceil(b/2) answer++ } return answer; }