[자바] 프로그래머스 피자나눠먹기(1)(2)(3) 피자 나눠 먹기 (1) class Solution { public int solution(int n) { int result=0; if(n0){ if(n Java 2023.09.20