Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- lombok
- 일급 객체
- 일급 컬렉션
- OAuth 2.0
- Spring
- spring security
- Dependency Injection
- Google OAuth
- synchronized
- Volatile
- java
- builder
- factory
Archives
- Today
- Total
목록Algorithm (41)
HJW's IT Blog
[BOJ][C++][Python] 17219번: 비밀번호 찾기
Python의 경우 딕셔너리 자료형을 이용하여 직접 key로 접근하였고 C++의 경우 Map 자료구조를 이용하였다. python import sys input = sys.stdin.readline lst = {} N, M = map(int,input().split()) for i in range(N): temp1, temp2 = map(str,input().split()) lst[temp1] = temp2 for i in range(M): web = input() length = len(web) print(lst[web[0:length-1]]) C++ #include #include using namespace std; int main() { cin.tie(NULL); ios::sync_with_stdi..
Algorithm
2023. 3. 31. 18:21