본문 바로가기

분류 전체보기

(40)
New Zealand _ Song by Layone(Lyrics) 어젯밤 기억에 묻어갈 때면 when I was buried by last night memories 어색한 정적에 잠에서 깨고 I wake up from awkward silence Always I was born again 서랍 속 데미안처럼 Always I was born again like 'Demine' in my drawer 언젠간 비울게 언젠간 비울게 I will empty it one day. I will empty it one day. 오 쳇바퀴에 껴 죽어갈 때면 when I was dying with getting stuck in a wheel 네 색안경 속의 나는 좀비거든 I am zombie in your color glasses. Always I fall again Always I ..
AK47 _ Song by Men's Tear(Lyrics) 우리 동네는 밤마다 울려 총성 Gunshots ring out every ningt in my neighborhood. Why you scared? 잘 봐봐 난 이렇게 컸어 "Why you scared?" Look carefully. I have grown up like this. 우리 동네는 밤마다 울려 총성 Gunshots ring out every ningt in my neighborhood. 탕탕 그르르 두두두두 탕탕 tang grrrrrr dudududu tang tang 우리 동네는 밤마다 울려 총성 Gunshots ring out every ningt in my negihborhood. 총기 손질 깜빡했다 칵칵칵 I forgot to take care my guns 'Click Click C..
Chestnut yanggaeng _ song by BiBi(Lyrics) 떠나는 길에 네가 내게 말했지 When you broken up with me, You said to me 너는 바라는 게 너무나 많아 "You have so much you want from me" 잠깐이라도 널 안 바라보면 If even for a moment, I look away from you 머리에 불이 나버린다니까 It's like my mind ignites into flames 나는 흐르려는 눈물을 참고 I hold bavk my tears that were about to flow 하려던 얘길 어렵게 누르고 Struggling to suppress the words I longed to share 그래, 미안해라는 한 마디로 With just a single "Yes, I'm Sorry..
Let's read South Korea Travel Guide written by foreigner.(1) This Documentent is written by english beginer who want to be english man. And It is for to practice translate english to korean. The origin document is below. South Korea Budget Travel Guide (Updated 2024) A comprehensive budget travel guide to South Korea with tips on things to do, costs, ways to save, transportation, accommodation, and more! www.nomadicmatt.com Though South Korea is small (ab..
백 트래킹 이란? 이번에야 말로 백 트래킹 끝내자(유형 정리, 분석) 백 트래킹 이란? 자신의 선택에 따라서 게임의 엔딩이 여러개 있는 "멀티 엔딩" 장르의 게임이 있다. 가장 큰 예시로 미연시 게임 대부분이 선택에 의해서 게임이 진행 된다. 이때 선택에 따라 다음 선택지가 달라지며 마지막 엔딩까지 선택에 따라 달라지는 것이다. 이런 경우 가장 좋은 엔딩을 어떻게 찾을까? 이때 사용되는 알고리즘이 "백 트래킹"이다. 일단 선택을 쭉 하고 좋지않거나 성립되지 않는 경우 다시 백 해서 다른 선택을 하여 모든 경우의 엔딩을 찾는 것이다. "선택의 DFS" 라고도 할 수 있다. 어떻게 구현 하는가? "선택의 DFS" 라고 표현 했듯이 백 트래킹은 재귀함수를 이용해서 구현 한다. 기본적인 구현 틀은 아래와 같다. 이때 parameter를 어떻게 하는지, 어느 조건에서 재귀를 멈추는..
[백준 2580] 스도쿠 (파이썬) 문제 https://www.acmicpc.net/problem/2580 2580번: 스도쿠 스도쿠는 18세기 스위스 수학자가 만든 '라틴 사각형'이랑 퍼즐에서 유래한 것으로 현재 많은 인기를 누리고 있다. 이 게임은 아래 그림과 같이 가로, 세로 각각 9개씩 총 81개의 작은 칸으로 이루 www.acmicpc.net 풀이 # 83% 시간초과 # pypy 통과 import sys input = sys.stdin.readline from collections import deque graph = [list(map(int, input().split())) for _ in range(9)] blanks = deque() for row in range(9): for col in range(9): if graph[..
합승 택시 요금 _ 카카오 코딩 테스트 (파이썬, 최단거리, 프로그래머스) 문제 https://school.programmers.co.kr/learn/courses/30/lessons/72413 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 import sys input = sys.stdin.readline INF = int(1e9) def solution(n, s, a, b, fares): graph = [[INF]*(n) for _ in range(n)] for n1, n2, w in fares: graph[n1-1][n2-1] = w graph[n2-1][n1-1] = w for i in range(n): for j ..
[백준 1753번] 최단경로 (feat. 파이썬) 문제 https://www.acmicpc.net/problem/1753 1753번: 최단경로 첫째 줄에 정점의 개수 V와 간선의 개수 E가 주어진다. (1 ≤ V ≤ 20,000, 1 ≤ E ≤ 300,000) 모든 정점에는 1부터 V까지 번호가 매겨져 있다고 가정한다. 둘째 줄에는 시작 정점의 번호 K(1 ≤ K ≤ V)가 www.acmicpc.net 풀이 import sys input = sys.stdin.readline from heapq import heappop, heappush INF = int(1e9) V, E = map(int, input().split()) start = int(input()) graph = [[] for _ in range(V+1)] for _ in range(E): n..
If you plan to visit Busan, Please Try Pig and rice soup!!! This document was written by english beginer. If you find awkward sentences, Please correct me by using comments. It is one of the traditional Korea Food. Especially, it is famous at Busan. If you plan to visit busan, Please try it. I will introduce the history of the food and where you go to eat the food. HISTORY to talk about this food, we start at 6.25 called Korea War. After the 2nd World of..
The Tips of transportation when you travel in Korea | BUS This document is wroten by English beginer who want to be English man. Therefor, it maybe has many awkward sentences. If you can, Please correct me by using comments. There is many worries when visiting korea. specially, Many foreigners who plan to visit korea wonder how to use transportation. I think There are five kind of transportation like taxi, subway, bus and plane. I summarize how to use ..