프로그래머스69 프로그래머스 - 푸드 파이트 대회(Java) package programmers.lv1; public class 푸드파이트대회 { public static String Solution(int[] food){ String answer = "0"; for(int i = food.length-1; i>0; i--){ // 홀수인 경우 if(food[i]%2 != 0){ for(int j=1; j 2023. 8. 13. 프로그래머스 - 크기가 작은 부분 문자열(java) package programmers.lv1; public class 크기가작은부분문자열 { public static int solution(String t, String p){ int answer = 0; for(int i = 0; i 2023. 8. 13. 프로그래머스(java) : 음양 더하기 프로그래머스 : https://school.programmers.co.kr/learn/courses/30/lessons/76501 class Solution { public int solution(int[] absolutes, boolean[] signs) { int answer = 123456789; int K = 0; for(int i = 0; i 2022. 11. 15. 프로그래머스 (Oracle) LV.1 문제풀이 프로그래머스 데이터베이스 (oracle) Lv1 문제풀이 모음 정답률 순서에 따라 문제를 나열했습니다(변동 있음) 문제 답안은 더보기 클릭하면 보입니다. 풀이 방식은 다를 수 있습니다. 아픈 동물 찾기. 풀이 : 더보기 (1) Select : 조회할 열 (animal_id, name) (2) from : 참조할 테이블 (animal_ins) (3) where 조건 : 아픈 동물 (intake_condition = sick) (4) 정렬 order by : animal_id 오름차순으로. (asc 명시하지 않아도 정렬 됨) select animal_id, name from animal_ins where intake_condition = 'Sick' order by animal_id asc; 동물의 아이디와.. 2022. 10. 20. 이전 1 2 3 4 ··· 18 다음