코딩테스트/SW Expert Academy 20

swea. D3 - 1209. [S/W 문제해결 기본] 2일차 - Sum

🔗문제링크 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV13_BWKACUCFAYh&categoryId=AV13_BWKACUCFAYh&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 다음 100X100의 2차원 배열이 주어질 때, 각 행의 합, 각 열의 합, 각 대각선의 합 중 최댓값을 구하는 프로..

swea. D3 - 1215. [S/W 문제해결 기본] 3일차 - 회문1 python

🔗문제 링크 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV14QpAaAAwCFAYi&categoryId=AV14QpAaAAwCFAYi&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👩‍💻 참고 블로그 https://velog.io/@yb_engineer/Algorithm-SWEA-1215.%ED..

swea. D3 - 1289. 원재의 메모리 복구하기 PYTHON

🔗문제 링크 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV19AcoKI9sCFAZN&categoryId=AV19AcoKI9sCFAZN&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👩‍💻코드 t=int(input()) for tc in range(1,t+1): normal = list(map(i..

swea. D3 - 5215. 햄버거 다이어트 Python

🔗문제 링크 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AWT-lPB6dHUDFAVT&categoryId=AWT-lPB6dHUDFAVT&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👩‍💻참고 블로그 [SWEA/DFS-BFS] 5215[D3]: 햄버거 다이어트 - 파이썬 문제 SWEA-5215. ..

swea. D3 - 2805. 농작물 수확하기 Python

🔗문제 링크 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV7GLXqKAWYDFAXB&categoryId=AV7GLXqKAWYDFAXB&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👩‍💻참고 블로그 [swea] 2805. 농작물 수확하기 / python 파이썬 thinking 시작점과 끝점을 인..

swea.D3 - 2806. N-Queen Python

🔗문제 링크 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ✔️참고 블로그 https://seongonion.tistory.com/103 [백준] 9663번 N-Queen - 파이썬(Python) 문제 (링크) https://www.acmicpc.net/problem/9663 9663번: N-Queen N-Queen 문제는 크기가 N × N인 체스판 위에 퀸 N개를 서로 공격할 수 없게 놓는 문제이다. N이 주어졌을 때, 퀸을 놓는 방법의 수를 구하는 프로 seongonion.tistory.com n을 입력받고, nXn 체스판에서 n개의 퀸이 있을 수 있는 개수 구해라 .. 이거랑 똑같은 문제가 백준에도 있다..

SWEA.D3 - 1244. [S/W 문제해결 응용] 2일차 - 최대 상금

🔗문제 링크 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👩‍💻참고 블로그 https://mungto.tistory.com/212 최대상금 Python(SW Expert Academy) 난이도 : D3 문제번호 : 1244 ※ 저의 풀이가 무조건적인 정답은 아닙니다. 다른 코드가 좀더 효율적이고 좋을 수 있습니다. 다른사람들의 풀이는 언제나 참고만 하시기 바랍니다. 문제 주소 및 출 mungto.tistory.com def dfs(count): global answer # 횟수를 다 사용했다면 if not count: print("count를 다 사용했어") # 숫자로 바꿔보고 temp = int(''.jo..

SWEA. D2 - 1928. Base64 Decoder Python

👩‍💻문제링크 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 문제를 이해하기 어려웠다. 다른 사람의 풀이를 참고하였다. 📌참고 블로그 SWEA[D2] (Python) 1928번 Base64 Decoder 풀이 Python으로 구현한 1928번 Base64 Decode 문제 풀이입니다. https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5PR4DKAG0DFAUq&categoryId=AV5PR4DKAG0DFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_R..

SWEA. D2 - 1940. 가랏! RC카! Python

👩‍💻문제 링크 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 3번 제약사항을 지키지 못하면 10개의 test 중 2개를 통과 못한다. ✔️코드 t=int(input()) for tc in range(1,t+1): n=int(input()) distance=0 arr=[[0]*2 for _ in range(n)] for i in range(n): user_input = input().split() arr[i][0] = int(user_input[0]) if len(user_input)>1: arr[i][1]=int(user_input[1]) speed = 0 for i in range(n): #가속 if ar..