| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- JPA
- auto-offset-reset
- springboot
- 모던 자바스크립트 Deep Dive
- Thymeleaf
- msa
- 공백검사
- Kafka
- 중복되지 않는 값 만들기
- 유효성검사
- 자바스크립트
- 자바
- 게시판 작성자를 아이디로
- 스프링 시큐리티
- 자바 ORM 표준 JPA 프로그래밍
- UUID
- 출처 모던 자바스크립트 Deep Dive
- spring security
- java
- 관계형 데이터베이스
- ORM
- Today
- Total
목록분류 전체보기 (81)
인지용
https://www.acmicpc.net/problem/2257 import sysdef input(): return sys.stdin.readline().strip()formula = list(input())stack = []for i in formula: if i == '(': stack.append(i) elif i == ')': temp = 0 while stack: a = stack.pop() if a == '(': break else: temp += a stack.append(temp) elif..
https://www.acmicpc.net/problem/27497 import sysfrom collections import dequedef input(): return sys.stdin.readline().strip()n = int(input())dq = deque([])orders = []for i in range(n): arr = input().split() command = int(arr[0]) if command == 1: dq.append(arr[1]) orders.append(1) elif command == 2: dq.appendleft(arr[1]) orders.append(0) else: ..
https://www.acmicpc.net/problem/11899 import sysdef input(): return sys.stdin.readline().strip()text = input()stack = []for i in text: if i == '(': stack.append(i) else: if stack and stack[-1] == '(': stack.pop() else: stack.append(i)print(len(stack)) 이번 문제는 매우 쉬웠다. 입력에서 완전한 문자열을 없앤 후 남아있는 문자열의 개수를 출력해 주면 된다.
https://www.acmicpc.net/problem/4889 import sysdef input(): return sys.stdin.readline().strip()idx = 1while True: text = input() if text.startswith("-"): break arr = list(text) stack = [] for i in arr: if i == '{': stack.append(i) continue else: if stack and stack[-1] == '{': stack.pop() else: ..
https://www.acmicpc.net/problem/2841 import sysdef input(): return sys.stdin.readline().strip()arr = list(map(int, input().split()))stack = [[] for _ in range(7)]count = 0for i in range(arr[0]): temp = list(map(int, input().split())) K = temp[0] P = temp[1] if not stack[K] or stack[K][-1] 같은 플랫이어도 이동해야 한다면 손가락을 떼고 이동하는 식으로 구현하면 된다. 같은 위치라면 그대로 유지, 이동해야하는 음이 현재 플랫의 맨 마지막보다 작다면 하..
https://www.acmicpc.net/problem/1935 import sysimport operatordef input(): return sys.stdin.readline().strip()n = int(input())text = list(input())stack = []nums = []ops = { '+': operator.add, '-': operator.sub, '*': operator.mul, '/': operator.truediv}for i in range(n): nums.append(int(input()))for i in text: if i.isalpha(): index = ord(i) - ord('A') stack.appe..
다운로드https://www.wireshark.org/download.html 1. 와이어샤크가 있는 폴더로 이동cd C:\Program Files\Wireshark 2. 목록 조회 (로컬 통신을 보려면 Loopback 보면 됨, 9번째에 있네)dumpcap.exe -D 3. 덤프를 떠보자. (기록을 남긴다는 의미)dumpcap.exe -i 번호 -w 덤프파일명.pcapex) dumpcap.exe -i 9 -w test.pcap 이제 자유롭게 로컬 통신을 해주다가 원할 때 끝내면 됨 그리고 test.pcap을 확인해보자 원하는 로그 우클릭 > 따라가기 > TCP 스트림 > 요청, 응답 기록 확인
https://www.acmicpc.net/problem/12789 import sysdef input(): return sys.stdin.readline().strip()n = int(input())arr = list(map(int, input().split()))stack = []result = []target = 1for i in range(n): if arr[i] == target: result.append(arr[i]) target += 1 while stack and stack[-1] == target: result.append(stack.pop()) target += 1 else: st..