공부/프로그래머스
피자 나눠 먹기 (1)
딸기버블티
2024. 1. 26. 14:12
class Solution {
public int solution(int n) {$
return n % 7 == 0 ? n / 7 : n / 7 + 1;
}
}