일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- EBS어학당
- 분할정복
- 11727번
- 권주현의 진짜 영국 영어
- 영어
- github
- 9251번
- 1793번
- 알고리즘
- 1759번
- 18406번
- 11047번
- caniuse
- SecurityFilterChain
- 프로그래머스
- 1057번
- 파이썬
- 1992번
- programmers
- 신규아이디추천
- 백준
- WebSecurityConfigurerAdapter
- Java
- BinaryGap
- 2630번
- python
- codility
- 2163번
- 입이 트이는 영어
- Spring Security
Archives
- Today
- Total
목록BinaryGap (1)
철갑이의 이모저모

문제 https://app.codility.com/programmers/lessons/1-iterations/binary_gap/ BinaryGap coding task - Learn to Code - Codility Find longest sequence of zeros in binary representation of an integer. app.codility.com 풀이 정수 N을 이진법으로 표현했을 때 연속되는 0의 최대 시퀀스를 구하는 문제이다. 먼저, 정수 N을 이진법으로 표현하기 위해 format() 함수를 사용했다. format() 함수 사용법은 아래 링크에서 확인이 가능하다. 간단하게 설명하자면 format(value, format_spec) 형식으로 사용할 수 있고. format(N,..
알고리즘
2022. 4. 11. 18:47