일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 원시값
- HTTPS
- expected linebreaks to be 'crlf' but found 'lf' linebreak-style
- 참조타입
- 가장큰수
- LF
- 개행문자
- input 안보임
- 퀵정렬
- eslint-prettier
- git 명령어
- prettier
- 응답코드
- expected linebreaks to be 'lf' but found 'crlf' linebreak-style
- git 개행문자
- lazy-load
- JadenCase
- REST API
- git autocrlf
- 프로그래머스
- vscode
- CRLF
- react
- git
- CRA
- password 안보임
- eslint
- IP주소
- k번째수
- input type password
Archives
- Today
- Total
목록development/알고리즘 (25)
우파루파의 개발 기록
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/GwMAc/btrI2doHPUA/ywXxNiMbt5jlzKTF9tYjQk/img.png)
Python으로 작성 했습니다. test_case=int(input("")) for idx in range(test_case): num = int(input("")) crease_num = 1; save_set=[] while True: if crease_num >= num / 2: print(f"Pairs for {num}:{','.join(save_set)}") break minus = num - crease_num if crease_num + minus == num: save_set.append(f" {crease_num} {minus}") crease_num += 1
development/알고리즘
2022. 8. 6. 04:23