Python54 [Web] ๋ก์ปฌ ํ๊ฒฝ์์ SpringBoot์ Flask์ RabbitMQ ์ ์ฉํ๊ธฐ ๐ RabbitMQ ์ค์น 1๏ธโฃ RabbitMQ ๋ฐ Erlang ์ค์น ์ค์น๋ ์๋ ์ฌ์ดํธ๋ฅผ ์ฐธ๊ณ ํ๋ค. Windows10์ RabbitMQ ๋น ๋ฅด๊ฒ ์ค์นํ๊ธฐ (with Erlang), ๊ทธ๋ฆฌ๊ณ RabbitMQ management ๋์ฐ๊ธฐ (tistory.com) Windows10์ RabbitMQ ๋น ๋ฅด๊ฒ ์ค์นํ๊ธฐ (with Erlang), ๊ทธ๋ฆฌ๊ณ RabbitMQ management ๋์ฐ๊ธฐ MSA ํ๋ก์ ํธ๋ฅผ ์ค๋นํ๋ฉฐ ์ฌ๋ฌ๊ฐ์ง ์ค๋น์ฌํญ์ด ์์ง๋ง ๋์จํ ๊ฒฐํฉ์ ์ํด MQ (Message Queue) ๊ฐ ํ์ํ๋ค. ์ฌ๋ฌ๊ฐ์ง ์ด๋ฐ ๋ฉ์ธ์ง ๊ธฐ๋ฅ์ด ์๋ ํด์ด ์์ง๋ง RabbitMQ๋ฅผ ์ผ๋จ ์ฌ์ฉํด๋ณด๋ คํ๋ค. ์ด๋ป๊ฒ ์ค oingdaddy.tistory.com 2๏ธโฃ ํ๊ฒฝ๋ณ์ ์ค์ ์ ๊ณผ์ ๋๋ก ์งํํ ํ ํ๊ฒฝ ๋ณ์ ์ค์ ์ด ํ์ํ๋ค.. 2023. 4. 2. [Python Algorithm] Contact SWEA #1238 ๋ฌธ์ https://swexpertacademy.com/main/code/problem/problemDetail.do SW Expert Academy SW ํ๋ก๊ทธ๋๋ฐ ์ญ๋ ๊ฐํ์ ๋์์ด ๋๋ ๋ค์ํ ํ์ต ์ปจํ ์ธ ๋ฅผ ํ์ธํ์ธ์! swexpertacademy.com ๋ด ๋ฌธ์ ํ์ด from collections import deque for t in range(10): l, s = map(int, input().split()) lst = list(map(int, input().split())) maximum = max(lst) memory = [set() for _ in range(maximum)] for i in range(0, l, 2): memory[lst[i]-1].add(lst[i+1]) for i i.. 2022. 7. 12. [Python Algorithm] ๋ฏธ๋ก1 SWEA #1226 ๋ฌธ์ https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV14vXUqAGMCFAYD SW Expert Academy SW ํ๋ก๊ทธ๋๋ฐ ์ญ๋ ๊ฐํ์ ๋์์ด ๋๋ ๋ค์ํ ํ์ต ์ปจํ ์ธ ๋ฅผ ํ์ธํ์ธ์! swexpertacademy.com ๋ด ๋ฌธ์ ํ์ด for _ in range(10): t = int(input()) maze = [[] for _ in range(16)] start = (0, 0) check = False for i in range(16): now = list(map(int, list(input()))) if 2 in now: tmp = now.index(2) start = (i, tmp) maze[i] = n.. 2022. 7. 5. [Python Algorithm] ๋ณด๊ธ๋ก SWEA #1249 ๋ฌธ์ https://swexpertacademy.com/main/code/problem/problemDetail.do SW Expert Academy SW ํ๋ก๊ทธ๋๋ฐ ์ญ๋ ๊ฐํ์ ๋์์ด ๋๋ ๋ค์ํ ํ์ต ์ปจํ ์ธ ๋ฅผ ํ์ธํ์ธ์! swexpertacademy.com ๋ด ๋ฌธ์ ํ์ด import math from collections import deque tc = int(input()) INF = math.inf for t in range(tc): n = int(input()) mapArr = [list(map(int, list(input()))) for _ in range(n)] visited = [[INF for _ in range(n)] for _ in range(n)] dx = [0, 0, -1, 1] .. 2022. 7. 5. [Python Algorithm] ๊ฒฝ๋ก ์ฐพ๊ธฐ BOJ #11403 (feat. BFS, ํ๋ก์ด๋ ์์ ) ๋ฌธ์ https://www.acmicpc.net/problem/11403 11403๋ฒ: ๊ฒฝ๋ก ์ฐพ๊ธฐ ๊ฐ์ค์น ์๋ ๋ฐฉํฅ ๊ทธ๋ํ G๊ฐ ์ฃผ์ด์ก์ ๋, ๋ชจ๋ ์ ์ (i, j)์ ๋ํด์, i์์ j๋ก ๊ฐ๋ ๊ฒฝ๋ก๊ฐ ์๋์ง ์๋์ง ๊ตฌํ๋ ํ๋ก๊ทธ๋จ์ ์์ฑํ์์ค. www.acmicpc.net ๋ด ๋ฌธ์ ํ์ด (BFS) import sys sys.setrecursionlimit(10 ** 6) n = int(sys.stdin.readline().strip()) table = [] for _ in range(n): table.append(list(map(int, sys.stdin.readline().strip().split()))) result = table def bfs(queue, find, checkList): idx =.. 2022. 6. 23. ์ด์ 1 2 3 4 ยทยทยท 11 ๋ค์