https://school.programmers.co.kr/learn/courses/30/lessons/120816
단순 구현
class Solution {
public int solution(int slice, int n) {
int answer = 1;
int pizza = slice;
while(true){
if(pizza / n > 0){
return answer;
}else{
pizza +=slice;
answer+=1;
}
}
}
}