[C++/BFS] 백준 9019 DSLR
코드 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778#include #include #include using namespace std; struct n { int number; // 숫자 string res; // 연산과정}; bool isVisit[10001];queue q; int calD(int n){ // D연산 return (n * 2) % 10000;} int calS(int n) { // S연산 return n-1 >= 0 ? n-1 : 9999;} int calL(int n)..
알고리즘/백준
2019. 3. 31. 14:28
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 라즈비안
- 리눅스
- 백준
- BFS
- 워드프레스
- hackerrank
- dht11
- 합승 택시 요금
- hc-06
- 아두이노
- ESP8266
- 자바
- 구슬 탈출2
- 메일서버
- dovecot
- mysql
- the pads
- 11503
- 프로그래머스
- 키 순서
- 라즈베리파이
- 스티커모으기2
- 2981
- 집배원 한상덕
- FTP
- 블루투스
- git
- c++
- java
- DP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함