Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Operating System
- 알고리즘
- 개발
- coding
- 스택
- cs
- 문제풀이
- c++
- 구현
- bfs
- 오에스
- Stack
- 오퍼레이팅시스템
- 컴퓨터공학과
- 브루트포스
- 그래프
- 북리뷰
- 백준
- 코딩
- 자료구조
- 정석
- 정석학술정보관
- 너비우선탐색
- 컴공과
- vector
- DP
- Computer science
- OS
- 컴공
- 코테
Archives
- Today
- Total
목록12진수 (1)
Little Jay
[C++] 백준 6679번 - 싱기한 네자리 숫자
진법 계산을 요구하는 Brute Force 문제 #include #define endl '\n' using namespace std; const int numbers[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; bool check(int dec, int hex, int doz) { return (dec == hex && hex == doz); } int dozen_calc(int n) { int doz_num = 0; int temp = n; while (temp) { doz_num += numbers[temp % 12]; temp /= 12; } return doz_num; } int hex_calc(int n) { int hex_num..
알고리즘/BOJ
2022. 3. 20. 19:16