전체 글213 로봇청소 - 인프런 import sysfrom collections import dequesys.setrecursionlimit(10**6)sys.stdin = open("input.txt","rt")dx = [-1,0,1,0]dy = [0,1,0,-1]row, col = map(int, input().split())row_dir, col_dir, cur_d = map(int, input().split())lists = [list(map(int, input().split())) for k in range(row)]cnt = 0while True: # 1. 현재 위치 청소 if lists[row_dir][col_dir] == 0: lists[row_dir][col_dir] = 2 cnt +.. 카테고리 없음 2026. 3. 22. 왜 일하는가? 기억에 남는 문구 정리 "물론 평탄한 인생도 좋다. 하지만 역경이 있는 인생이라면 그보다 더 좋다. 그러니 자신이 처한 환경에 있는 그대로 받아들이고, 그 어떤 순간에도 노력을 게을리하지마라. 그러면 반드시 신은 당신엑 커다란 선문을 안겨다 줄것이다. 내게도 그러했듯이!" 독서 2026. 3. 15. from import 정리 📌 파이썬 import 전체 정리 1️⃣ 기본 구조 - 📁 폴더 = 패키지 (package) - 📄 .py 파일 = 모듈 (module) - 📦 모듈 안에는 변수, 함수, 클래스가 들어감 2️⃣ import import 모듈 → 모듈 전체를 가져옴 예: import math math.sqrt(4) 특징: - import 뒤에는 모듈(또는 패키지)만 올 수 있음 - 함수나 클래스 직접 import 불가 - 항상 모듈.이름 형태로 사용 3️⃣ from ... import ... from 모듈 import 이름 → 모듈 안에서 특정 것만 꺼내옴 예: from math import sqrt sqrt(4) 여러 개 가능: from mymodule import add, Person, pi 가져올 수 있는 것.. 기타파일 2026. 3. 1. Letting Money Work Quietly in the Background Money shouldn’t be loud.It should work quietly, in the background. Lately, I’ve been thinking a lot abouthow money should work for you — not demand your constant attention.That’s why I’m sharing this video here.I didn’t just watch it once.I went back to it again and again.Five times, to be exact.Each time, something new surfaced.A detail I missed.A sentence that suddenly felt heavier.And each vi.. Life in Korea/Vlog 2026. 2. 8. Working at Coupang Made Me Curious About Becoming a Seller Hi, I’m Jeong-sang. 😎I currently work at Coupang, one of the largest e-commerce companies in Korea.🛒 How working at Coupang changed my perspectiveWhile working at Coupang, I naturally became curious about sellers and online businesses.I got to see how products are listed, managed, and sold — not from the outside, but from inside the system.Watching this every day made me think:“What if I try t.. Life in Korea/Vlog 2026. 2. 7. challenges by Hackerrank select hacker_id, name, challenges_created from ( select Hackers.hacker_id, Hackers.name, count(Challenges.challenge_id) as challenges_created from Hackers inner join Challenges on Hackers.hacker_id = Challenges.hacker_id group by Hackers.hacker_id, Hackers.name) as group_cnt group by hacker_id,name having challenges_created = (select prep_max .. SQL/SQL(TEST) 2025. 12. 7. 좌표구하기 백준(DFS) import sysfrom collections import dequesys.setrecursionlimit(10**6)sys.stdin = open("input.txt","rt")# 5 7 3# 0 2 4 4# 1 1 2 5# 4 0 6 2row, col, num_rect = map(int, input().split())lists = []dis = []dx = [-1,0,1,0]dy = [0,1,0,-1]region_cnt = 0res = []for _ in range(row): dis.append([0] * col)while True: try: each_list = list(map(int, input().split())) lists.append(each_list) .. 카테고리 없음 2025. 10. 3. 안전영역 구하기 (DFS) import sysfrom collections import dequesys.setrecursionlimit(10**6)# sys.stdin = open("input.txt","rt")# 5# 71 24 70 91 17 # 85 66 42 46 56 # 81 44 63 57 69 # 87 13 53 49 15 # 5 58 15 86 100n = int(input())lists = [list(map(int, input().split())) for _ in range(n)]dx = [-1,0,1,0]dy = [0,1,0,-1]def DFS(row, col, h): for k in range(4): xx = row + dx[k] yy = col + dy[k] if (.. 백준문제풀이/재귀 2025. 10. 3. 모의고사 def solution(answers): one_person = [1,2,3,4,5] two_person = [2, 1, 2, 3, 2, 4, 2, 5] three_person = [3, 3, 1, 1, 2, 2, 4, 4, 5, 5] one_person_cnt = 0 two_person_cnt = 0 three_person_cnt = 0 for i in range(len(answers)): if answers[i] == one_person[i%len(one_person)]: one_person_cnt += 1 for i in range(len(answers)): if answers[i] == t.. 프로그래머스/구현 2025. 10. 1. 최소직사각형 def solution(sizes): garo_list = [] sero_list = [] for w, h in sizes: max_val = max(w,h) min_val = min(w,h) garo_list.append(max_val) sero_list.append(min_val) last_max_val_width = max(garo_list) last_max_val_height = max(sero_list) ans = last_max_val_width * last_max_val_height return ans 프로그래머스/그리디 2025. 9. 29. 데이터 프로젝트 📊 데이터 프로젝트 포트폴리오: 정책데이터 수집 & 마늘 수확량 예측안녕하세요, 정상입니다.이번 글에서는 제가 진행했던 두 가지 대표 프로젝트를 소개하려 합니다.첫 번째는 전국 정책데이터 블로그 수집 시스템, 두 번째는 마늘 수확량 예측 모델입니다.1️⃣ 전국 정책데이터 블로그 수집 시스템🔎 프로젝트 개요목적: 전국에 흩어진 도시별 정책 데이터를 자동으로 수집하고 정제하여, 사용자에게 빠르게 제공기간: 2024.06 ~ 2024.12역할: 데이터 수집 코드 개발, DB 설계, AWS S3 적재, 운영 자동화🏗️ 시스템 아키텍처 RSS URL (DB) ↓ feedparser → 블로그 본문 크롤링 (requests + bs4) ↓ 이미지 추출 및 저장 (AWS S3) ↓ 텍스트 정제 및 요약 ↓ My.. 데이터 엔지니어링_개인프로젝트 2025. 9. 27. 미로찾기 DFS import sysfrom collections import deque# sys.stdin = open("input.txt","rt")n = 7miro_list = []dx = [-1,0,1,0]dy = [0,1,0,-1]for _ in range(n): each_list = list(map(int, input().split())) miro_list.append(each_list)start = (0,0)miro_list[0][0] = 1cnt = 0def DFS(x, y): global cnt if x == 6 and y == 6: cnt += 1 else: for i in range(4): xx = x + dx[i] .. 백준문제풀이/재귀 2025. 9. 26. 이전 1 2 3 4 ··· 18 다음