Amazon API Gateway: 어떤 규모든 API를 손쉽게 생성, 게시, 유지 관리, 모니터링, 보안 기능을 할수 있게 도와주는 완전 관리형 서비스 AWS Application Discovery Service: On-premise 데이터 센터에서 실행 중인 어플리케이션과 연결된 종속성 및 성능 프로파일을 자동으로 파악하는 서비스 Amazon AppStream: 데스크탑 어플리테이션을 다시 작성하지 않고도 기타 디바이스에게 어플리케이션을 스트리밍 하는 웹서비스 Auto Scaling: 사용자 정의 정책, 스케쥴 및 상태에 기반을 둬 인스턴스를 자동으로 시작/종료하는 웹서비스 AWS Artifact: AWS의 보안 및 규정 준수 보고서에 대한 온디맨드 방식의 액세스 제공, Service Organiza..
import java.util.Scanner; public class _KMP알고리즘_ { static int[] preprocessing(String p) { int m = p.length(); int[] pi = new int[m]; pi[0] = 0; int j = 0; for (int i = 1; i 0 && p.charAt(i) != p.charAt(j)) { j = pi[j - 1]; } if (p.charAt(i) == p.charAt(j)) { pi[i] = j + 1; j += 1; } else { pi[i] = 0; } } return pi; } public static void main(String args[]) { Scanner sc = ne..
import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; class Node2 { int valid; int[] children; int pi; ArrayList indexes; Node2() { valid = -1; children = new int[26]; for (int i = 0; i < 26; i++) { children[i] = -1; } pi = -1; indexes = new ArrayList(); } } public class _Aho_corasick_ { static ArrayList trie = new ArrayList(); static int init() { Node2 x = new Node2()..
import java.util.Scanner; public class _문자열매칭_ { static int match(String s, String p) { int n = s.length(); int m = p.length(); for (int i = 0; i
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class _9465_스티커_DP { public static void main(String args[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int t = Integer.valueOf(br.readLine()); while (t-- > 0) { int n = Integer.valueOf(br.readLine()); long[][] a = new long[n + 1][2]; { String[] l..
[입력]첫 번째 줄에는 지도의 크기 N(정사각형이므로 가로와 세로의 크기는 같으며 5≤N≤25)이 입력되고, 그 다음 N줄에는 각각 N개의 자료(0혹은 1)가 입력된다.70110100011010111101010000111010000001111100111000 [출력]첫 번째 줄에는 총 단지수를 출력하시오. 그리고 각 단지 내 집의 수를 오름차순으로 정렬하여 한 줄에 하나씩 출력하시오.3789 public class Main_단지번호붙이기 {static int N;static final int[] dr = new int[]{1,-1,0,0};static final int[] dc = new int[]{0,0,-1,1};public static void main(String[] args) throws Exc..
public class CM_순열조합 {public static void main(String[] args) {int[] a = new int[]{1,2,3,4};soon(a, 0, 3, 3);System.out.println();johab(new int[3], 0, 4, 3, 0);} public static void soon(int[] data, int index, int totalDataCnt, int choiceDataCnt){int temp;if(index == choiceDataCnt){int[] dd = new int[choiceDataCnt];for(int i=0; i< dd.length; i++){dd[i] = data[i];}System.out.println(Arrays.toString..
iis + tomcat 연동하기 1. conneect.zip 파일 실서버에 옮겨놓기2. iis 죽이기 (로컬컴퓨터 마우스 오른쪽 버튼 연결끊기), tomcat 죽이기3. tomcat이 설치 된 곳에 jakarta, redirect_file 폴더 생성(꼭 이렇게 해야하는건 아님) jakarta 폴더 : isapi_redirect.dll 파일 넣기 redirect_file 폴더 : iis_redirect.reg, uriworkermap.properties, workers.properties.minimal 파일 넣기4. iis_redirect.reg 파일 편집하기(edit plus 로 아래와 같이 주의 사항에 주의 하여 편집) (주의 사항 - 경로 부분에서 \\두개쓰이는 부분, 파일명 주의) =========..
euc-kr 페이지 폼에서 utf-8로된 폼으로 데이터를 보낼때 var encode= encodeURI (resultSearchForm.searchValue.value); var classify = resultSearchForm.searchClassify.value; jf_openWindow("?mode=resultSearchForm&searchClassify="+classify+"&searchTitleContent=" + encode, "searchWin", 1, 1, 950, 700, 1, 1, 1); 결론은 : encodeURI() 함수 쓰면 됨