|| 오류 현상 Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC || 해결 방법 C:\WINDOWS\system3 폴더에 아래의 파일들을 넣어 줘야 한다. librfc32.dll sapjcorfc.dll || 참고 URL https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=leeyoon0607&logNo=70116425394
package hello.core.beanfind; import hello.core.discount.DiscountPolicy; import hello.core.discount.FixDiscountPolicy; import hello.core.discount.RateDiscountPolicy; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.NoUniqueBeanDefinitionException; import org.springframework.context.annota..
package hello.core.beanfind; import hello.core.AppConfig; import hello.core.member.MemberService; import hello.core.member.MemberServiceImpl; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.context.annotation.AnnotationConfigAppli..
참고 URL http://www.henrikfrank.dk/abaptips/javaforsap/javabasics/sapjava_simple_rfc.htm SAP Java Connector - Excample 1: CompanyCode_GetList SAP Java Connector - Excample 1: Simple RFC call Scenario We will call the RFC function module ZNAS_HIE1_GET_MEMBER_FARM.that returns members that have owned a farm. Input to the function is a farm number, and output is a table of members that have owned t w..
// $("#테이블명").on("click", "tr", function(){ $("#tempList tbody").on("click", "tr", function(){ alert( $(this).find("td:eq(0)").text() ); alert( $(this).find("td:eq(1)").text() ); }); td:eq(0) -> 선택(클릭)한 row의 첫번째 데이터 -> 컬럼0 td:eq(1) -> 선택(클릭)한 row의 두번째 데이터 -> 컬럼1
- DFS는 출력해주는 위치에 따라 전위 / 중위 / 후위를 표현할 수 있다. 💻 코드 package org.kyhslam.algorithm; public class d58 { public static void dfs(int v) { if(v > 7) return; else{ System.out.print(v + " "); // 전위 : 1 2 4 5 3 6 7 dfs(v*2); //System.out.print(v + " "); // 중위 : 4 2 5 1 6 3 7 dfs((v*2)+1); //System.out.print(v + " "); // 후위 : 4 5 2 6 7 3 1 } } public static void main(String[] args) { dfs(1); } }
CSS HTML HOME ABOUT Entertain view search Board
🔗 문제 링크 https://programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr 📝 풀이 종류별로 같은 이름의 옷은 없으므로 HashMap을 이용하여 풀어보았습니다. 처음 등장하는 Key는 등장 횟수를 1로 설정하고, 그 이후 등장 부터는 기존 값에 1을 더하는 방식으로 구현하였습니다. 입을 수 있는 옷 종류의 수는 각 종류별로 선택할지 안 할지 여부(+1)를 포함하여 아래와 같은 방식으로 구할 수 있습니다. (A종류 옷 가지수 + 1)*(B종류 옷 가지수 + 1)*(C종류 옷 가지수 + 1) - 1 마지막의 -1은 아무것도 선택하지 않은 경우는 없어야하므로 제외 해준 것입니다. 코드로 구현할 때는 향상된 for..
🔗 문제 [프로그래머스] 전화번호 목록 코딩테스트 연습 - 전화번호 목록 전화번호부에 적힌 전화번호 중, 한 번호가 다른 번호의 접두어인 경우가 있는지 확인하려 합니다. 전화번호가 다음과 같을 경우, 구조대 전화번호는 영석이의 전화번호의 접두사입니다. 구조 programmers.co.kr 📝 풀이 접두사(接頭辭,prefix)는 어떤 단어(어근)의 앞에 붙어 뜻을 첨가하여 하나의 다른 단어를 이루는 말을 이른다. 예 : ‘맨주먹·덧버선·풋사과·군소리’ 등에서 ‘맨―’·‘덧―', '풋-', '군-' 따위 즉, 119는 11 9552 4421 중에서 끝자리인 1을 제외한 119552442의 접두어 이므로 false이다. 💻 코드 public static boolean solution(String[] phone..
🔗 문제 링크 코딩테스트 연습 - 완주하지 못한 선수 수많은 마라톤 선수들이 마라톤에 참여하였습니다. 단 한 명의 선수를 제외하고는 모든 선수가 마라톤을 완주하였습니다. 마라톤에 참여한 선수들의 이름이 담긴 배열 participant와 완주한 선수 programmers.co.kr 💻 코드 import java.util.*; class Solution { public String solution(String[] participant, String[] completion) { String answer = ""; ArrayList p = new ArrayList(); ArrayList c = new ArrayList(); for(int i=0; i < participant.length; i++) { p.add..
package org.kyhslam; import java.util.Arrays; public class stack03 { public static int[] solution(int[] prices) { int[] answer = new int[prices.length]; for(int i=0; i prices[j]){ break; } } } System.out.println(Arrays.toString(answer)); return answer; } public static void main(String[] args) { int[] p =..
문제 https://programmers.co.kr/learn/courses/30/lessons/42587?language=java 코딩테스트 연습 - 프린터 일반적인 프린터는 인쇄 요청이 들어온 순서대로 인쇄합니다. 그렇기 때문에 중요한 문서가 나중에 인쇄될 수 있습니다. 이런 문제를 보완하기 위해 중요도가 높은 문서를 먼저 인쇄하는 프린 programmers.co.kr 내가한거 package org.kyhslam; import java.util.*; public class stack02 { public static class Task { private int priority; private int location; public Task(int priority, int location) { this.p..