일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 미세먼지 안녕!
- 키패드 누르기
- 보석 쇼핑
- 수식 최대화
- 백준 알고리즘
- 경주로 건설
- 2020 카카오 인턴십
- python
- 파이썬
- 스타트 택시
- 베스트엘범
- 12865번
- 거울 설치
- HTML 기초
- 17144번
- 16234번
- QueryDSL 기초
- SW ExpertAcademy
- 1789번
- 9095번
- 19238번
- 12869번
- 14499번
- 어른 상어
- 프로그래머스
- 감소하는 수
- 1038번
- 빛의 경로 사이클
- SW Expert Academy
- 15686번
- Today
- Total
목록전체 글 (95)
보물창고 블로그
문제 링크:https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5Pq-OKAVYDFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 풀이는 아래와 같습니다. t=int(input()) for test in range(1,t+1): n=int(input()) result=[['' for _ in range(3)] for _ in range(n)] mat=[] for i in range(n): mat.append(list(map(int,input().split()))) for k in range(3): mat2=[] fo..
문제 링크:https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWQl9TIK8qoDFAXj SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 문제는 위의 링크에 나와있는 것과 같습니다. 제가 해결한 코드는 다음과 같습니다. def check(n,m,c,floor,color): global count if floor==n: if count==0: count=c elif count>c: count=c return if color==3: c+=m-map1[floor].count('W') check(n,m,c,floor+1,2) el..
문제 링크: https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWXRJ8EKe48DFAUo SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 문제는 위의 링크에 나와있다. 해결한 코드는 다음과 같다. class cell: def __init__(self,x,y,time): # hp는 비활성에서 활성화까지 남은 시간 혹은 활성화에서 죽을 때까지 시간 self.hp=x # ahp는 활성화하는데 걸리는 시간 self.ahp=x # 상태 0은 없음 1은 비활성 2는 활성 3은 죽음 self.status=y # 생성된 시간 self...
문제 링크: https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWQmA4uK8ygDFAXj SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 문제는 위에 링크에 가면 잘 나와있다. 내가 해결한 코드는 다음과 같다. # 테스트 케이스 수를 t로 받는다. t=int(input()) # 테스트 케이스 수만큼 반복 for test in range(1,t+1): # 마지막에 총 흰돌과 검은돌의 수를 w,b에 입력하기위해 선언 w,b=0,0 # n은 오셀로 판의 크기 m은 돌을 둔 횟수 n,m=map(int,input().split()..