일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 백준
- 자바
- Operator
- Polymolphism
- X윈도우
- 리눅스 마스터 1급
- Unity
- X.org
- BFS
- selenium
- 셀레니움
- Entity Set
- Class
- literal
- descriptive statistics
- External Scheme
- 리눅스 기초
- OOP
- Reference Type
- python
- dbms
- preprocessing
- Physical Scheme
- systemd
- Entity
- Binary Search
- Java
- Mac
- Inheritance
- 리눅스
- Today
- Total
목록2024/06/15 (6)
Byeol Lo
import java.io.*;import java.util.*;public class N15652 { final static BufferedWriter BW = new BufferedWriter(new OutputStreamWriter(System.out)); final static StringBuffer sb = new StringBuffer(); static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws IOException { solution(1, sc.nextInt(), sc.nextInt(), ""); BW.write(sb.toString()); ..
import java.io.*;import java.util.*;public class Main { final static BufferedWriter BW = new BufferedWriter(new OutputStreamWriter(System.out)); final static StringBuffer sb = new StringBuffer(); static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws IOException { solution(1, sc.nextInt(), sc.nextInt(), ""); BW.write(sb.toString()); ..
import java.util.*;import java.io.IOException;import java.io.OutputStreamWriter;import java.io.BufferedWriter;public class Main { final static BufferedWriter BW = new BufferedWriter(new OutputStreamWriter(System.out)); final static StringBuffer sb = new StringBuffer(); static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws IOException { solut..
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); solution(sc.nextInt()); } public static void solution(int n) { System.out.println((long) (Math.pow(4, n) + Math.pow(2, n+1) + 1)); }}
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); solution(sc.nextLong(), sc.nextLong()); } public static void solution(long a, long b) { long lcm = lcm (a, b); System.out.println(a * b / lcm); } public static long lcm (long a, long b) { while (b != 0) { long temp..
도커 컨테이너를 구성하려면 도커 이미지가 필요하고 도커 이미지를 만들려면 도커 이미지에 대한 설정과 함께 docker image build를 해주어야 하며, 어떤 파일들을 이미지에 넣을건지, 이미지의 이름은 뭔지, 포트는 어떤걸 열 것인지도 설정하며, 초기 환경 설정에 대한 어떤 커맨드를 실행해야 하는지 등을 넣을 수 있다. 그러기 위해서는 Dockerfile(구성 메타 데이터)를 넣어야 한다. 자신이 작업하고 있는 프로젝트의 root directory에 대해 Dockerfile을 만들어주면 된다. Dockerfile SyntaxSyntaxDesc.ExampleFROMbase로 할 image를 넣을 수 있다.자신이 작업할 미리 설정된 image를 가져올 수 있다는 뜻.// python이 깔린 contai..