일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- Class
- 백준
- 리눅스
- 리눅스 기초
- 리눅스 마스터 1급
- selenium
- preprocessing
- Java
- dbms
- literal
- Physical Scheme
- Entity Set
- Mac
- OOP
- X윈도우
- 셀레니움
- 자바
- Unity
- Operator
- Reference Type
- BFS
- descriptive statistics
- Binary Search
- External Scheme
- python
- Polymolphism
- systemd
- Inheritance
- Entity
- X.org
- Today
- Total
목록2024/06/30 (3)
Byeol Lo
Problem 정수 𝑥 를 원소로 가지는 𝑛개의 집합 𝑠_1, 𝑠_2, 𝑠_3, ..., 𝑠_𝑛 이 있을 때, 다음을 만족한다. 자연수 𝑘(≥ 3), 𝑟_1( 𝑚𝑎𝑥 𝑆 어떤 하나의 집합에만 속해 있는 원소들을 사전순으로 오름차순으로 공백으로 구분하여 출력하라. Constraints1 ≤ 𝑛 ≤ 1,000,0001 ≤ | 𝑠_𝑛 | ≤ 100제한시간: 1초 Inputs4-4 1 3 5 70 3 5 72 7 56 811 2 3 4511 4 -20 9 -7 -17 3 -10 -8 -59 -16 11 -18 -5 -10 -8 3 4 -7-9 11 -5 3 4 -63 9 4 116 5 15 7 12 10 Outputs-4 0 1 2 6 8 1 2 3 4 -20 -18 -17 -16..
https://docs.spring.io/spring-framework/docs/3.0.x/spring-framework-reference/html/index.html Reference DocumentationCopyright © 2004-2010 Rod Johnson, Juergen Hoeller, Keith Donald, Colin Sampaleanu, Rob Harrop, Alef Arendsen, Thomas Risberg, Darren Davison, Dmitriy Kopylenko, Mark Pollack, Thierry Templier, Erwin Vervaet, Portia Tung, Ben Hale, Adrian Colyer, John Lewdocs.spring.io 스프링는 자바를 사용..
객체 생성을 캡슐화하고, 클라이언트 코드로부터 객체의 생성 로직을 분리하자 객체 생성을 직접 하지 않고, 객체 생성을 담당하고 관리하는 별도의 팩토리 클래스에게 이 일을 위임시켜서 생성 과정을 캡슐화해버린다. 이렇게 되면 생성 로직을 직접 다루지 않도록 하여, 객체 생성의 코드가 변경이나 확장에 유연하게 만들고, 단위 테스트하기에 유리하다. 단점으로는 복잡성이 증가하고, 코드가 분산되어 있어서 파악하기가 쉽지 않다.// Door interfacepublic interface Door { void open(); void close();} // WoodenDoor classpublic class WoodenDoor implements Door { @Override public void..