본문 바로가기
728x90

전체 글224

[python] Level2_GBC https://softeer.ai/practice/info.do?idx=1&eid=584&sw_prbl_sbms_sn=117856 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 import sys # sys.stdin = open("input3.txt",'r') n,m = map(int,sys.stdin.readline().split()) #빈 딕셔너리 생성 n_dict .. 2023. 1. 4.
[python] Level2_전광판 https://softeer.ai/practice/info.do?idx=1&eid=624&sw_prbl_sbms_sn=117298 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 import sys #sys.stdin = open("input2.txt",'r') #테스트 케이스 T = int(sys.stdin.readline().rstrip()) # 0~9까지 미리 켜져야 하는 라이트 정해놓기 light_.. 2023. 1. 4.
[python] Level2_회의실 예약 https://softeer.ai/practice/info.do?idx=1&eid=626 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 import sys #sys.stdin = open("input1.txt","r") # n:회의실 수, m:예약된 회의의 수 n,m = map(int,sys... 2023. 1. 3.
[python] Level2_비밀 메뉴 https://softeer.ai/practice/info.do?idx=1&eid=623&sw_prbl_sbms_sn=116899 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 import sys #sys.stdin = open("input.txt","r") # m:정답, n: 숫자열, k: k이하 정수 m,n,k = map(int,input().split()) m_array = list(map(int,input().split())) n_array = list(map(int,input().split())) #print(m_array,n_array) if len(.. 2023. 1. 3.
[python] Level2_지도 자동 구축 https://softeer.ai/practice/result.do?eventIdx=1&submissionSn=SW_PRBL_SBMS_116035&psProblemId=413 https://softeer.ai/practice/result.do?eventIdx=1&psProblemId=413&submissionSn=SW_PRBL_SBMS_116035 softeer.ai 1 2 3 4 5 6 7 8 9 10 11 import sys #sys.stdin = open("input2.txt",'r') #4,9,25,81 #2제곱, 3제곱 5제곱 9제곱 #2,3,5,9 #2^(n-1)+1 n = int(input()) answer = (2**n+1)**2 print(answer) cs 2023. 1. 1.
[python] Level2_8단 변속기 https://softeer.ai/practice/info.do?idx=1&eid=408 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 1 2 3 4 5 6 7 8 9 10 11 import sys # 입력변수를 받기 array = list(map(int,sys.stdin.readline().split())) if array == [1,2,3,4,5,6,7,8]: print("ascending") elif array == [8,7,6,5,4,3,2,1]: print("descending") else: print("mixed") Colored by Color Scripter cs 2023. 1. 1.
[python] Level2_장애물 인식 프로그램 https://softeer.ai/practice/info.do?idx=1&eid=409 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 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 29 30 31 32 33 34 35 36 37 38 39 40 import sys # 정사각형 n개 갯수받기 #sys.stdin = open("input1.txt","r") n = int(sys.stdin.readline()) # map 정보 저장 graph = [] for i in range(n): graph.append(list(map(int,input()))) # 모든 경로에 대해 탐색해야 하므.. 2023. 1. 1.
[python] Level1_A+B https://softeer.ai/practice/info.do?idx=1&eid=362 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 1 2 3 4 cnt = int(input()) for i in range(1,cnt+1): a,b = map(int,input().split()) print(f"Case #{i}: {a+b}") cs 2023. 1. 1.
[python] Level1_최단거리 https://softeer.ai/practice/info.do?idx=1&eid=990 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai 1 2 3 4 5 6 7 count = 0 for i in range(5): n,m = map(str,input().split()) na, nb = map(int, n.split(":")) ma, mb = map(int, m.split(":")) count += (ma*60+mb)-(na*60+nb) print(count) cs 2022. 12. 31.
지원 교육 및 기업 결산 2022 # 기업 국민은행 서탈 ibk 동계인턴 디지털 서합, 면접포기 다우기술 채용확정형 서탈 하나금융티아이 대기중 공공데이터 청년인턴 최종합격, 포기 부산은행 채용연계형 인성검사 탈락 수협 서탈 # 교육 kb국민은행 it 아카데미 최종합격후 수료 SSAFY 코테 탈락 KT 에이블 스쿨 대기중 -------------------------------------------------------------------------------------------------------------------------------------------------------------- 2022. 12. 15.
고민 취준 시기에 맞춰 참 고민이 많다. 왜냐하면 선택과 집중을 해야하기 때문이다. # 1 지금의 나는 금융권을 목표로 준비중이고 데이터분석과 웹개발을 둘다 원하고 있다. 데이터분석은 python언어로 하는것이고 웹개발은 java언어로 해야한다. 그러나 지금의 나는 데이터분석만 경험이 있고 java는 아예 해본적이 없다. 그러나 금융권은 전부 python이 아닌 java언어로 개발을 하고 있다. sql도 경험이 없다. 그러면 내가 내려야 할 결론은 java,sql을 배우거나 데이터직무에 지원하기 위해 데이터분석을 깊게 파보는 것뿐이다. 그래서 나는 kt 에이블 스쿨과 하나금융티아이 교육에 지원하였다. kt는 데이터분석쪽이고 하나금융티아이는 java쪽 교육이다. 완전 다른 길이고 둘 다 나에게는 좋은 경험이라고.. 2022. 12. 15.
2022 링크톤 경진대회 지금은 새벽 4시. 일어나보니깐 새벽 1시라서 잠이 안와서 쓴다... 밤낮 개망했음 2022년 12월 5일 ~ 6일 동안 개최된 대회이다. 장소는 해운대 신라 스테이! 처음가봤다. 두둥탁! 이 안에 내일 조식쿠폰이랑 방 key가 들어 있다~ 그래도 대회에 왔으니 상이라도 타보자. 주제는 위와 같았다. 둘 중에 1개만 선택해서 ppt 만들고 발표하면 된다. 간단하쥬~ 어떤 주제를 할지 엄청 고민했다. 플라스틱 방앗간은 재범이형이 그쪽으로 창업해봐서 어떤지 정확하게 알았다. 그래서 선택을 안했다 ㅋㅋㅋ 업사이클링이라는 게 정말 쉽지 않은 것을 알기에 빠르게 포기했슴.. 그래서 첫번째 주제를 일단! 골랐다. 아이디어는 여전히 생각이 안났다. 그렇게 고민이 고민을 낳는 순간, 성진이형의 지인 찬스로 아이디어를 .. 2022. 12. 7.
1217. [S/W 문제해결 기본] 4일차 - 거듭 제곱 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV14dUIaAAUCFAYD&categoryId=AV14dUIaAAUCFAYD&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=3 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 def mul(n,m): global count if m .. 2022. 11. 19.
1249. [S/W 문제해결 응용] 4일차 - 보급로 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=4&contestProbId=AV15QRX6APsCFAYD&categoryId=AV15QRX6APsCFAYD&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=4&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com -dfs 풀이 이렇게 풀면 시간 초과가 나와서 bfs로 다시 풀었습니다. 1 2 3 4 5 6 7 8 9 10 11 12 13 .. 2022. 11. 19.
14567번: 선수과목 https://www.acmicpc.net/problem/14567 14567번: 선수과목 (Prerequisite) 3개의 과목이 있고, 2번 과목을 이수하기 위해서는 1번 과목을 이수해야 하고, 3번 과목을 이수하기 위해서는 2번 과목을 이수해야 한다. www.acmicpc.net 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 n,m = map(int,input().split()) #dp값은 최소 몇학기 인지 dp = [1] * (n) #인덱스번호가 과목번호, 안에 든 값들은 선수과목 번호 array = [[]for i in range(n)] for i in range(m): a, b = map(int,input().split()) array[b-1].. 2022. 11. 18.
728x90