전체 글3034 [백준/파이썬] 20571번 Elevators -Codedef solution(section, num): if section == "residential": if num == 1: return 1 elif 2 2025. 4. 11. [백준/파이썬] 33779번 Back and Forth -Codes = input()print("beep" if s == s[::-1] else "boop") 2025. 4. 10. [백준/파이썬] 24867번 Два станка -Codek = int(input())a, x = map(int, input().split())b, y = map(int, input().split())case1 = (k - a) * xcase2 = (k - b) * ycase3 = (k - a) * x + (k - a - b) * ycase4 = (k - b) * y + (k - a - b) * xprint(max(case1, case2, case3, case4, 0)) 2025. 4. 9. [Spring] Pageable PageablePageable은 Spring Framework (특히 Spring Data)에서 페이징 처리를 쉽게 하기 위해 제공하는 인터페이스입니다. 즉, "어떤 페이지를, 몇 개씩 가져올지 알려주는 정보"라고 이해하면 됩니다. 이러한 페이징을 개발하기 위해서는 page 관련 쿼리를 파라미터로 받아서 직접 처리하는 방법이 있었지만 Spring 프로젝트에서는 효과적으로 페이징을 처리할 수 있게 방법이 있습니다.🏷️ 의존성// jpa를 사용 안하는 경우implementation 'org.springframework.data:spring-data-commons'// jpa를 사용하는 경우implementation 'org.springframework.boot:spring-boot-starter-dat.. 2025. 4. 8. [백준/파이썬] 22123번 Экзамен -Codefor _ in range(int(input())): s, f, m = input().split() s_h, s_m, s_s = map(int, s.split(":")) f_h, f_m, f_s = map(int, f.split(":")) m = int(m) * 60 s_total = s_h * 3600 + s_m * 60 + s_s f_total = f_h * 3600 + f_m * 60 + f_s test_time = f_total - s_total if test_time = m: print("Perfect") elif test_time + 3600 >= m: print("Test") else: pri.. 2025. 4. 8. [Docker] Docker 기본 명령어 Docker 기본 명령docker에서 자주 사용하는 명령어를 정리해 보려고 합니다.🏷️ System 정보 명령어# Docker 버전 및 상세정보 확인docker version # Docker 버전 및 빌드 버전을 한줄로 간단하게 확인docker -v # Docker의 시스템 전체 정보 확인docker system info # 서버로 부터 실시간 이벤트를 받음docker system events# 도커 디스크의 사용량 확인docker system df # 도커 허브에 로그인docker login -u [ID] # id에 id값 입력🏷️ Image 관련 명령어✅ Image 리스트 출력 명령어# docker의 image 목록을 확인docker images# 또는 - 위의 커맨드와 아래의 커맨드는 동일함d.. 2025. 4. 7. 이전 1 2 3 4 ··· 506 다음