[programmers][X] 예상 대진표
in Algorithm on Algorithm
https://school.programmers.co.kr/learn/courses/30/lessons/12985
class Solution
{
public int solution(int n, int a, int b)
{
int answer = 0;
while(true){
if(a==b){
return answer;
}else{
a = (a/2) + (a%2);
b = (b/2) + (b%2);
answer++;
}
}
}
}