일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- FillOrigin
- Unity
- DontDestroyOnLoad()
- 싱글톤
- FillAmount
- Destroy()
- API
- JSP
- 백준
- web
- EOF
- learning javascript
- java
- 알고리즘
- FillMethod
- 아임포트
- 바벨
- 결제연동
- 카카오페이
- 린트
- javascript
- iamport
- ajax
- Awake()
- image
- BOJ
- 백준알고리즘
- 코딩테스트
- Today
- Total
목록백준알고리즘 (5)
IT는 개발자
public class Java{ public static void main(String[] args){ int n; Scanner sc = new Scanner(System.in); sc.nextLine(); for(int i = 0; i 같은 것이 있으면 들어가지 않는다!!! LIFO :last in first out queue -> enqueue dequeue 해준다 FIFO :first in first out capaticy(담을 수 있는 총량) size 현재 몇개 #선형 큐 : capaticy 크기가 제한이 있는거 #원형 큐 : front가 큐 끝에 닿으면 큐의 맨 앞으로 자료를 보내어 원형으로 연결한다 (back 혹은 rear 이 가장 먼저 들어와있던 친구) getSize(): 큐의 크기를 반..
EOF란? End Of File로 더이상 읽을 파일이 없음을 알려준다. https://mygumi.tistory.com/236 1 2 3 4 5 6 7 8 9 10 11 public class EOF { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNextInt()) { int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); } } } http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Colo..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 public class LittleThanX { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int x = scan.nextInt(); for(int i=0;i
1 2 3 4 5 6 7 8 9 10 11 12 13 14 public class ABprint { public static void main(String[] args) { int sum = 0; Scanner scan = new Scanner(System.in); int a = scan.nextInt(); for(int i=0;i