Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- django
- 동적계획법과최단거리역추적
- DFS
- Flutter
- Python
- DART
- cos pro 1급
- 코딩테스트
- 동적계획법
- 코드품앗이
- issue
- 개발
- 백준
- cos
- android
- vuejs
- AndroidStudio
- 안드로이드
- 분할정복
- DFS와BFS
- codingtest
- cos pro
- Vue
- 알고리즘
- 안드로이드스튜디오
- 코테
- 파이썬
- Algorithm
- BAEKJOON
- C++
Archives
- Today
- Total
목록cos pro 1급 p진법 to q진법 python (1)
Development Artist
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b4Kdcv/btruwIXe1Jh/8mj5Y05MLePwtRKX7RwlX1/img.png)
문제 유형 코딩 난이도 normal Note 1. convert 함수 매우 중요. 완벽한 숙지 필요. num : 숫자, base : 진법 2. string.digits+string.ascii_lowercase = 0123456789abcdefghijklmnopqrstuvwxyz 3. 그리고 파이썬은 int('str',2) 이면 str을 2진법으로 변환, int('str',3)이면 3진법으로 변환 할 수 있다. 다만, 최대한계(?)가 있는 것으로 보인다. int('100',2)는 되고 int('160',2)는 안되고...(코테 하다가 당황.) Code # -*- coding: utf-8 -*- # UTF-8 encoding when using korean import string tmp = string.d..
Algorithm/COS
2022. 2. 28. 17:09