일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Lv. 1
- 너비 우선 탐색
- Lv. 3
- Lv. 2
- SQL
- SQL 고득점 KIT
- 깊이 우선 탐색
- Java
- 소프티어
- level 3
- C언어
- programmers
- DP
- 오블완
- 프로그래머스
- bfs
- Lv. 0
- 동적계획법
- Dynamic Programming
- dfs
- Python
- softeer
- 파이썬
- 티스토리챌린지
- select
- group by
- 자바스크립트
- join
- javascript
- LEVEL 2
- Today
- Total
목록브루트포스 (9)
몸과 마음이 건전한 SW 개발자
문제 링크 : https://softeer.ai/practice/info.do?idx=1&eid=411 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 정답 코드 import sys input = sys.stdin.readline from collections import deque N, M = map(int, input().split()) ices = [] meltIces = [] iceBergMap = [] for r in range(N): tmpIce = list(map(int, input().split())) iceBergMap.append(tmpIce) for c in range(M): if tmpIce[c]: ices.append((r, c)) dr = [-..
문제 링크 : https://softeer.ai/practice/info.do?idx=1&eid=625 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 정답 코드 import sys input = sys.stdin.readline N, M, Q = map(int, input().split()) seats = [[0 for _ in range(M)] for _ in range(N)] ids = [[0, 0, 0] for _ in range(10001)] dr = [-1, 1, 0, 0] dc = [0, 0, -1, 1] def isValid(nr, nc): return 0
문제 링크 : https://softeer.ai/practice/info.do?idx=1&eid=623 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 잘못된 코드 import sys input = sys.stdin.readline M, N, K = map(int, input().split()) secret = list(map(int, input().split())) list_btn = list(map(int, input().split())) index = 0 if M > N: print("normal") else: for i in range(N): print(list_btn[i] == secret[index]) if list_btn[i] == secret[index]..