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 |
Tags
- 기초100제
- 프로그래머스
- C++
- 타입스크립트
- 스프링
- 파이썬
- web
- codeup
- Operating System
- 토이프로젝트
- react
- Java
- memory
- error
- Redux
- 백준
- 리덕스장바구니
- 알고리즘
- react-redux
- 분할메모리할당
- 정렬
- 자료구조
- OS
- CPU 스케줄링
- Spring
- js to ts
- 협업
- 공부
- 일상
- 코드업
Archives
- Today
- Total
목록14425 (1)
감자튀김 공장🍟
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b1znWV/btrSyq7vuFT/4AjOLU2aJ472lQK6iQy9c1/img.png)
✔ 문제 ✔ 풀이 🥺 시간초과 import sys input = sys.stdin.readline n, m = map(int, input().split()) s = [input() for _ in range(n)] count = 0 for _ in range(m): ms = input() if ms in s: count += 1 print(count) 😎 정답 코드 import sys input = sys.stdin.readline n, m = map(int, input().split()) s = set([input() for _ in range(n)]) count = 0 for _ in range(m): ms = input() if ms in s: count += 1 print(count) ✔ 설명 입..
Algorithm/BOJ
2022. 12. 1. 16:25