문제 : https://www.acmicpc.net/problem/1002 참고 : http://mathbang.net/101 #include #include using namespace std; int main() { double t, x1, y1, r1, x2, y2, r2; double d=0; double radius_big=0, radius_small=0; cin >> t; for (int i = 0; i > x1 >> y1 >> r1 >> x2 >> y2 >> r2; d = sqrt(pow((x2 - x1), 2) + pow((y2 - y1), 2)); if (r1 > r2) radius_big = r1, radius_small = r2; else radius_b..
문제 : https://www.acmicpc.net/problem/2504 #include #include using namespace std; int main() { char input[33]; char check[33] = { NULL }; int value[33] = { 0 }; cin >> input; for (int i = 0, j=0; i < strlen(input); i++) { if (input[i] == '(') { check[j++] = ')'; //cehck[j]에 ) 넣은 후 j+1 } else if (input[i] == '[') { check[j++] = ']'; //cehck[j]에 ) 넣은 후 j+1 } if (input[i] == ')') { j--; if (j < 0 ||..
- Total
- Today
- Yesterday
- 백준
- Add TapGesture
- Fakebook
- 스택
- FEED
- command
- Cell Animation
- Custom Cell
- DP
- dfs
- BFS
- XAML
- C++
- 객체
- 문자열
- WPF
- 코딩야학
- 데이터 바인딩
- MVVM
- 타일링
- CustomCollectionViewCell
- UIView Animation
- BOJ
- 생활코딩
- listview
- 백준온라인
- 그래프
- CollectionView
- Grid
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |