본문 바로가기

전체 글131

[SwiftUI] SwiftUI 기본 컴포넌트 정리 [ref] https://www.inflearn.com/course/%ED%95%9C%EC%A1%B0%EA%B0%81-swiftui-%EC%9E%85%EB%AC%B8 [무료] 한 조각씩 배우는 SwiftUI - 입문편 - 인프런 | 강의 처음부터 끝까지 어렵게 공부해서 앱을 만들지 마세요! SwiftUI, 필요할 때마다 한 조각씩 꺼내 드세요!, - 강의 소개 | 인프런 www.inflearn.com Button //component 연습 - Button Button { print("Hitted2") } label: { Text("HitMe2!!") .padding() .frame(width: 150) .background(.indigo) .cornerRadius(13) } Button("Delete",.. 2023. 3. 24.
[구현] 프로그래머스 136798 기사단원의 무기 https://school.programmers.co.kr/learn/courses/30/lessons/136798 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr def solution(number, limit, power): answer = 0 for i in range(1, number+1): tmp = 0 # 해당 수의 약수의 개수를 count for j in range(1, int(i**0.5)+1): if i%j == 0: # 약수라면 if j == i//j: # 제곱근이라면 tmp += 1 else: # 제곱근이 아닐 경우 tmp += 2 if.. 2023. 3. 21.
[SQL] 프로그래머스 join 59043 https://school.programmers.co.kr/learn/courses/30/lessons/59043 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr select o.animal_id, o.name from animal_ins i inner join animal_outs o where i.animal_id = o.animal_id and i.datetime>o.datetime order by i.datetime 2023. 2. 23.
[SQL] 프로그래머스 not in 59042 https://school.programmers.co.kr/learn/courses/30/lessons/59042 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr -- 코드를 입력하세요 select animal_id, name from animal_outs where animal_id not in (select animal_id from animal_ins) 2023. 2. 23.