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
- spring
- Jenknis
- 데이터전달
- 데이터
- 두 동전
- 큐빙
- vscode
- activity
- goland
- 단축키
- Algorithm
- service
- insert
- 16197
- Java
- git
- 17837
- data
- Android
- intent
- 프로그래머스
- 제어반전
- broadcastreceiver
- ubuntu
- 알고리즘
- IntelliJ
- mysql
- 백준
- github
- 안드로이드
Archives
- Today
- Total
목록16197 (1)
해보자
백준_16197_두 동전
#include #include #include #include #include #define INF 98765421 using namespace std; struct pos { int y, x; bool operator < (const pos &rhs) const { bool b = y < rhs.y || (y == rhs.y && x < rhs.x); return (b); } }; int N, M; char board[21][21]; int dy[4] = {1,0,0,-1}; int dx[4] = {0,1,-1,0}; int min_cnt = INF; vector coins; map m; void dfs(pos coin1, pos coin2, int move_cnt) { bool flag1 = fal..
카테고리 없음
2020. 11. 27. 00:28