본문 바로가기

HJW's IT Blog

검색하기
HJW's IT Blog
프로필사진 kiki1875

  • 분류 전체보기 (180)
    • 개발 개념 (10)
    • NestJS (0)
    • 컴퓨터 네트워크 (19)
    • 알고리즘 (16)
    • OS (14)
    • Algorithm (41)
    • Database (6)
    • WEB (0)
    • 정보보호 (8)
    • Spring (20)
    • Java (10)
    • AWS (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/07   »
일 월 화 수 목 금 토
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
  • OAuth 2.0
  • Volatile
  • 일급 컬렉션
  • Google OAuth
  • Dependency Injection
  • java
  • 일급 객체
  • lombok
  • spring security
  • synchronized
  • Spring
  • builder
  • factory
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 2 3 4 5 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바