22. 피자 나눠 먹기(3)

김해준's avatar
Dec 04, 2025
22. 피자 나눠 먹기(3)
문제
notion image
풀이
class Solution { public int solution(int slice, int n) { int answer = n / slice; if(n % slice != 0) answer++; return answer; } }
notion image
Share article