class Solution { public int countOdds(int low, int high) { int count = (high - low + 1); if(count%2 == 1 && low%2 == 1 && high%2 == 1) { count++; } return count/2; }}이지
댓글 0